Brightness issue and new feature

This commit is contained in:
Xamora 2023-12-19 18:52:49 +01:00
parent 721649d1ef
commit f36946e768

View file

@ -148,9 +148,9 @@ input * {
bindsym $mod+v splitv bindsym $mod+v splitv
# Switch the current container between different layout styles # Switch the current container between different layout styles
bindsym $mod+s layout stacking bindsym $mod+c layout stacking
bindsym $mod+w layout tabbed bindsym $mod+x layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+w layout toggle split
# Make the current focus fullscreen # Make the current focus fullscreen
bindsym $mod+f fullscreen bindsym $mod+f fullscreen
@ -234,3 +234,16 @@ output * scale 1
# Lock Screen # Lock Screen
bindsym $mod+o exec swaylock -c "#000000" bindsym $mod+o exec swaylock -c "#000000"
# F button
bindsym XF86MonBrightnessDown exec brightnessctl set 2%-
bindsym XF86MonBrightnessUp exec brightnessctl set 2%+
# Max
bindsym $mod+XF86MonBrightnessUp exec brightnessctl set 100%
bindsym $mod+XF86MonBrightnessDown exec brightnessctl set 1
bindsym XF86AudioMute exec amixer sset Master toggle
bindsym XF86AudioLowerVolume exec amixer sset Master 10%-
bindsym XF86AudioRaiseVolume exec amixer sset Master 10%+