blob: 4a722dbab0c1deed91cbfde18d0f0c30ada0b330 (
plain)
1
2
3
4
5
6
7
8
|
#!/usr/bin/env bash
winid="0x$(printf "%x\n" $1)"
tag=$(herbstclient attr clients.$winid.tag)
herbstclient chain \
, silent substitute M tags.by-name.$tag.my_monitor focus_monitor M \
, use $tag \
, jumpto $winid
|