about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configs/shared/misc/.config/i3/config.shared6
-rw-r--r--configs/shared/x_server/.xsessionrc.shared4
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