From 1b77dc4e5c06af101c563ae6f4f51efea8f726f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 4 Aug 2019 09:46:17 -0700 Subject: use xss-lock --- .config/i3/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config index f4770e2..f3c8e49 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 @@ -193,7 +194,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 -- cgit v1.2.3 From e3b421c86bb49fd3d44e88867aeb99d5b7d53319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 4 Aug 2019 10:20:46 -0700 Subject: audio and brightness buttons --- .config/i3/config | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config index f3c8e49..a7b52a0 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -136,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% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # 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 -- cgit v1.2.3 From 9346f23a7bb6c9428ff752e747f268d9f9c8db21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 4 Aug 2019 10:56:07 -0700 Subject: better battery --- .config/i3/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/i3') diff --git a/.config/i3/config b/.config/i3/config index a7b52a0..a5bd3cf 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -137,9 +137,9 @@ bindsym $mod+Shift+r restart 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'" # Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound +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 -- cgit v1.2.3