I’m trying to get scratchpad to work on my i3wm setup. I’m following some directions I got off YouTube with it’s corresponding code. Even after my edits I can’t get it to work. I’d like for i3 to launch the application and then move it into the scratchpad so I can bring it back and forth with the keybind.
See the code below.
for_window [instance="dropdown"] floating enable
for_window [instance="dropdown"] resize set 625 400
for_window [instance="dropdown"] move scratchpad
for_window [instance="dropdown"] border pixel 5
exec --no-startup-id xfce4-terminal -n dropdown
bindsym $mod+u [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center