[i3] Add brightnessctl command + some cleaning
This commit is contained in:
		| @@ -10,14 +10,14 @@ workspace "1" output "eDP1" | |||||||
| workspace "2" output "eDP1" | workspace "2" output "eDP1" | ||||||
| workspace "3" output "eDP1" | workspace "3" output "eDP1" | ||||||
| workspace "4" output "eDP1" | workspace "4" output "eDP1" | ||||||
| workspace "5" output "DP1-1" | workspace "5" output "eDP1" | ||||||
| workspace "6" output "DP1-1" | workspace "6" output "eDP1" | ||||||
| workspace "7" output "DP1-1" | workspace "7" output "eDP1" | ||||||
| workspace "8" output "DP1-1" | workspace "8" output "eDP1" | ||||||
| workspace "9" output "DP1-1" | workspace "9" output "eDP1" | ||||||
| workspace "10" output "DP1-1" | workspace "10" output "eDP1" | ||||||
| workspace "11" output "DP1-1" | workspace "11" output "eDP1" | ||||||
| workspace "12" output "DP1-3" | workspace "12" output "eDP1" | ||||||
|  |  | ||||||
| focus_follows_mouse no | focus_follows_mouse no | ||||||
|  |  | ||||||
| @@ -192,17 +192,6 @@ mode "resize" { | |||||||
|  |  | ||||||
| bindsym $mod+r 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 | bindsym $mod+w sticky toggle | ||||||
|  |  | ||||||
| # Color scheme night owl | # 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 | bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute 0 toggle" # mute sound | ||||||
|  |  | ||||||
| # gestion de la luminosité | # gestion de la luminosité | ||||||
| bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness | bindsym XF86MonBrightnessUp exec brightnessctl set +10% # increase screen brightness | ||||||
| bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness | bindsym XF86MonBrightnessDown exec brightnessctl set 10%- # decrease screen brightness | ||||||
|  |  | ||||||
| exec_always --no-startup-id autorandr -c  | exec_always --no-startup-id autorandr -c  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user