aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2023-03-01 01:41:00 -0700
committerkatherine <ageha@airen-no-jikken.icu>2023-03-01 01:41:00 -0700
commitfa67b9a2ccdb6c224d6bab19d9555544a168b266 (patch)
treed3743d3395ddf3de54ee3b9ccf622c2771fd648a /.config/herbstluftwm
parentdadd29d63f7d4b6cd9f4eb397bd543c6d788d185 (diff)
downloaddotfiles-fa67b9a2ccdb6c224d6bab19d9555544a168b266.tar.gz
slight panel corrections
Diffstat (limited to '.config/herbstluftwm')
-rwxr-xr-x.config/herbstluftwm/panel.sh8
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)"