dotfiles/herbstluftwm/restartpanels.fish

13 lines
285 B
Fish
Executable File

#!/usr/local/bin/fish
set -l installdir=/
set -l XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
set -l defaultpanel="$XDG_CONFIG_HOME/herbstluftwm/panel.fish"
herbstclient emit_hook quit_panel
for i in (herbstclient list_monitors | cut -d':' -f1)
"$defaultpanel" $i &
end