herbstclient "$@"
}
+spawn_with_rules() {(
+ herbstclient rule once maxage=10 "${RULES[@]}"
+ exec "$@"
+ ) &
+}
+
Mod=Mod4
# tags
hc keybind "$Mod-$i" use "$i"
hc keybind "$Mod-Shift-$i" move "$i"
done
+hc add scratchpad
case "$(hostname)" in
hepworth)
;;
esac
+urxvtd -q -o -f
compton &!
redshift -l 49.598:11.003 &!
(sleep 5 ; lxpanel) &!
hc set frame_gap 4
hc set frame_bg_transparent 1
-hc rule class=Pinentry focus=on
hc rule instance=Dialog class=Iceweasel focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off
-hc rule class=Pinentry focus=on
+hc rule class=Pinentry focus=on pseudotile=on
xfsettingsd &!
source .config/herbstluftwm/wallpaper.sh
set_wallpaper
+RULES=( instance=ncmpcpp tag=scratchpad focus=off )
+spawn_with_rules urxvtcd -name ncmpcpp -e ncmpcpp