Window list bound to apostrophe in ratpoison mode.
This commit is contained in:
10
scripts/window_list.sh
Executable file
10
scripts/window_list.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
select_window() {
|
||||
local window="$(yad --list --column "Select Window" "$@")"
|
||||
echo "${window%|}"
|
||||
}
|
||||
|
||||
i3-msg '[title="'$(i3-msg -t get_tree | jq -r "recurse(.nodes[]) | select(.window) | .name" | select_window)'"] focus'
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user