diff options
author | William Carroll <wpcarro@gmail.com> | 2019-04-01T17·26+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-04-01T17·26+0100 |
commit | 6a2d7ef035e54d81f818e65d8362caa06b3c2748 (patch) | |
tree | c87918cc321c54daf139276314323932d5a9a53b /configs | |
parent | cc3aecb1e3f1d3490c195ab607ccac527921ef71 (diff) |
Support dmenu clipboard manager
Still needs a bit of fine-tuning to be ideal, but it's already pretty useful.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/shared/misc/.config/i3/config.shared | 6 | ||||
-rw-r--r-- | configs/shared/x_server/.xsessionrc.shared | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/configs/shared/misc/.config/i3/config.shared b/configs/shared/misc/.config/i3/config.shared index a01dd77fa928..6eb7addeebc0 100644 --- a/configs/shared/misc/.config/i3/config.shared +++ b/configs/shared/misc/.config/i3/config.shared @@ -76,6 +76,12 @@ bindsym $mod+t exec --no-startup-id ~/.config/i3/dmenu_timer.sh ~/.local/share/s # file manager bindsym $mod+n exec st -e lf ~/Downloads +# clipboard manager +# NOTE: Ctrl-c is already covered since `clipmenu` listens for X clipboard +# events using `clipnotify`. +# NOTE: `clipmenud` is started in `.xsessionrc.shared` +bindsym Ctrl+$mod+v exec clipmenu + # Screenshot # TODO: find a better KBD for this bindsym $mod+s exec zsh -i -c snipit # note that this eclipses Tmux's M-s KBD for switching b/w session diff --git a/configs/shared/x_server/.xsessionrc.shared b/configs/shared/x_server/.xsessionrc.shared index 25346eab1cf8..8479f8b33c86 100644 --- a/configs/shared/x_server/.xsessionrc.shared +++ b/configs/shared/x_server/.xsessionrc.shared @@ -16,6 +16,10 @@ xsetroot -solid "#333333" # This might be better for SSH. tmux new -d -s main +# start `clipmenud`, +# TODO: research if this would be better handled by init/clipmenud.service? +clipmenud & + # Start the Emacs server emacs --daemon |