aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d/30_clipboard
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-28 21:54:30 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-28 21:54:30 -0500
commit05e196933602458fc776586e694a21a6c1cf2d33 (patch)
tree8d7b91fb75b001caeb1f495846d295d77fc16d54 /dot_config/sway/config.d/30_clipboard
parentdelete ~/.xkb, leave ~/.config/pulse (diff)
Update sway config
Diffstat (limited to 'dot_config/sway/config.d/30_clipboard')
-rw-r--r--dot_config/sway/config.d/30_clipboard6
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_config/sway/config.d/30_clipboard b/dot_config/sway/config.d/30_clipboard
new file mode 100644
index 0000000..eca377b
--- /dev/null
+++ b/dot_config/sway/config.d/30_clipboard
@@ -0,0 +1,6 @@
+exec wl-paste --watch cliphist store
+
+bindsym --to-code $mod+y exec cliphist list | wofi -d | cliphist decode | wl-copy
+bindsym --to-code $mod+Shift+y exec cliphist clear
+
+# vim:set ft=swayconfig: