Update wofi-alt-tab.sh
This commit is contained in:
parent
ccdf61d77d
commit
84ba87dcf8
|
@ -5,7 +5,8 @@ swaymsg -t get_tree |
|
||||||
grep -v '__i3_scratch' |
|
grep -v '__i3_scratch' |
|
||||||
sed -e 's/\([^\-]\)\- *[^\-]*$/\1/' |
|
sed -e 's/\([^\-]\)\- *[^\-]*$/\1/' |
|
||||||
sed -e 's/^\([0-9]*\)\t*\(.*\)/\2 \1/' |
|
sed -e 's/^\([0-9]*\)\t*\(.*\)/\2 \1/' |
|
||||||
wofi -I --show dmenu | {
|
wofi -I -s /home/jpm/.dotfiles/wofi/style.css -c \
|
||||||
read -r id name
|
$HOME/.dotfiles/wofi/sidebar --show dmenu | {
|
||||||
swaymsg "[con_id=$id]" focus
|
read -r id name
|
||||||
}
|
swaymsg "[con_id=$id]" focus
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue