Actualiser waybar/config.jsonc
This commit is contained in:
parent
1092ce9453
commit
c8dfea331d
|
|
@ -0,0 +1,111 @@
|
||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"height": 32,
|
||||||
|
"spacing": 6,
|
||||||
|
|
||||||
|
"modules-left": [
|
||||||
|
"custom/launcher",
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"hyprland/window"
|
||||||
|
],
|
||||||
|
|
||||||
|
"modules-center": [
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
|
||||||
|
"modules-right": [
|
||||||
|
"pulseaudio",
|
||||||
|
"temperature",
|
||||||
|
"tray",
|
||||||
|
"battery",
|
||||||
|
"custom/power",
|
||||||
|
],
|
||||||
|
|
||||||
|
// ===== MODULES =====
|
||||||
|
|
||||||
|
"custom/launcher": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "rofi -show drun",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
//
|
||||||
|
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"1": "",
|
||||||
|
"2": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": "",
|
||||||
|
"active": "",
|
||||||
|
"default": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"hyprland/window": {
|
||||||
|
"max-length": 40,
|
||||||
|
"separate-outputs": true
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": "{:%H:%M}",
|
||||||
|
"format-alt": "{:%A %d %B %Y}",
|
||||||
|
"on-click": "gnome-calendar"
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{volume}%",
|
||||||
|
"format-muted": "muted",
|
||||||
|
"format-icons": {
|
||||||
|
"default": ["", "", ""]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
"format-wifi": " {signalStrength}%",
|
||||||
|
"format-ethernet": " wired",
|
||||||
|
"format-disconnected": "⚠ offline",
|
||||||
|
"on-click": "nm-connection-editor"
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"interval": 2,
|
||||||
|
"format": " {usage}%",
|
||||||
|
"on-click": "kitty htop"
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"interval": 2,
|
||||||
|
"format": " {used:0.1f}G",
|
||||||
|
"on-click": "kitty htop"
|
||||||
|
},
|
||||||
|
|
||||||
|
"temperature": {
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"format": " {temperatureC}°C"
|
||||||
|
},
|
||||||
|
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"on-click": "kitty powertop"
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/power": {
|
||||||
|
"format": "⏻ ",
|
||||||
|
"on-click": "wlogout",
|
||||||
|
"tooltip": "Power menu"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue