New backup 2024-07-18 01:13:12
This commit is contained in:
parent
76b9b3305d
commit
1df99fc51f
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
5
de/home/.config/sway/scripts/scratchpadmenu.sh
Executable file
5
de/home/.config/sway/scripts/scratchpadmenu.sh
Executable 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
|
Loading…
Add table
Reference in a new issue