[NixOS] [XMonad] Add rofi_shutter and an xmonad binding for it
This commit is contained in:
parent
73cf253f62
commit
09693ad572
@ -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")
|
||||
|
7
dotfiles/lib/functions/rofi_shutter
Executable file
7
dotfiles/lib/functions/rofi_shutter
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
function rofi_shutter {
|
||||
rofi -i -dmenu | xargs shutter -n -e
|
||||
}
|
||||
|
||||
rofi_shutter
|
Loading…
Reference in New Issue
Block a user