2021-05-30 19:10:28 +00:00
|
|
|
{
|
2021-07-20 20:08:51 +00:00
|
|
|
"layer": "top", // Waybar at top layer
|
|
|
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
2021-05-30 19:10:28 +00:00
|
|
|
|
2021-07-20 20:08:51 +00:00
|
|
|
"height": 26, // Waybar height
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
2023-05-05 16:39:35 +00:00
|
|
|
"modules-center": ["network"],
|
2022-05-05 23:43:31 +00:00
|
|
|
"modules-right": [
|
|
|
|
"sway/language",
|
|
|
|
"pulseaudio",
|
|
|
|
"idle_inhibitor",
|
2024-04-22 12:31:16 +00:00
|
|
|
"backlight",
|
2022-05-05 23:43:31 +00:00
|
|
|
"battery",
|
|
|
|
"clock",
|
|
|
|
"tray"
|
|
|
|
],
|
2021-07-20 20:08:51 +00:00
|
|
|
"sway/workspaces": {
|
|
|
|
"disable-scroll": true
|
|
|
|
},
|
|
|
|
"sway/mode": {
|
|
|
|
"tooltip": false,
|
|
|
|
"format": "{}"
|
|
|
|
},
|
|
|
|
"sway/window": {
|
|
|
|
"tooltip": false,
|
|
|
|
"max-length": 96
|
|
|
|
},
|
|
|
|
"sway/language": {
|
|
|
|
"format": "{}",
|
|
|
|
"max-length": 50
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"icon-size": 21,
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"clock": {
|
2023-02-28 12:59:38 +00:00
|
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
2023-03-16 10:50:03 +00:00
|
|
|
"format": "{:%H:%M} ",
|
2024-02-02 22:26:32 +00:00
|
|
|
//"format-alt": "{:%a %d. %h %H:%M} ",
|
2023-02-28 12:59:38 +00:00
|
|
|
//"on-scroll": {
|
|
|
|
// "calendar": 1
|
|
|
|
//}
|
2024-02-02 22:26:32 +00:00
|
|
|
"format-alt": "{:%A, %d. %B %Y %R} ",
|
|
|
|
"locale": "de_DE.UTF-8",
|
2023-11-23 21:49:34 +00:00
|
|
|
"smooth-scrolling-threshold": 1.0,
|
2023-02-28 12:59:38 +00:00
|
|
|
"calendar": {
|
|
|
|
"mode-mon-col" : 3,
|
|
|
|
"on-scroll": -1,
|
|
|
|
"on-click-right": "mode",
|
|
|
|
"format": {
|
|
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
|
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
|
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
|
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
|
|
|
},
|
|
|
|
},
|
2023-03-07 00:07:29 +00:00
|
|
|
"actions": {
|
|
|
|
"on-click-right": "mode",
|
|
|
|
"on-click-forward": "tz_up",
|
|
|
|
"on-click-backward": "tz_down",
|
|
|
|
"on-scroll-up": "shift_up",
|
|
|
|
"on-scroll-down": "shift_down"
|
|
|
|
}
|
2021-07-20 20:08:51 +00:00
|
|
|
},
|
|
|
|
"backlight": {
|
2023-05-05 16:35:39 +00:00
|
|
|
"device": "acpi_video0",
|
2024-04-22 12:31:16 +00:00
|
|
|
"format": "<span font='10'>{percent}%</span> {icon}",
|
2021-07-20 20:08:51 +00:00
|
|
|
"format-icons": ["", ""]
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "{}% "
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": "{}% "
|
|
|
|
},
|
|
|
|
"idle_inhibitor": {
|
2022-09-20 14:15:33 +00:00
|
|
|
"format": "{icon} ",
|
2021-07-20 20:08:51 +00:00
|
|
|
"format-icons": {
|
|
|
|
"activated": "",
|
|
|
|
"deactivated": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"tooltip": false,
|
|
|
|
"states": {
|
|
|
|
"critical": 25
|
|
|
|
},
|
|
|
|
//"full-at": 84,
|
2022-09-20 14:15:33 +00:00
|
|
|
"format": "{icon}<span font='10'> {capacity}%</span>",
|
|
|
|
"format-full": "{icon}",
|
2021-07-20 20:08:51 +00:00
|
|
|
"format-icons": ["", "", "", "", ""],
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"interval": 3,
|
|
|
|
"tooltip": true,
|
2022-11-20 22:16:12 +00:00
|
|
|
//"interface": "wlp4s0", // (Optional) To force the use of this interface \uF2E7,
|
2021-07-20 20:08:51 +00:00
|
|
|
"format-wifi": "<span font='10'></span> \uf062 {bandwidthUpBits} | \uf063 {bandwidthDownBits}",
|
|
|
|
"format-ethernet": "<span font='10'></span> \uf062 {bandwidthUpBits} | \uf063 {bandwidthDownBits}",
|
|
|
|
"format-disconnected": "",
|
|
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) {ipaddr}",
|
|
|
|
"tooltip-format-ethernet": "{ifname} {ipaddr}"
|
|
|
|
},
|
|
|
|
//\ue04f{volume}%
|
|
|
|
"pulseaudio": {
|
|
|
|
"tooltip": false,
|
2022-09-20 14:15:33 +00:00
|
|
|
"format": "<span font='10'>{volume}%</span> {icon}",
|
2024-04-22 12:31:16 +00:00
|
|
|
"format-bluetooth": "{volume}%<span font='10'> {icon}</span>",
|
2021-07-20 20:08:51 +00:00
|
|
|
"format-muted": "",
|
|
|
|
"on-click": "pavucontrol",
|
|
|
|
"format-alt": "{volume}% <span font='10'>{icon}</span>",
|
|
|
|
"format-icons": {
|
|
|
|
"headphones": "",
|
|
|
|
"handsfree": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["","", ""]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mpd": {
|
|
|
|
"format": "{artist} - {title} <span color=\"#999999\">[<span color=\"#ffffff\">{elapsedTime:%M:%S}</span> / {totalTime:%M:%S}]</span>",
|
|
|
|
"format-disconnected": "",
|
|
|
|
"format-stopped": "",
|
|
|
|
"interval": 1,
|
|
|
|
"state-icons": {
|
|
|
|
"paused": "",
|
|
|
|
"playing": ""
|
2021-05-30 19:10:28 +00:00
|
|
|
},
|
2021-07-20 20:08:51 +00:00
|
|
|
"tooltip-format": "MPD (connected)",
|
|
|
|
"tooltip-format-disconnected": "MPD (disconnected)"
|
2022-05-05 23:43:31 +00:00
|
|
|
},
|
|
|
|
"custom/notification": {
|
|
|
|
"tooltip": false,
|
|
|
|
"format": " {icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"none": "",
|
|
|
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
|
"dnd-none": ""
|
|
|
|
},
|
|
|
|
"return-type": "json",
|
|
|
|
"exec-if": "which swaync-client",
|
|
|
|
"exec": "swaync-client -swb",
|
|
|
|
"on-click": "swaync-client -t -sw",
|
|
|
|
"on-click-right": "swaync-client -d -sw",
|
|
|
|
"escape": true
|
|
|
|
},
|
2021-05-30 19:10:28 +00:00
|
|
|
}
|