From b198f3f4becb375e0e317792749747a1662c84e5 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Sun, 18 Sep 2022 19:07:23 +0200 Subject: [PATCH] [i3] Add brightnessctl command + some cleaning --- .config/i3/config | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index ff3946e..d364981 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -10,14 +10,14 @@ workspace "1" output "eDP1" workspace "2" output "eDP1" workspace "3" output "eDP1" workspace "4" output "eDP1" -workspace "5" output "DP1-1" -workspace "6" output "DP1-1" -workspace "7" output "DP1-1" -workspace "8" output "DP1-1" -workspace "9" output "DP1-1" -workspace "10" output "DP1-1" -workspace "11" output "DP1-1" -workspace "12" output "DP1-3" +workspace "5" output "eDP1" +workspace "6" output "eDP1" +workspace "7" output "eDP1" +workspace "8" output "eDP1" +workspace "9" output "eDP1" +workspace "10" output "eDP1" +workspace "11" output "eDP1" +workspace "12" output "eDP1" focus_follows_mouse no @@ -192,17 +192,6 @@ mode "resize" { bindsym $mod+r mode "resize" - -set $displayMode "Set display mode [w]ork [l]aptop [h]ome" - -mode $displayMode { - bindsym w exec "~/.screenlayout/work.sh"; restart; mode "default" - bindsym l exec "~/.screenlayout/laptop.sh"; restart; mode "default" - bindsym h exec "~/.screenlayout/home.sh"; restart; mode "default" -} - -bindsym $mod+x mode $displayMode - bindsym $mod+w sticky toggle # Color scheme night owl @@ -233,8 +222,8 @@ bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume 0 -5%; bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute 0 toggle" # mute sound # gestion de la luminosité -bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness -bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness +bindsym XF86MonBrightnessUp exec brightnessctl set +10% # increase screen brightness +bindsym XF86MonBrightnessDown exec brightnessctl set 10%- # decrease screen brightness exec_always --no-startup-id autorandr -c