Fix tag locking in herbstluftwm
This commit is contained in:
parent
1fe6639ddf
commit
313d5c8c13
1 changed files with 4 additions and 4 deletions
|
@ -21,8 +21,8 @@ function random-wallpaper() {
|
||||||
# switched.
|
# switched.
|
||||||
function lock-tag-to-monitor() {
|
function lock-tag-to-monitor() {
|
||||||
herbstclient chain \
|
herbstclient chain \
|
||||||
, new_attr string tags.by-name."$1".my-monitor \
|
, new_attr string tags.by-name."$1".my_monitor \
|
||||||
, set_attr tags.by-name."$1".my-monitor "$2"
|
, set_attr tags.by-name."$1".my_monitor "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
## Reload hook:
|
## Reload hook:
|
||||||
|
@ -229,8 +229,8 @@ hc load web '(clients max:0)'
|
||||||
hc focus_edge left
|
hc focus_edge left
|
||||||
|
|
||||||
# Lock each tag to its specific monitor.
|
# Lock each tag to its specific monitor.
|
||||||
lock_tag_to_monitor dev 0
|
lock-tag-to-monitor dev 0
|
||||||
lock_tag_to_monitor web 1
|
lock-tag-to-monitor web 1
|
||||||
|
|
||||||
## Other configurations
|
## Other configurations
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue