New backup 2024-07-18 01:13:12

This commit is contained in:
Penelope Gwen 2024-07-18 01:13:12 -06:00
parent 76b9b3305d
commit 1df99fc51f
2 changed files with 8 additions and 0 deletions

View file

@ -9,5 +9,8 @@
# Cycle Scratchpad
bindsym $mod+minus scratchpad show
# Scratchpad Menu
bindsym $mod+equal exec '$HOME/.config/sway/scripts/scratchpadmenu.sh'
# sticky
bindsym $mod+Shift+equal floating enable, sticky enable

View file

@ -0,0 +1,5 @@
#!/bin/bash
selection=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch").floating_nodes[].app_id' | wofi -i --dmenu -k /dev/null | cut -d. -f1)
swaymsg [app_id="${selection}"] scratchpad show