skynet/sway/config.d/02-quaketerm

13 lines
373 B
Plaintext
Raw Normal View History

2024-05-15 13:34:29 -05:00
set $qterm-id quaketerm
set $qterm $term --app-id $qterm-id
2024-05-15 13:34:29 -05:00
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'