Fix tag locking in herbstluftwm

This commit is contained in:
Tom Willemse 2016-11-09 15:00:51 +01:00
parent 1fe6639ddf
commit 313d5c8c13

View file

@ -21,8 +21,8 @@ function random-wallpaper() {
# switched.
function lock-tag-to-monitor() {
herbstclient chain \
, new_attr string tags.by-name."$1".my-monitor \
, set_attr tags.by-name."$1".my-monitor "$2"
, new_attr string tags.by-name."$1".my_monitor \
, set_attr tags.by-name."$1".my_monitor "$2"
}
## Reload hook:
@ -229,8 +229,8 @@ hc load web '(clients max:0)'
hc focus_edge left
# Lock each tag to its specific monitor.
lock_tag_to_monitor dev 0
lock_tag_to_monitor web 1
lock-tag-to-monitor dev 0
lock-tag-to-monitor web 1
## Other configurations