diff --git a/dotfiles/config/xmonad/xmonad.hs b/dotfiles/config/xmonad/xmonad.hs index c4eed069..be9a8622 100644 --- a/dotfiles/config/xmonad/xmonad.hs +++ b/dotfiles/config/xmonad/xmonad.hs @@ -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") diff --git a/dotfiles/lib/functions/rofi_shutter b/dotfiles/lib/functions/rofi_shutter new file mode 100755 index 00000000..e9b9b807 --- /dev/null +++ b/dotfiles/lib/functions/rofi_shutter @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +function rofi_shutter { + rofi -i -dmenu | xargs shutter -n -e +} + +rofi_shutter