Changed the way to exit sxhkd chain modes. Instead of using `esc` to get
out of them, now pressing the mode key chain again will also exit out of
the mode (e.g. `alt + m` to get into `media` mode, then `alt + m` once
more to exit it).
This is done since using escape will interfere with many normal-use
scenarios while in a chain-mode, especially if those modes are intended
to be used over somewhat longer periods of time (somewhat like vim-modes
or emacs layers). The key to exit modes has now been moved to `copyright`,
so in the rather improbable case that your keyboard contains a
`copyright` key, be careful of accidentally hitting it when in an sxhkd
chain mode.
Fixed passing arguments to the sxhkd-piped script. It will pass along
any commandline arguments passed now (even `-s`, though then the script
will cease to do anything).
Improved version output of sxhkd-chain-labels a little, invoking
`sxhkd-chain-labels -v` will now show the correct configuration file and
FIFO pipe being used, as well as whether they exist on the file system.
Fixed the versioning of the script to display the correct version.
Since switching to `dash` as the default sh shell, rofi would display
ostensibly hidden strings (like comment tags, or rofi meta options).
This is due to this bug https://github.com/davatorium/rofi/issues/1201
or behavior of dash. Could be possibly fixed by using octal, for now,
the script works with bash rather than sh (i.e. dash).
By invoking key combination fn+F9 (XF86Search button), we can quiet
dunst notifications.
This change will be picked up by polybar and a small do not disturb
symbol is shown in the top bar (a tiny moon).
Both scripts are very simple and make use of a temporary file, so a
little brittle but workable.
`pavolume` was nice, but my own volume script is just more flexible. No
real changes yet, but includes notification through dunst and works the
same way as `control-brightness` script does, just invoked through
`control-volume`.
Renamed general reader script to `wallr`, indicating wallabag as the
underlying reader input.
Fixed listing of unread articles which showed read articles before.
Added shortcuts to sxhkd's academia mode:
the existing `r` invokes wallr with unread article display;
newly added `shift+r` invokes wallr with all articles displayed.
Added script to easily read wallabag articles on the command line (or
open them in browser), using the wallabag-cli python program in the
background.
Once invoked, will fetch a list of articles (optionally restricted to
read/unread/starred), and allow a choice through fzf.
Will then display the article in the user's preferred pager, editor, or
browser.
Can be invoked through the shell via `reader`, or through sxhkd shortcut
`r` from 'academia' mode (`alt + a`).
Updated pass and surfraw to make use of capital letter shortcuts to keep
the general shortcut space a bit less cluttered (`Super + P/Q`
respectively).
Added a shortcut to automatically enter emoji, using rofimoji, via
`super + E`.
Added a shortcut to invoke a floating file picker which will
automatically be shared through `sharefile`, via `super + U`
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.
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).
Clarified naming scheme in sxhkd-chain-labels documentation.
Updated year for vim copyright shortcut.
Enabled automatic copying to clipboard by neovim for every yank action.
Switched sxhkd shortcut from rofi-gopass to new rofi-pass
implementation.
Additionally switched from pulsemixer to pavolume for media key volume
control. Pulsemixer works well as a tui application, but its cli
implementation is unbearably slow (on my setup at the very least).
After pressing the volume up/down/mute key it could take up to 3 seconds
to take effect. With pavolume this change happens almost
instantaneously, and it displays a libnotify message on top (can be
disabled).
Previously, super + r would open an extended run menu which contained
all programs to run, ssh servers to connect to, clipboard history, open
windows, *and* the calculator. It was cumbersome to open the window,
switch the mode to calculator and then have it obscure half the screen.
It was also the mode most often used.
So, these two modes have been split, and their mappings updated:
`super + shift + spacebar` opens the old extended run menu (sans calc),
the mapping mimicking the 'extended' version of the normal run mapping.
`super (+ shift) + r` opens the calculator. Without shift it opens top
left of the screen, with shift bottom right.
Changed sxhkd being hard-coded to use alacritty as a terminal. Though I
don't see myself switching soon, changed the shortcut to make use of the
already existing environment variable "$TERMINAL" which gets set as part
of my basic env settings on the machine.
Added pre-defined filter for styler entries, removing 256 color versions
of base16 themes, as well as all atelier styles. I never use -256
versions of the themes so they can be hidden. If I want to use an
atelier style (which is rarely), I can quickly remove the pre-defined
filter since it is the last one added.
Added a mapping to academia mode which shows *all* due papers, to get an
overview at a glance. Uses F3, so that academia mappings go F1->F3 from
most restricted to most encompassing views.
Can now parse the usual sxhkdrc file in looking for mode chain
combinations. Will prefer explicit configuration files if they exist.
Read the -h to learn more.
Moved media mode keys from i3 to sxhkd without changes.
Added F1 and F2 to academia mode display, to display upcoming and all
bibfile readings (only urgent by default, with shift it displays
priorities).
Most modes should reside in sxhkd, to unify the 'hotkey' settings of the
configuration, and since controlling playback has little to do with the
window manager.
Makes polybar use Xresources color values for its colors. Resets rofi
values to their default after being overwritten by the base16 themes.
Makes qutebrowser include the colorscheme in its configuration file.
Ignore dynamically generated colorschemes in .gitignore file.