Namespaced rofi scripts

This commit is contained in:
agryphus 2023-09-29 13:39:48 -04:00
parent 78605ddd4e
commit 5b80b4c33a
8 changed files with 53 additions and 30 deletions

9
.local/bin/menu-layout Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
layout=`autorandr | rofi -dmenu -i -p "Select layout" | awk '{print $1}'`
autorandr $layout
feh --bg-scale --no-fehbg "$HOME/.config/wallpaper"
# echo "dwm.accent: $(color-picker $WALLPAPER)" > /tmp/dwm_accent
# xrdb -override -merge /tmp/dwm_accent
# rm /tmp/dwm_accent
# kill -HUP $(pidof dwm)