From fa67b9a2ccdb6c224d6bab19d9555544a168b266 Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 1 Mar 2023 01:41:00 -0700 Subject: slight panel corrections --- .config/herbstluftwm/panel.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/herbstluftwm') 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)" -- cgit v1.2.3