[NixOS] [XMonad] Add rofi_shutter and an xmonad binding for it

This commit is contained in:
Ivan Malison 2023-07-28 12:12:46 -06:00
parent 73cf253f62
commit 09693ad572
2 changed files with 8 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ addKeys conf@XConfig { modMask = modm } =
, ((modm, xK_v), spawn "xclip -o | xdotool type --file -")
, ((hyper, xK_v), spawn "rofi_clipit.sh")
, ((hyper, xK_p), spawn "rofi-pass")
, ((hyper, xK_h), spawn "screenshot.sh")
, ((hyper, xK_h), spawn "rofi_shutter")
, ((hyper, xK_c), spawn "shell_command.sh")
, ((hyper, xK_x), spawn "rofi_command.sh")
, ((hyper .|. shiftMask, xK_l), spawn "dm-tool lock")

View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
function rofi_shutter {
rofi -i -dmenu | xargs shutter -n -e
}
rofi_shutter