Added scratchpad and calculator functionality
This commit is contained in:
parent
3663d5ae2c
commit
24f0bd007b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue