fix: fixed conflicts + moving to yadm
This commit is contained in:
23
.config/waybar/modules/power.jsonc
Normal file
23
.config/waybar/modules/power.jsonc
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"group/power-group": {
|
||||
"orientation": "horizontal",
|
||||
"modules": ["backlight", "battery"],
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [" ", " ", " ", " ", " "],
|
||||
"format-charging": " ",
|
||||
"tooltip-format": "{capacity}% {timeTo}",
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"smooth-scrolling-threshold": 1, // This value was tested using a trackpad, it should be lowered if using a mouse.
|
||||
"on-scroll-down": "brightnessctl --class='backlight' set 5%+",
|
||||
"on-scroll-up": "brightnessctl --class='backlight' set 5%-",
|
||||
"on-click": "python $HOME/.config/hypr/scripts/swww.py",
|
||||
"tooltip-format": "{percent}%",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user