switcher
This commit is contained in:
parent
356b45ecd6
commit
e1e48ca6bc
1 changed files with 4 additions and 0 deletions
4
.scripts/switcher.fish
Executable file
4
.scripts/switcher.fish
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/fish
|
||||
|
||||
swaymsg -t get_tree -r | jq -r '.. | select(.app_id?) | (.pid|tostring) + " " + .app_id + " " + .name' | fzf --with-nth 2.. | awk '{print $1}' | xargs printf "[pid=%d] focus" | xargs swaymsg
|
||||
|
Loading…
Reference in a new issue