From 2f14924ad4d769e4af35f2eea31c8edc9094b0a5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 5 Aug 2016 01:48:13 +0200 Subject: Add rofi configuration --- hlwm-switch-to-window | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 hlwm-switch-to-window 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 -- cgit v1.2.3-54-g00ecf