2023-05-16 04:04:30 +01:00
|
|
|
{
|
|
|
|
"margin-top": 0,
|
2023-05-16 04:21:05 +01:00
|
|
|
"margin-left": 0,
|
2023-05-16 04:04:30 +01:00
|
|
|
"margin-bottom": 0,
|
2023-05-16 04:21:05 +01:00
|
|
|
"margin-right": 0,
|
2023-05-16 04:04:30 +01:00
|
|
|
"height": 60,
|
|
|
|
"layer": "top",
|
|
|
|
"position": "top",
|
|
|
|
"output": "eDP-1",
|
|
|
|
"spacing": 15,
|
|
|
|
"modules-left": ["custom/launcher", "clock", "clock#date"],
|
|
|
|
"modules-center": ["wlr/workspaces"],
|
|
|
|
"modules-right": ["pulseaudio", "network", "battery"],
|
|
|
|
|
|
|
|
"wlr/workspaces": {
|
|
|
|
"disable-scroll": true,
|
|
|
|
"all-outputs": true,
|
|
|
|
"on-click": "activate",
|
|
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
|
|
|
"persistent_workspaces": {
|
|
|
|
"1": [],
|
|
|
|
"2": [],
|
|
|
|
"3": [],
|
|
|
|
"4": [],
|
|
|
|
"5": [],
|
|
|
|
"6": [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2023-05-16 04:21:05 +01:00
|
|
|
"custom/launcher": {
|
|
|
|
"interval": "once",
|
|
|
|
"format": "",
|
|
|
|
"on-click": "pkill rofi || rofi --show drun",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
|
2023-05-16 04:04:30 +01:00
|
|
|
"memory": {
|
|
|
|
"interval": 30,
|
|
|
|
"format": " {}%",
|
|
|
|
"format-alt":" {used:0.1f}G",
|
|
|
|
"max-length": 10
|
|
|
|
},
|
|
|
|
|
|
|
|
"pulseaudio": {
|
|
|
|
"format": "{icon} {volume}%",
|
|
|
|
"format-bluetooth": "{icon} {volume}%",
|
|
|
|
"format-bluetooth-muted": " muted",
|
|
|
|
"format-muted": " muted",
|
|
|
|
"format-icons": {
|
|
|
|
"headphone": "",
|
|
|
|
"hands-free": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["", "", " "]
|
|
|
|
},
|
|
|
|
"on-click-right": "pavucontrol",
|
|
|
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
|
|
|
},
|
|
|
|
|
|
|
|
"network": {
|
|
|
|
"format-wifi": " {signalStrength}%",
|
|
|
|
"format-ethernet": " {signalStrength}%",
|
|
|
|
"format-disconnected": "",
|
|
|
|
"on-click": "alacritty -e nmtui"
|
|
|
|
},
|
|
|
|
|
|
|
|
"battery": {
|
|
|
|
"bat": "BAT0",
|
|
|
|
"adapter": "ADP0",
|
|
|
|
"interval": 5,
|
|
|
|
"states": {
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
|
|
|
},
|
|
|
|
"max-length": 10,
|
|
|
|
"format": "{icon} {capacity}%",
|
|
|
|
"format-warning": "{icon} {capacity}%",
|
|
|
|
"format-critical": "{icon} {capacity}%",
|
|
|
|
"format-charging": " {capacity}%",
|
|
|
|
"format-plugged": " {capacity}%",
|
|
|
|
"format-alt": "{icon} {capacity}%",
|
|
|
|
"format-full": " 100%",
|
2023-05-16 04:19:10 +01:00
|
|
|
"format-icons": [" "," "," "," "," "," "," "," "," "," "]
|
2023-05-16 04:04:30 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
"clock": {
|
|
|
|
"format": " {:%H:%M}"
|
|
|
|
},
|
|
|
|
|
|
|
|
"clock#date": {
|
|
|
|
"format": " {:%A, %B %d, %Y}"
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|