Waybar and Wodi

This commit is contained in:
OdiousImp2604
2021-01-24 13:47:49 +00:00
committed by GitHub
parent 02d4a89da6
commit c4b69bf43e
16 changed files with 845 additions and 115 deletions

6
.config/wofi/window.sh Normal file
View File

@@ -0,0 +1,6 @@
swaymsg -t get_tree |
jq -r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) + "" + .name)' |
wofi -c ~/.config/wofi/menu -s ~/.config/wofi/sway.css --show dmenu | {
read -r id name
swaymsg "[con_id=$id]" focused
}