mirror of
https://github.com/duma799/hyprduma-config.git
synced 2026-05-13 14:11:01 +00:00
117 lines
3.5 KiB
Plaintext
117 lines
3.5 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"output": "HDMI-A-1",
|
|
"reload_style_on_change": true,
|
|
"modules-left": ["hyprland/workspaces"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["group/expand","pulseaudio","bluetooth","network","custom/power-profile","battery"],
|
|
|
|
"hyprland/workspaces": {
|
|
"format": "{name}",
|
|
"persistent-workspaces": {
|
|
"*": [ 1,2,3,4,5 ]
|
|
}
|
|
},
|
|
"clock": {
|
|
"format": "{:%H:%M}",
|
|
"interval": 1
|
|
},
|
|
"network": {
|
|
"interface": "wlo1",
|
|
"format-wifi": "",
|
|
"format-ethernet": "",
|
|
"format-disconnected": "",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
|
"tooltip-format-ethernet": "{ifname}",
|
|
"on-click": "kitty nmtui"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"default": ["", "", ""]
|
|
},
|
|
"tooltip-format": "{volume}%",
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
"on-click-right": "pwvucontrol"
|
|
},
|
|
"bluetooth": {
|
|
"format-on": "",
|
|
"format-off": "BT-off",
|
|
"format-disabled": "",
|
|
"format-connected-battery": "{device_battery_percentage}% ",
|
|
"format-alt": "{device_alias} ",
|
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}\n{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\n{device_address}\n{device_battery_percentage}%",
|
|
"on-click-right": "blueman-manager"
|
|
},
|
|
"battery": {
|
|
"interval":30,
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 20
|
|
},
|
|
"format": "{icon}",
|
|
"format-charging": "",
|
|
"format-plugged": "",
|
|
"tooltip-format": "{capacity}%",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"custom/power-profile": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"interval": 10,
|
|
"exec": "~/hyprduma-config/waybar/scripts/power-profile.sh",
|
|
"on-click": "~/hyprduma-config/waybar/scripts/power-profile.sh --cycle && pkill -RTMIN+8 waybar",
|
|
"signal": 8
|
|
},
|
|
"custom/expand": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
"custom/endpoint":{
|
|
"format": "|",
|
|
"tooltip": false
|
|
},
|
|
"group/expand": {
|
|
"orientation": "horizontal",
|
|
"drawer": {
|
|
"transition-duration": 600,
|
|
"transition-to-left": true,
|
|
"click-to-reveal": true
|
|
},
|
|
"modules": ["custom/expand", "custom/colorpicker","cpu","memory","temperature","custom/endpoint"]
|
|
},
|
|
"custom/colorpicker": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"interval": "once",
|
|
"exec": "~/.config/waybar/scripts/colorpicker.sh -j",
|
|
"on-click": "~/.config/waybar/scripts/colorpicker.sh",
|
|
"signal": 1
|
|
},
|
|
"cpu": {
|
|
"format": "",
|
|
"tooltip": true
|
|
},
|
|
"memory": {
|
|
"format": ""
|
|
},
|
|
"temperature": {
|
|
"critical-threshold": 80,
|
|
"format": ""
|
|
}
|
|
}
|