Added scratchpad and calculator functionality

This commit is contained in:
David Thurstenson 2017-05-31 18:02:32 -05:00
parent 3663d5ae2c
commit 24f0bd007b
1 changed files with 14 additions and 0 deletions

View File

@ -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