diff options
author | Tom Willemse | 2016-08-05 01:48:13 +0200 |
---|---|---|
committer | Tom Willemse | 2016-08-05 01:48:13 +0200 |
commit | 2f14924ad4d769e4af35f2eea31c8edc9094b0a5 (patch) | |
tree | 40fdbe337fafa1377379240aa9c6a8facb514ec0 | |
download | hlwm-switch-to-window-2f14924ad4d769e4af35f2eea31c8edc9094b0a5.tar.gz hlwm-switch-to-window-2f14924ad4d769e4af35f2eea31c8edc9094b0a5.zip |
Add rofi configuration
-rwxr-xr-x | hlwm-switch-to-window | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hlwm-switch-to-window b/hlwm-switch-to-window new file mode 100755 index 0000000..4a722db --- /dev/null +++ b/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 |