diff options
author | 2016-08-05 01:48:13 +0200 | |
---|---|---|
committer | 2016-08-05 01:48:13 +0200 | |
commit | 393087e8a5c73542192d0e06c92f8dd5ea1eb4ba (patch) | |
tree | 86bcc191e20a1eb7bfc41a4b80e46f6c16f3c3a2 /rofi/usr | |
parent | 6cabddd647c877e25b9c3f341117e516f89ff781 (diff) | |
download | new-dotfiles-393087e8a5c73542192d0e06c92f8dd5ea1eb4ba.tar.gz new-dotfiles-393087e8a5c73542192d0e06c92f8dd5ea1eb4ba.zip |
Add rofi configuration
Diffstat (limited to 'rofi/usr')
-rwxr-xr-x | rofi/usr/bin/hlwm-switch-to-window | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rofi/usr/bin/hlwm-switch-to-window b/rofi/usr/bin/hlwm-switch-to-window new file mode 100755 index 0000000..4a722db --- /dev/null +++ b/rofi/usr/bin/hlwm-switch-to-window @@ -0,0 +1,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 |