waybar as default, brightness keys

This commit is contained in:
elkowar 2024-11-26 10:01:06 +01:00
parent 919132f1ae
commit 37621cd702
Signed by: ElKowar
GPG key ID: 862BA3D7D7760F13
2 changed files with 7 additions and 3 deletions

View file

@ -23,6 +23,7 @@ input {
}
trackpoint {
accel-speed -0.1
//accel-speed -0.1
}
//warp-mouse-to-focus
focus-follows-mouse max-scroll-amount="20%"
@ -93,7 +94,7 @@ spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
spawn-at-startup "kdeconnect-indicator"
//
spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/wallpapers/green_leaves.jpg"
spawn-at-startup "cosmic-panel"
spawn-at-startup "waybar"
spawn-at-startup "~/.config/niri/clipsync watch with-notifications"
spawn-at-startup
//
@ -190,6 +191,9 @@ binds {
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "set" "5%+"; }
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }
Mod+Shift+Q { close-window; }
Mod+H { focus-column-or-monitor-left; }

View file

@ -193,8 +193,8 @@
"",
""
],
"on-scroll-up": "brightnessctl s 5%+",
"on-scroll-down": "brightnessctl s 1%-",
"on-scroll-up": "brightnessctl s 2%+",
"on-scroll-down": "brightnessctl s 2%-",
"on-click-right": "brightnessctl s 1%",
"on-click": "brightnessctl s 50%"
},