From f36946e768cff59f9c44c1a13d1258a3a1084b3c Mon Sep 17 00:00:00 2001 From: Xamora Date: Tue, 19 Dec 2023 18:52:49 +0100 Subject: [PATCH] Brightness issue and new feature --- sway-config | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/sway-config b/sway-config index 090ae19..e1b17ef 100644 --- a/sway-config +++ b/sway-config @@ -148,9 +148,9 @@ input * { bindsym $mod+v splitv # Switch the current container between different layout styles - bindsym $mod+s layout stacking - bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split + bindsym $mod+c layout stacking + bindsym $mod+x layout tabbed + bindsym $mod+w layout toggle split # Make the current focus fullscreen bindsym $mod+f fullscreen @@ -234,3 +234,16 @@ output * scale 1 # Lock Screen 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%+ +