aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/switcher.sh
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2017-11-08 01:47:34 -0700
committerkatherine <shmibs@shmibbles.me>2017-11-08 01:47:34 -0700
commit5d57322f71a9f3193133c1be1d5fe938b5cb6e56 (patch)
tree3ea6f992a1e7a25608af06bd2a9bc074d2e17ff4 /.config/herbstluftwm/switcher.sh
parent7f19a384e2f683cfec0186845af8837124184785 (diff)
downloaddotfiles-5d57322f71a9f3193133c1be1d5fe938b5cb6e56.tar.gz
add pass and maim support to herbstluftwm
Diffstat (limited to '.config/herbstluftwm/switcher.sh')
-rwxr-xr-x.config/herbstluftwm/switcher.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/herbstluftwm/switcher.sh b/.config/herbstluftwm/switcher.sh
index e076eb3..2558303 100755
--- a/.config/herbstluftwm/switcher.sh
+++ b/.config/herbstluftwm/switcher.sh
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
source ~/.config/init/vars
@@ -16,6 +16,6 @@ done < <(wmctrl -l)
echo -e "$lines" | nl -w 2 -s ") " | dmenu -fn "${bfont}:size=${bfont_size}" -i -h "$bheight" \
-nb "$bar_bg" -nf "$bar_fg" -sb "$bg_focus" -sf "$fg_focus" \
- -p "Select:" -l 40 | cut -d ')' -f 1 | {read choice}
+ -p "Select:" -l 40 | cut -d ')' -f 1 | read choice
herbstclient jumpto "${nums[$choice]}"