added bindings for mpd and a binding to open pulse volume control.

This commit is contained in:
Gabe Venberg 2020-01-27 12:54:38 -06:00
parent b83afb54f4
commit df836d935d

View file

@ -96,9 +96,9 @@ font pango:DejaVu Sans Mono 8
bindsym $mod+Shift+a sticky toggle bindsym $mod+Shift+a sticky toggle
#make currently focused window a scratchpad #make currently focused window a scratchpad
bindsym $mod+shift+plus move scratchpad bindsym $mod+shift+backslash move scratchpad
#and hide and show it #and hide and show it
bindsym $mod+plus scratchpad show bindsym $mod+backslash scratchpad show
#workspace switching #workspace switching
# Define names for default workspaces for which we configure key bindings later on. We use variables to avoid repeating the names in multiple places. # Define names for default workspaces for which we configure key bindings later on. We use variables to avoid repeating the names in multiple places.
@ -180,6 +180,14 @@ font pango:DejaVu Sans Mono 8
bindsym $mod+s exec "maim ~/Pictures/$(date +%s).png" bindsym $mod+s exec "maim ~/Pictures/$(date +%s).png"
bindsym $mod+shift+s exec "maim -i $(xdotool getactivewindow) ~/$(date +%s).png" bindsym $mod+shift+s exec "maim -i $(xdotool getactivewindow) ~/$(date +%s).png"
#mpd controls
bindsym $mod+space mpc toggle
bindsym $mod+plus mpc volume +
bindsym $mod+minus mpc volume -
#open volume control
bindsym $mod p exec pavucontrol
#make certan windwows always floating #make certan windwows always floating
#volume controll #volume controll
for_window [class="Pavucontrol"] floating enable for_window [class="Pavucontrol"] floating enable