added swappy

This commit is contained in:
Rouven Seifert 2023-01-22 14:49:59 +01:00
parent 1dbdbebe7a
commit 799a70d5ea
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 7 additions and 1 deletions

View file

@ -11,6 +11,7 @@
wl-clipboard
grim
slurp
swappy
font-awesome
hyprpaper.packages.x86_64-linux.default
swaylock-effects
@ -72,6 +73,11 @@
background-color: #${config.colorScheme.colors.base03};
}
'';
"swappy/config".text = ''
[Default]
save_dir = ~/Pictures/Screenshots/
early_exit = true
'';
};
programs.mako = {

View file

@ -139,7 +139,7 @@ bindm = $mainMod, mouse:273, resizewindow
# All the fancy XF86 Keys
bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy -t image/png
bind = SHIFT, Print, exec, grim -g "$(slurp)"
bind = ,XF86Launch2, exec, grim -g "$(slurp)" - | swappy -f -
bind = ,XF86MonBrightnessUp, exec, light -A 10
bind = ,XF86MonBrightnessDown, exec, light -U 10
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle