replace hacksaw/shotgun with maim

This commit is contained in:
Primrose 2025-05-20 11:07:54 +02:00
parent 66f85c7d7e
commit b6359b0a61
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 4 additions and 7 deletions

View file

@ -78,8 +78,7 @@ in {
pkgs.dmenu
pkgs.xclip
pkgs.playerctl # talk to playerctld
pkgs.hacksaw
pkgs.shotgun
pkgs.maim
pkgs.xscreensaver # talk to xscreensaver
pkgs.xcolor

View file

@ -188,9 +188,9 @@ main = xmonad
-- Screenshots
++ (let
fullscreen = "shotgun -s - | xclip -in -selection clipboard -t image/png"
withSelection = "shotgun -g $(hacksaw -c \"#875fff\" -g 3) - | xclip -in -selection clipboard -t image/png"
toFloat = "shotgun -g $(hacksaw -c \"#875fff\" -g 3) - | feh --auto-zoom -"
fullscreen = "maim | xclip -in -selection clipboard"
withSelection = "maim -s -b 5 -o | xclip -in -selection clipboard -t image/png"
toFloat = "maim -s -b 5 -o | feh --auto-zoom -"
in
[ ((0, xK_Print), spawn fullscreen )
, ((superMask .|. shiftMask, xK_3 ), spawn fullscreen )