From 818df23beae9e65c3c08439bae12cd50e3811e37 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Thu, 18 Feb 2021 16:25:02 +0100 Subject: [PATCH] sway: use swappy, fasd --- config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config b/config index f05f9a1..35266cf 100644 --- a/config +++ b/config @@ -25,6 +25,8 @@ set $font Cascadia Code PL Regular 10 # Your preferred application launcher set $menu wofi --show drun --prompt applications +set $fasd $HOME/.zprezto/modules/fasd/external/fasd +set $files $fasd -alt | wofi --show dmenu --prompt "recent files and directories" | xargs xdg-open # # Host Specific @@ -90,6 +92,7 @@ bindsym --release button3 kill # Start your launcher bindsym $mod+r exec $menu +bindsym $mod+Shift+r exec $files # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. @@ -191,6 +194,8 @@ bindsym XF86MonBrightnessDown exec $brightness_cmd decrease # # copy selection to clipboard bindsym Print exec grim -g "$(slurp)" - | wl-copy +# copy selection to swappy +bindsym Shift+Print exec grim -g "$(slurp)" - | swappy -f - # save selection bindsym $mod+Print exec grim -g "$(slurp)" \ $(xdg-user-dir PICTURES)/screenshot_$(date +'%Y%m%d_%H%M%S').png