diff --git a/dotfiles/lib/bin/rofi_wallpaper.sh b/dotfiles/lib/bin/rofi_wallpaper.sh new file mode 100755 index 00000000..9b86b5ba --- /dev/null +++ b/dotfiles/lib/bin/rofi_wallpaper.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh + +find ~/Pictures/wallpaper/use -type l | rofi -dmenu | xargs wallpaper.sh diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 7a8ce8b2..303fe986 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -222,7 +222,7 @@ addKeys conf@XConfig {modMask = modm} = , ((mod3Mask, xK_c), spawn "shell_command.sh") -- ModAlt bindings - , ((modalt, xK_w), spawn "wallpaper.sh") + , ((modalt, xK_w), spawn "rofi_wallpaper.sh") -- playerctl , ((mod3Mask, xK_f), spawn "playerctl play-pause")