aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d/30_clipboard
diff options
context:
space:
mode:
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: