diff --git a/Tricks.md b/Tricks.md index 61817fd..daf93c2 100644 --- a/Tricks.md +++ b/Tricks.md @@ -227,7 +227,7 @@ sudo systemctl restart udevmon # Get rid of main taskbar and move time/date to window title bar. -For those of us who want every pixel of real state! +For those of us who want every pixel of real estate! The changes are: @@ -258,4 +258,20 @@ and we have them both "fused" inactive_workspace #32323200 #32323200 #5c5c5c } } +``` + +# Copying and Pasting + +Most stuff on sway I got working pretty easily, but the copy & paste setup was pretty hard. With this setup I got it working as I want. I hope somebody else may find it useful. + +``` +# There are two wl-paste processes running, one for the primary and one for the normal clipboard +exec wl-paste -t text --watch clipman store +exec wl-paste -p -t text --watch clipman store +# The keybind to select a clipping +bindsym $mod+y exec clipman --primary pick --tool rofi +# Clear all clippings +bindsym $mod+Shift+y exec clipman clear -a +# Remove a selected clipping +bindsym $mod+Mod1+y exec clipman clear --tool rofi ``` \ No newline at end of file