waybar configs

This commit is contained in:
2026-05-01 14:59:59 +03:00
parent fc9362f926
commit 23287871f8
4 changed files with 359 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
// -*- mode: jsonc -*-
{
"layer": "top",
"position": "top",
"height": 30,
"width": "auto",
"spacing": 4,
"modules-left": [
"hyprland/workspaces"
],
"modules-right": [
"custom/spotify",
"tray",
"hyprland/language",
"network",
"wireplumber",
"clock"
],
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"warp-on-scroll": false,
"format": "{icon}",
"format-icons": {
"1": "󰞷",
"2": "󰈹",
"3": "󰅴",
"4": "󰓇",
"5": "󰍡",
"urgent": "",
"focused": "",
"default": "󰧞"
}
},
"tray": {
// "icon-size": 20,
"spacing": 10,
// "icons": {
// "blueman": "bluetooth",
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
// }
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%d.%m.%Y}"
},
"hyprland/language": {
"format-en": "EN",
"format-ru": "RU"
},
"network": {
"format-wifi": "󰖩",
"format-ethernet": "󰌘",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "󰌙",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"wireplumber": {
"max-volume": 100,
""
"scroll-step": 2,
"format": "{icon} {volume}%",
"format-muted": "󰝟",
"format-icons": ["󰕿", "󰖀", "󰕾"],
"on-click": "helvum"
},
"custom/spotify": {
"exec": "/usr/bin/python3 ~/.config/waybar/mediaplayer.py --player spotify",
"format": "{}",
"return-type": "json",
"on-click": "playerctl --player=spotify play-pause",
"on-scroll-up": "playerctl previous",
"on-scroll-down": "playerctl next",
"smooth-scrolling-threshold": 4.0
}
}