From 24f0bd007ba98e13f59473cdf667b2c2c0d1df04 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Wed, 31 May 2017 18:02:32 -0500 Subject: [PATCH] Added scratchpad and calculator functionality --- .config/i3/config.base | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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