vanadium/xmonad: ungrab cursor when making selection

This commit is contained in:
Primrose 2026-01-10 23:14:55 +01:00
parent 7c335b264f
commit 4b12e279e0
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -329,10 +329,10 @@ keybinds =
++ (let fullscreen = "maim -u | xclip -in -selection clipboard -t image/png" ++ (let fullscreen = "maim -u | xclip -in -selection clipboard -t image/png"
withSelection = "maim -u -s -b 5 -o | xclip -in -selection clipboard -t image/png" withSelection = "maim -u -s -b 5 -o | xclip -in -selection clipboard -t image/png"
toFloat = "maim -u -s -b 5 -o | feh --auto-zoom -" toFloat = "maim -u -s -b 5 -o | feh --auto-zoom -"
in [ ((0, xK_Print), spawn fullscreen ) in [ ((0, xK_Print), unGrab >> spawn fullscreen )
, ((superMask .|. shiftMask, xK_3 ), spawn fullscreen ) , ((superMask .|. shiftMask, xK_3 ), unGrab >> spawn fullscreen )
, ((superMask .|. shiftMask, xK_4 ), spawn withSelection) , ((superMask .|. shiftMask, xK_4 ), unGrab >> spawn withSelection)
, ((superMask .|. shiftMask, xK_5 ), spawn toFloat ) , ((superMask .|. shiftMask, xK_5 ), unGrab >> spawn toFloat )
] ]
) )