dotfiles-mirror/config/waybar/config.jsonc
2025-10-31 22:15:06 +03:30

189 lines
4.2 KiB
JSON

<<<<<<< HEAD
// -*- mode: jsonc -*-
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"spacing": 4,
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"custom/sep",
"hyprland/window",
],
"modules-right": [
"battery",
"cpu",
"memory",
// "disk",
"clock",
"tray"
],
// Modules configuration
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"warp-on-scroll": false,
"format": "{name}",
"persistent-workspaces": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
},
},
"hyprland/window" : {
"max-length": 40,
"seperate-outputs": false
},
"tray": {
// "icon-size": 21,
"spacing": 10
// "icons": {
// "blueman": "bluetooth",
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
// }
},
"clock": {
"format": "{:%I:%M %p}",
"format-alt": "{:%Y-%m-%d %I:%M %p}"
},
"cpu": {
"format": "CPU: {usage}%",
"tooltip": false
},
"memory": {
"format": "MEM: {used}GiB"
},
"disk": {
"interval": 60,
"path": "/",
"format": "DISK: {free} (free)"
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "BAT: {capacity}%{time}",
"format-plugged": "",
"format-alt": "Bat {capacity}%",
"format-time": "{H}:{M}",
},
"network": {
"format": "Online",
"format-disconnected": "Disconnected ⚠"
},
"custom/sep": {
"format" : " ",
"interval" : 0
=======
{
"layer": "top",
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/window"
],
"modules-right": [
"pulseaudio",
"clock",
"network",
"bluetooth",
],
"pulseaudio": {
"tooltip": false,
"scroll-step": 5,
"format": "VOL {volume}%",
"format-muted": "muted",
"format-icons": {
"default": [
"",
"",
""
]
}
},
"sway/mode": {
"format": "{mode}",
"tooltip": false
},
"privacy": {
"icon-spacing": 10,
"icon-size": 18,
"transition-duration": 250,
"tooltip": false,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
]
},
"bluetooth": {
"format": " {status}",
"format-connected": " conn",
"tooltip": true,
"tooltip-format-connected": "{device_alias}"
},
"clock": {
"format": "TIME {:%I:%M %p}",
"tooltip": true,
"tooltip-format": "{:%a, %b %d}"
},
"sway/workspaces": {
"format": "●"
},
"sway/window": {
"icon": false,
"icon-size": 20
},
"network": {
"interface": "wlo1",
"format-wifi": "NET {ipaddr}",
"format-ethernet": "NET {ipaddr}/{cidr}",
"format-disconnected": "disconnected",
"tooltip": false,
"max-length": 50
},
"battery": {
"format": "{icon}: {capacity}%",
"interval": 10,
"states": {
"warning": 20,
"critical": 10
},
"format-time": "{H}:{m}",
"format-icons": [
"",
"",
"",
"",
""
],
"format-charging": "{icon} +: {capacity}%",
"format-discharging": "{icon} -: {capacity}%",
"tooltip-format": "{power}W, {cycles} cycles"
>>>>>>> bd52954 (repush)
}
}