diff options
Diffstat (limited to '.config/herbstluftwm')
-rwxr-xr-x | .config/herbstluftwm/panel.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index d12fa77..6ec3ab8 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -61,7 +61,7 @@ hc pad $monitor $bheight update_taglist() { echo -n "%{l}%{B${bg_normal} F${fg_normal} U${fg_normal}}" - hc tag_status | tr '\t' '\n' | sed \ + hc tag_status $monitor | tr '\t' '\n' | sed \ -e '1d' \ -e '$d' \ -e 's/\(.*\)/\1 /' \ @@ -81,7 +81,7 @@ update_winlist() { focus_id=0 fi - hc list_clients | while read -r c + hc list_clients --monitor=$monitor | while read -r c do [[ $(($c)) -eq $(($focus_id)) ]] \ && echo -n "%{B${bg_focus} F${fg_focus}} " \ @@ -296,7 +296,7 @@ event_battery() { ;; # hc events - focus_changed|window_title_changed) + focus_changed|window_title_changed|urgent) fields[2]=$(update_winlist) ;; @@ -341,7 +341,7 @@ event_battery() { ~/.config/herbstluftwm/mpc-status.sh ;; stats) - urxvt -e htop & + $TERMCMD -e htop & ;; when) notify-send "$(when)" |