From 749120a18bd9bd46d5fca4de612f6cdbf534a335 Mon Sep 17 00:00:00 2001 From: pancakes Date: Sun, 1 Oct 2023 11:16:19 +1000 Subject: [PATCH] Add btop and screenshot binds --- sway/.config/sway/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 13428d8..7d84d39 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -51,8 +51,18 @@ bindsym Mod4+d exec $menu # Start file manager bindsym Mod4+f exec $term ranger +# Start btop +bindsym Control+Shift+Escape exec $term btop + # Lock screen -bindsym Control+Shift+Escape exec swaylock -fF -i ~/.wallpaper -s fill +bindsym Mod4+Shift+Escape exec swaylock -fF -i ~/.wallpaper -s fill + +set $grimdir GRIM_DEFAULT_DIR=~/Pictures/Screenshots +# Full screenshot +bindsym Print exec $grimdir grim + +# Rectangle region screenshot +bindsym Mod1+Print exec $grimdir grim -g "$(slurp)" # Drag floating windows by holding down Mod4 and left mouse button. # Resize them with right mouse button + Mod4.