mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
replace hacksaw/shotgun with maim
This commit is contained in:
parent
66f85c7d7e
commit
b6359b0a61
3 changed files with 4 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue