Commit graph

5 commits

Author SHA1 Message Date
3d0446de05
sxhkd: Change chain mode exiting
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.
2021-07-10 18:03:50 +02:00
e015c4b5f1
Tiny fixes
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.
2020-09-22 22:34:50 +02:00
4d96b19163
[sxhkd] Fix pipe enabled sxhkd start 2020-05-29 14:01:47 +02:00
7be23bb4b8
[sxhkd] Add sxhkdrc parsing to mode script
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.
2020-05-26 14:55:06 +02:00
cb5f09c414
[sxhkd] Add script to show current sxhkd mode
Script can be used in a statusbar or otherwise and will return the
currently active sxhkd mode. Look into the README for further
explanation.
2020-05-26 11:50:20 +02:00