Add backlight
This commit is contained in:
@@ -145,9 +145,12 @@ bind = $mainMod, I, movetoworkspace, +1
|
||||
bind = $mainMod SHIFT, space, togglefloating,
|
||||
|
||||
binde=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bind=, XF86AudioMute, exec, wpctl set-mute -l 1.0 @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
|
||||
binde=, XF86MonBrightnessUp, exec, xbacklight -inc 10
|
||||
binde=, XF86MonBrightnessDown, exec, xbacklight -dec 10
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"battery",
|
||||
@@ -15,6 +16,10 @@
|
||||
},
|
||||
"bat": {
|
||||
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["", ""]
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"format": "{icon}",
|
||||
|
||||
Reference in New Issue
Block a user