90 lines
3 KiB
Plaintext
90 lines
3 KiB
Plaintext
// This file serves to declare and configure the modules, and the bar itself.
|
|
|
|
{
|
|
|
|
// Bar configuration.
|
|
// ------------------
|
|
|
|
// The bar should have an height of 46.
|
|
|
|
"position": "top",
|
|
|
|
"margin-top": 22,
|
|
|
|
"modules-left": ["hyprland/workspaces", "network", "memory"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["pulseaudio", "battery"],
|
|
|
|
// Modules configuration.
|
|
// In order of apparition from left to right.
|
|
// ------------------------------------------
|
|
|
|
// Left modules.
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
|
"default": "",
|
|
"urgent": "",
|
|
"focused": "",
|
|
"active": ""
|
|
}
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": "<span size='13000' foreground='#8AADF4'> </span>{essid}",
|
|
"format-ethernet": "<span size='13000' foreground='#8AADF4'> </span>Disconnected",
|
|
"format-linked": "<span size='13000' foreground='#8AADF4'> </span>{ifname} (No IP)",
|
|
"format-disconnected": "<span size='13000' foreground='#8AADF4'> </span>Disconnected",
|
|
"tooltip-format-wifi": "Signal Strenght: {signalStrength}%"
|
|
},
|
|
|
|
"memory": {
|
|
"format": "<span size='13000' foreground='#8AADF4'> </span>{}%",
|
|
"interval": 10
|
|
},
|
|
|
|
// Center modules.
|
|
"clock": {
|
|
"format": "<span foreground='#8AADF4'> </span>{:%A %d %H:%M}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
},
|
|
|
|
// Right modules.
|
|
"pulseaudio": {
|
|
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
|
"tooltip": false,
|
|
|
|
"format": "<span size='13000' foreground='#8AADF4'>{icon} </span> {volume}%",
|
|
"format-muted": "<span size='14000' foreground='#8AADF4'></span> Muted",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", ""]
|
|
}
|
|
},
|
|
|
|
"battery": {
|
|
"format": "<span size='13000' foreground='#8AADF4' >{icon} </span> {capacity}%",
|
|
"format-warning": "<span size='13000' foreground='#EED49F'>{icon} </span> {capacity}%",
|
|
"format-critical": "<span size='13000' foreground='#ED8796' >{icon} </span> {capacity}%",
|
|
"format-charging": "<span size='13000' foreground='#8BD5CA' > </span> {capacity}%",
|
|
"format-plugged": "<span size='13000' foreground='#8BD5CA' > </span> {capacity}%",
|
|
"format-alt": "<span size='13000' foreground='#8AADF4' >{icon} </span> {time}",
|
|
"format-full": "<span size='13000' foreground='#8AADF4' > </span> {capacity}%",
|
|
|
|
"format-icons": ["", "", "", "", ""],
|
|
"tooltip-format": "{time}",
|
|
|
|
"states": {
|
|
"warning": 35,
|
|
"critical": 20
|
|
}
|
|
}
|
|
}
|