Commit b95a2c4e authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added mod+... keys to control amixer and xbacklight (note that am using sudo...

Added mod+... keys to control amixer and xbacklight (note that am using sudo here as are using acpilight (https://aur.archlinux.org/packages/acpilight/) as dropin replacement.

Also reverted compton screen-tearing fix since doesn't seem a problem for my new machine (Razer Blade 15, GTX 1060).
parent 2182f367
...@@ -41,15 +41,15 @@ fade-in-step = 0.03; ...@@ -41,15 +41,15 @@ fade-in-step = 0.03;
fade-out-step = 0.03; fade-out-step = 0.03;
fade-exclude = [ ]; fade-exclude = [ ];
#backend = "xrender"; backend = "xrender";
backend = "glx"; #backend = "glx";
mark-wmwin-focused = true; mark-wmwin-focused = true;
mark-ovredir-focused = true; mark-ovredir-focused = true;
detect-client-opacity = true; detect-client-opacity = true;
unredir-if-possible = true; unredir-if-possible = true;
refresh-rate = 0; refresh-rate = 0;
#vsync = "none"; vsync = "none";
vsync = "opengl-swc"; #vsync = "opengl-swc";
dbe = false; dbe = false;
paint-on-overlay = true; paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ]; focus-exclude = [ "class_g = 'Cairo-clock'" ];
......
...@@ -53,12 +53,13 @@ bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' ...@@ -53,12 +53,13 @@ bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
################################################################################################ ################################################################################################
# Increase/decrease sink volume 1 # Increase/decrease sink volume 1
bindsym $mod+F2 exec pactl set-sink-volume 1 -5%; exec notify-send 'sink 1 volume decreased' bindsym $mod+F1 exec amixer -qD pulse set Master toggle; exec notify-send 'sound toggled'
bindsym $mod+F3 exec pactl set-sink-volume 1 +5%; exec notify-send 'sink 1 volume increased' bindsym $mod+F2 exec amixer -qc 0 set Master 2db-; exec notify-send 'volume decreased'
bindsym $mod+F3 exec amixer -qc 0 set Master 2db+; exec notify-send 'volume increased'
# Screen brightness controls # Screen brightness controls
bindsym $mod+F6 exec xbacklight -inc 5 bindsym $mod+F8 exec sudo xbacklight -10
bindsym $mod+F5 exec xbacklight -dec 5 bindsym $mod+F9 exec sudo xbacklight +10
# Start Applications # Start Applications
bindsym $mod+Ctrl+b exec terminal -e 'bmenu' bindsym $mod+Ctrl+b exec terminal -e 'bmenu'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment