configs/nixos-config/home-manager/config/waybar/config.json

71 lines
1.8 KiB
JSON
Raw Permalink Normal View History

2023-05-01 17:02:33 +02:00
{
"layer": "top",
"position": "bottom",
2023-05-01 18:42:10 +02:00
"height": 25,
"spacing": 10,
2023-05-01 17:10:56 +02:00
2023-05-01 19:00:26 +02:00
"modules-left": ["wlr/workspaces", "hyprland/window", "hyprland/submap"],
2023-05-01 18:28:30 +02:00
"modules-center": ["clock"],
2023-05-01 19:32:49 +02:00
"modules-right": ["mpris", "idle_inhibitor", "battery", "tray"],
2023-05-01 17:10:56 +02:00
"wlr/workspaces": {
2023-05-01 17:17:47 +02:00
"format": "{name}: {icon}",
"format-icons": {
2023-05-01 19:03:11 +02:00
"urgent": "",
2023-05-01 19:00:26 +02:00
"active": "",
2023-05-01 17:17:47 +02:00
"default": ""
},
2023-05-01 19:00:26 +02:00
"sort-by-number": true
2023-05-01 17:10:56 +02:00
},
2023-05-01 18:50:40 +02:00
"hyprland/window": {
2023-05-01 17:29:39 +02:00
"format": "{}",
"separate-outputs": true
},
2023-05-01 19:00:26 +02:00
"hyprland/submap": {
"format": "{}",
"tooltip": false
},
2023-05-01 17:32:50 +02:00
"mpris": {
2023-05-01 17:52:22 +02:00
"format": "{status_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
2023-05-01 17:32:50 +02:00
"status-icons": {
2023-05-01 17:52:22 +02:00
"playing": "▶",
2023-05-01 17:32:50 +02:00
"paused": "⏸"
2023-05-01 20:31:03 +02:00
}
2023-05-01 17:32:50 +02:00
},
2023-05-01 17:52:22 +02:00
"battery": {
"bat": "BAT0",
"states": {
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
2023-05-01 19:12:44 +02:00
"format-charging": "{capacity}% ",
2023-05-01 17:52:22 +02:00
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""]
},
2023-05-01 18:28:30 +02:00
"clock": {
"timezone": "Europe/Zurich",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
2023-05-01 17:02:33 +02:00
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
2023-05-01 16:33:23 +02:00
}
2023-05-01 17:02:33 +02:00
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/mpris": {
"exec": "~/.scripts/polybar/player-mpris-tail.py -f '{icon} {:artist:t10:{artist}:}{:artist: - :}{:t25:{title}:}'",
"on-click": "~/.scripts/polybar/player-mpris-tail.py play-pause &",
"on-click-middle": "~/.scripts/polybar/player-mpris-tail.py next &",
"on-click-right": "~/.scripts/polybar/player-mpris-tail.py previous &"
2023-05-01 16:33:23 +02:00
}
2023-05-01 17:02:33 +02:00
}