herbstluftwm: fix all-gray workspaces on unfocused monitor instead of
colored for focused
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
|
||||
# hc is shorter than herbstclient :)
|
||||
hc() {
|
||||
herbstclient "$@"
|
||||
herbstclient "$@"
|
||||
}
|
||||
|
||||
# set mod keys
|
||||
@ -92,9 +92,9 @@ hc keybind "$M-m" cycle_monitor
|
||||
|
||||
# cycle layouts
|
||||
hc keybind "$M-Tab" \
|
||||
or , and . compare tags.focus.curframe_wcount = 2 \
|
||||
. cycle_layout +1 vertical horizontal max vertical grid \
|
||||
, cycle_layout +1
|
||||
or , and . compare tags.focus.curframe_wcount = 2 \
|
||||
. cycle_layout +1 vertical horizontal max vertical grid \
|
||||
, cycle_layout +1
|
||||
|
||||
# rotate and mirror
|
||||
hc keybind "$M-apostrophe" mirror vertical
|
||||
@ -148,12 +148,12 @@ tag_keys=(a s d f g z x c v b)
|
||||
|
||||
hc rename default "${tag_names[0]}" || true
|
||||
for i in "${!tag_names[@]}"; do
|
||||
hc add "${tag_names[$i]}"
|
||||
key="${tag_keys[$i]}"
|
||||
if ! [ -z "$key" ]; then
|
||||
hc keybind "$M-$key" use_index $i
|
||||
hc keybind "$M-$S-$key" move_index $i
|
||||
fi
|
||||
hc add "${tag_names[$i]}"
|
||||
key="${tag_keys[$i]}"
|
||||
if ! [ -z "$key" ]; then
|
||||
hc keybind "$M-$key" use_index $i
|
||||
hc keybind "$M-$S-$key" move_index $i
|
||||
fi
|
||||
done
|
||||
|
||||
#
|
||||
@ -218,7 +218,6 @@ for monitor in $(hc list_monitors | cut -d: -f1); do
|
||||
"$panel" "$monitor" &
|
||||
done
|
||||
|
||||
picom --experimental-backends &
|
||||
pidof dunst || dunst &
|
||||
pidof mpd || mpd &
|
||||
pidof flameshot || flameshot &
|
||||
|
||||
Reference in New Issue
Block a user