Commit graph

1639 commits

Author SHA1 Message Date
9142cb245e
taskwarrior: Add taskopen to package list
taskopen still needs to be configured and tested, but is added to the
package list for now, so I don't forget.

Specifically, it at the very least needs to be configured following the
xdg directory configuration model.
2021-02-19 16:54:39 +01:00
ff6965ef91
taskwarrior: Add today report, fix overdue report
Simple today report added, mimicking the overall next report list (i.e.
sorted by urgency), but only focusing on things due today. This reflects
my setup in Todoist a bit better, and should perhaps provide a bit of a
crutch until I get more used to the taskwarrior way of doing things.

Additionally, added a simple fix for the annoying tendency of
taskwarrior to add today's tasks to its overdue list.
This happens because tasks added without a specific time will be added
as due at the very *first* minute of a day (instead of e.g. at the very
last, every task needs an exact time).
This simply removes tasks due today from overdue reports.

This is not perfect! Two things remain: Tasks still carry the virtual
`+OVERDUE` tag around with them, and those tags that actually should be
done at a certain time during the day will also not be shown in the
overdue report - though they definitely are overdue then.

A possible workaround for the second issue is the taskwarrior hook here:
https://gitlab.com/marty-oehme/dotfiles/-/snippets/2054237
But, I am happy enough with the setup as-is for now, without
complicating it with the hook.
2021-02-19 16:54:39 +01:00
489e49fe5e
taskwarrior: Add conditional tasksh invocation
To use taskwarrior, an alias to `t` has been created. If you invoke any
taskwarrior command through `t`, it will behave just as taskwarrior
would (just with a shorter name).
If you invoke `t` without any additional arguments, it will instead open
up the tasksh program and let you play around in there.
2021-02-19 16:54:39 +01:00
ed881273b8
taskwarrior: Move xdg env variable to module 2021-02-19 16:54:39 +01:00
0efb28c473
taskwarrior: Add basic taskrc file 2021-02-19 16:54:39 +01:00
b0bfbf730a
taskwarrior: Prepare xdg compliance
Add environment variables telling taskwarrior to make use of xdg
compliant directory structure for its configuration and its data.
2021-02-19 16:54:38 +01:00
2f056a8701
nvim: Update lsp lua configuration
Uses arch aur-packaged installation of sumneko_lua, and invokes it for
any lua file.
Takes care of some additional configuration to enable easier programming
for neovim itself.
2021-02-19 16:54:08 +01:00
696953d3f7
shell: Switch to xterm TERM variable
Move any and all display to xterm-256color color variable, to enable
always the same color display.
2021-02-19 16:12:06 +01:00
3d742a0503
vifm: Add pdf, docx viewer options
Added opening of docx files from vifm through either pandoc
interpretation as markdown if installed, or docx2txt invocation as a
fallback. (pandoc generally interprets the layout better than docx2txt,
especially contained tables).

Similarly, added option to open pdfs with pdftotext program in neovim,
to edit/grep/view only the text without pdf markup in neovim.

Changed key binding to open selected file in neovim from `o` to `e`,
mimicking the edit command found in some other file viewers.
2021-02-19 12:49:14 +01:00
da52dad3d7
zsh: Switch from powerlevel10k to pure prompt
Switched theme of zsh, just to declutter a little and make startup
slightly faster.

Removed nvm from automatically initializing to majorly speed up zsh
startup times - removing around 750ms on my system.
TODO could potentially move to a conditional startup system, in which
nvm only gets sourced on its first invocation or similar workarounds.
2021-02-19 12:45:36 +01:00
b393e01a2f
qutebrowser: Update host block lists
Updated host block lists through internal list updater.
Added a couple nvim spell dictionary entries.
2021-02-19 12:37:44 +01:00
5925500930
rofi: Switch sleep action to hibernate mode
Switched out the suspend action from the rofi powermenu (called through
super + backspace in current sxhkd setup) to instead call hibernate.

This needs a correctly set up system to engage hibernate - all the
documentation necessary can be found at
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate

Generally, needs a swap file and resume (i.e. hibernation) correctly set
up in both the kernel parameters and the initramfs.

On this machine (laptop), the way things work now is that simply closing
the lid leads to the default sleep action (suspend), and invoking the
manual rofi-powermenu way will instead completely hibernate the system,
leading to less power usage but taking a little longer to switch off and
restore.
2021-02-19 12:35:17 +01:00
1b27c2eac5
qutebrowser: Updated host blocking options to v2
qutebrowser 2.0 changed the option names for host blocking, and this
update simply fixes that change accordingly. See your
qute://help/changelog.html#v2.0.0 file.
2021-02-18 10:38:38 +01:00
5973de3425
Fix for updated arch dmesg access policy
Archlinux changed the access to 'dmesg' to only be available to super
users with the following commit:
b78bc292e2 (diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a)

This changes the command to enabled touch pad tapping on X startup to a
systemd-compatible version, following the recommendation found here:
https://www.reddit.com/r/archlinux/comments/kqvotl/dmesg_cannot_be_run_as_normal_user_anymore/
2021-01-26 12:33:59 +01:00
c4612a04c1
fzf: Fix fzf for paru and remove default preview
The `nl` preview was still stuck in the default fzf options for a while
and does not work with most things that it is intended for. Removing it
is vastly preferable to the half useless preview window on any fzf
invocation.
A true default preview window may either be possible through a separate
script looking for the right command to invoke, or for individual fzf
invocations which then simple use the correct commands in the first
place (see e.g. `fzfyay`, or `fzfyayrns`).

`fzfyay` and `fzfyayrns` now also respect paru if it is installed on the
system. They will default to yay and fall back to paru.
2020-12-25 16:04:58 +01:00
ec3c5759f7
paru: Change to match yay display
Renamed the syu file to yay, since it more explicitly captures the
concept in my mind.

Added `--bottomup` option to any paru operation since that is the way I
expect it to work: the 'closest' option is also closest to the
commandline.
2020-12-24 21:49:36 +01:00
8cb3252cf1
sh: Switch yay to paru
Removed outdated `syu` symlink which just hooks into topgrade.
Replaced it with simple function that tries for topgrade, paru, yay,
pacman, in that order. Can still be invoked with simple `syu` command,
but *only* through interactive terminal use.

Switched git pre-commit hook to default to paru instead of yay when
compiling installed package lists for dotfile commits.
2020-12-22 19:54:38 +01:00
d2e44d330d
dunst: Add brightness level notifications
Added notifications on changing brightness, will stack by default to
show the current level before disappearing.

The script to change and notify can be run through the command
`control-brightness`, and is bound to the sxhkd media key shortcuts for
brightness changes.

Removed the brightness indicator from polybar since it should be easy
enough to check current brightness by doing a quick higher-lower and
that's it.

Kept the module in polybar configuration script since I might reconsider
its removal if it turns out to have been useful.
2020-12-21 22:55:52 +01:00
0a6f47bc5a
alacritty: Update styler to work with new includes
Now makes use of alacritty include feature and should work without
showing any git repo changes, even when changing color scheme.
Only difference being that *no* color scheme requires a deletion of a
line in `alacritty.yml`.
2020-12-20 12:10:39 +01:00
8fe325964f
Update qutebrowser quickmarks and search engines 2020-12-19 16:19:39 +01:00
cf0574297c
Update nvim spell book 2020-12-19 16:17:10 +01:00
5bdb16e113
sxhkd: Add toggleable statusbar
Added toggle key for polybar, just in case I ever need the extra screen
real estate (*without* i3's `Mod+f` full-screen mode).

Should come handy rarely, but if it does it now exists. Can be toggled
with `super+F7`, since that is close to the other styling option and not
used in any other way (not even with media keys or similar).
2020-12-03 12:41:04 +01:00
a24cf7f241
tmux: Remove statusline time and date
Removed display of time and date from tmux, since I have the polybar
time up always.

Shuffled around the rest of the display: removed left-sided display of
active (tmux) user, moved it to the right side.
2020-12-03 12:30:17 +01:00
ed2235c4ca
polybar: Rename bar and shrink in size
Slightly restyled polybar, mainly shrunk in size and re-located the
papers due information.

Renamed it from `simple-top` to just `top` since no alternative top bar
exists in this configuration.
2020-12-03 12:22:08 +01:00
1c335dcb66
Fix small issues: brightness scroll and formatting
Added ability to change display brightness by scrolling over polybar
module.
2020-12-03 11:57:20 +01:00
e86298e39a
aerc: Simplify label mappings
Every modification starts with `m` (for mark, akin to vim), and pushes
the messages into the respective state: `a`rchive, `i`nbox, `m`ark
(flag), `d`ump.

Only deletion (`dd`) behaves slightly differently, in that it simulates
a state not a label (even though labels are used in the background).

Fixed moving through different parts of an e-mail being reversed from
what one would expect.
2020-12-03 11:53:27 +01:00
0bf1c11cb2
alacritty: Update configuration file
Updated config file for alacritty 0.6.
Removed a lot of the commenting cruft still stuck in the original
configuration file.
A sample commented version of the config file can nowadays be found at
`/usr/share/doc/alacritty/alacritty.yml`.
2020-11-27 10:48:07 +01:00
429d0ec687
umpv: Update to work with new mpv version
Moved umpv script to updated version available here:
eeb711f5f3/TOOLS/umpv

Switches deprecated `--input-file` argument for `--input-ipc-server`,
making use of socket instead of FIFO file ---
though it should work the same in practice.
2020-11-25 14:15:28 +01:00
06e67213ac
bootstrap: Slightly update package list 2020-11-25 11:49:15 +01:00
fb9f3b83a4
sh: Add fuzzy ripgrep-all search
Added function to fuzzily search through any documents using rga.
Function code adapted from https://github.com/phiresky/ripgrep-all

Can be interactively searched, should be reasonably fast once indexing
is finished.
2020-11-25 11:36:21 +01:00
ede86bc384
nvim: Fix lsp completion for newer nvim versions
Had to fix some naming of required modules for newer neovim versions.
Additionally, removed lsp from engaging in pandoc files so that we may
save some battery while only writing markdown.

see
https://github.com/nvim-lua/completion-nvim/issues/274#issuecomment-729569426
2020-11-23 10:52:38 +01:00
92016761f5
tmux: Change fzf session switcher hotkey
Changed key to switch sessions from `<leader><c-j>` to `<leader><c-s>`,
mimicking the normal `s` tmux session switcher.
2020-11-13 10:10:51 +01:00
845b98d22d
qutebrowser: Fix git tracking, Add translate script
Added script to quickly translate a page or selected text through google
translate. Can be invoked through the aliases `:translate-page` or `:translate-selection` respectively, or the shortcuts <leader>bg, <leader>bG.

Added some gitignore files in the directory to stop keeping track of
non-personal configuration files.
2020-11-13 09:34:52 +01:00
bc534e2026
mail: Re-enable tagging by folder for notmuch
Should help aerc decide what to show in inbox and what to leave out.
2020-11-13 08:54:24 +01:00
047ae4c025
an2linux: Try to fix ignored messages
The server still does not correctly ignore messages which should be
contained in the ignored keywords list. (Image upload percentages,
repository update percentages, for which it spits out hundreds of
desktop notifications. Well, 100, to be exact.)
Perhaps this simplification of the keywords makes it work better.
2020-11-13 08:52:19 +01:00
0b43d717d3
git-sync: Add sanity check before remote pull
Added check to fetch remote updates before actually pulling in remote
changes.
This may help somewhat with the modification of files when they are
simultaneously open in vim, though I am not entirely sure.
Needs further investigation.
2020-11-13 08:21:16 +01:00
8b223673fd
tmux: Fix display bug in session chooser
Session names would be cut off by the preview window.
Now, the preview window is generally *close* to the session names but
not overlapping them, which looked weird.
2020-11-13 08:04:32 +01:00
d9185d0542
nvim: Restructure directory slightly
Moved vim-plug plugin list to load into separate file so it is a coherent
plugin list to modify or disable.

Moved key mappings (`maps.vim`) into a separate keys directory so they
can be loaded in individual files if desired.
2020-11-12 14:29:48 +01:00
201cd58f3f
zsh: Enable incremental backward search cycling
Previously enabled the search through shell history with ^r on the
commandline. This is still the case, though now the results of the
search can be cycled through with ^p (earlier) and ^n (later).

The key combinations are only active in incremental search and will only
search through the previous results.

When in normal more, or command mode, ^p/^n will cycle through the
history of the shell, taking into account what has already been typed
and going through the history on the basis of this.
2020-11-06 15:14:25 +01:00
0e34af1992
lua: Fix formatting with lua-format 2020-11-06 15:03:33 +01:00
b57db544b7
disks: Fix udiskie service config file sourcing
Correctly looks for the config file in XDG directory now and uses that.
2020-11-05 22:26:19 +01:00
bbfbf5bcfe
services: Add activitywatch service
Added service module to automatically start activitywatch in the
background, to monitor window usage throughout.
2020-11-04 13:02:07 +01:00
a08be65290
dunst: Deduplicate volume change notifications
Add all `pavolume` sent notifications to a single tabstack, which means
they will be displayed on top of each other and remove the older
notification display when a new one arrives.

End result is that volume changes are now displayed as continuous
changes of a single notification (i.e. changing volume level bar)
instead of multiple notifications.
2020-11-03 19:31:04 +01:00
42907f3733
zsh: Enable auto input of cd before directories
Enabled zsh option to automatically prepend directories with `cd` if
they are the only command on the line, essentially enabling you to just
write `/var/lib/docker` to go to the respective directory.
2020-11-02 19:10:25 +01:00
3ee9c95374
bibtex: Update pandoc latex template
Enables template to work with the new version (2.11) of pandoc.
2020-11-02 19:08:12 +01:00
a0bb818643
scripts: Add simple readme
Added readme file explaining the ethereal nature of this module.
2020-10-28 21:23:26 +01:00
c2f3e38e82
scripts: Add nomie script
nomie script allows me to quickly journal to my habit tracking app from
the commandline.
2020-10-28 21:23:14 +01:00
547dbc9966
polybar: Remove padding and example config
Removed padding from some polybar elements which do not need it and just
take up unnecessary space.

Removed left-over example configuration file.
2020-10-25 13:56:53 +01:00
7b0267f522
vifm: Add new vifminfo format to ignored files
vifm switched to a new json formatted vifminfo file,
see https://sourceforge.net/p/vifm/mailman/message/37115461/

This commit simply adds it to the ignored files list, since we do not
care to have it in the repository just like the old vifminfo file.
2020-10-24 17:28:26 +02:00
174bdad75c
an2linux: Add simple filters
Added filter for keywords when fdroid updates its repositories and when
Nextcloud uploads images (or similar) to not appear as separate
notifications.
2020-10-24 17:21:15 +02:00