aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config16
1 files changed, 11 insertions, 5 deletions
diff --git a/.config/i3/config b/.config/i3/config
index f4770e2..a5bd3cf 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,3 +1,4 @@
+
# Debian packages: redshift-gtk dunst compton conky-std network-manager-gnome nitrogen xautolock
set $mod Mod4
@@ -135,10 +136,14 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
-#change volume
-bindsym XF86AudioRaiseVolume exec amixer -q set Master 5%+
-bindsym XF86AudioLowerVolume exec amixer -q set Master 5%-
-bindsym XF86AudioMute exec amixer set Master toggle
+# Pulse Audio controls
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks #increase sound volume
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -RTMIN+10 i3blocks #decrease sound volume
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -RTMIN+10 i3blocks # mute sound
+
+# Sreen brightness controls
+bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
+bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
# music control
bindsym XF86AudioNext exec mpc next
@@ -193,7 +198,8 @@ bar {
}
}
-exec --no-startup-id xautolock -locker i3lock-wrapper -time 2 -corners -+00 -cornerdelay 5 &
+exec --no-startup-id xset s 120
+exec --no-startup-id xss-lock -l -n dim-screen.sh i3lock-wrapper &
exec --no-startup-id compton -b
exec --no-startup-id conky
exec --no-startup-id touchpad-enable-tap
nihil fit ex nihilo