aboutsummaryrefslogtreecommitdiff
path: root/config/i3
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-08 21:45:37 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-08 21:45:37 +0200
commit5466e3d6599181f07ea5824b0eba22d0c333dc3f (patch)
treef467bc179b4f65ca3903b4fe1d5bbfda28c672df /config/i3
parent020a96cf66595d47eba58724d28aeb3e88c907cf (diff)
downloadmyconfigs-5466e3d6599181f07ea5824b0eba22d0c333dc3f.tar.gz
myconfigs-5466e3d6599181f07ea5824b0eba22d0c333dc3f.tar.bz2
myconfigs-5466e3d6599181f07ea5824b0eba22d0c333dc3f.zip
Changes made while transferring to gentoo
Diffstat (limited to 'config/i3')
-rw-r--r--config/i3/config8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/i3/config b/config/i3/config
index 7cd72c3..3900eb5 100644
--- a/config/i3/config
+++ b/config/i3/config
@@ -135,7 +135,7 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
-set $Locker i3lock -d -c 000000 && sleep 1
+set $Locker i3lock -c 000000 && sleep 1 && xset dpms force off
set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
@@ -202,9 +202,9 @@ bindsym $mod+r mode "resize"
bindsym Mod1+space exec --no-startup-id ~/.config/i3/scripts/keyboard_switch
# Pulse audio control
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% && pkill -RTMIN+10 i3blocks
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% && pkill -RTMIN+10 i3blocks
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -RTMIN+10 i3blocks
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 20 # increase screen brightness