Update wofi-alt-tab.sh
This commit is contained in:
parent
6b53d53196
commit
8bff2f7147
|
@ -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 \
|
||||||
|
$HOME/.dotfiles/wofi/sidebar --show dmenu | {
|
||||||
read -r id name
|
read -r id name
|
||||||
swaymsg "[con_id=$id]" focus
|
swaymsg "[con_id=$id]" focus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue