diff --git a/.config/i3/config.base b/.config/i3/config.base index ab6d807..3aefbae 100644 --- a/.config/i3/config.base +++ b/.config/i3/config.base @@ -147,3 +147,17 @@ bindsym XF86MonBrightnessDown exec light -U 10 # decrease screen brightness bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause bindsym XF86AudioNext exec --no-startup-id playerctl next bindsym XF86AudioPrev exec --no-startup-id playerctl previous + +# Scratchpad +# $mod+` (backtick) +bindsym $mod+grave move scratchpad +bindsym $mod+Shift+grave scratchpad show + +# Calculator: Launch into scratchpad on start +for_window [class="Qalculate-gtk"] floating enable +for_window [class="Qalculate-gtk"] move scratchpad +exec qalculate-gtk +# $mod+c moves calculator out of scratchpad +bindsym $mod+c [class="Qalculate-gtk"] scratchpad show +# $mod+Alt+c moves calculator back to scratchpad regardless of position/focus +bindsym $mod+Mod1+c [class="Qalculate-gtk"] scratchpad show