Initial commit
This commit is contained in:
24
dot_config/waybar/modules/power.jsonc
Normal file
24
dot_config/waybar/modules/power.jsonc
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"group/power-group": {
|
||||
"orientation": "horizontal",
|
||||
"modules": ["backlight", "battery"],
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||
"format-charging": "",
|
||||
"on-click": "$HOME/.config/hypr/scripts/dunst/ROGprofiler.sh",
|
||||
"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