skynet/sway/config.d/02-quaketerm

13 lines
373 B
Plaintext

set $qterm-id quaketerm
set $qterm $term --app-id $qterm-id
set $qterm-resize resize set 100ppt 40ppt, move position 0 0
for_window [app_id="$qterm-id"] {
floating enable
$qterm-resize
move to scratchpad
scratchpad show
}
bindsym $mod+grave exec swaymsg '[app_id="$qterm-id"] scratchpad show' || $qterm && sleep .1 && swaymsg '[app_id="$qterm-id"] $qterm-resize'