// -*- mode: jsonc -*-
{
"output": [
"eDP-1",
"HDMI-A-1"
],
"height": 30,
"margin-left": 5,
"margin-right": 5,
"margin-top": 5,
"spacing": 0,
"reload_style_on_change": true,
"modules-left": [
"mpd"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"pulseaudio",
"pulseaudio/slider",
"battery",
"network",
"clock"
],
"tray": {
"icon-size": 18,
"spacing": 10,
"icons": {
"blueman": "bluetooth",
"TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
}
},
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"active-only": true,
"warp-on-scroll": false,
"persistent-workspaces": {
"eDP-1": [1,2,3,4,5,6,7,8,9],
"HDMI-A-1": [10,11,12],
"IGNORED": [13,14]
},
"ignore-workspaces": [
"*13",
"*14"
],
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
"7": "",
"8": "",
"9": "",
"10": "",
"11": "",
"12": "",
"default": ""
}
},
"mpd": {
"password": "kapuchinamusica",
"artist-len": 30,
"title-len": 50,
"unknown-tag": "n/a",
"format": "{stateIcon} {titleSmart}",
"interval": 1,
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)",
"format-stopped": " Stopping player...",
"on-click": "mpc toggle --password kapuchinamusica"
},
"clock": {
"timezone": "Europe/Moscow",
"interval": 5,
"tooltip-format": "{:%A ( %B %d )}\n{calendar}",
"format": "{:%H:%M}",
"format-alt": "{:%H:%M %d.%m.%Y}",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"weeks-pos": "right",
"format": {
"months": "{}",
"days": "{}",
"weeks": "W{}",
"weekdays": "{}",
"today": "{}"
}
},
"actions": {
"on-click-right": "mode"
}
},
"battery": {
"full-at": 98,
"states": {
"good": 85,
"warning": 30,
"critical": 18
},
"format": "{icon}",
"format-full": "",
"format-charging": "{icon}",
"format-plugged": "{icon}",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-icons": ["", "", "", "", "", "", "", "", ""],
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}",
"on-click": "gnome-power-statistics"
},
"network": {
"format-wifi": "{icon}",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
"format-icons": [
"", "", "", "", ""
],
"on-click": "kitty nmtui-connect"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{format_source} ",
"format-muted": "{format_source} ",
"format-bluetooth": "{format_source} ",
"format-bluetooth-muted": "{format_source} ",
"format-source": "",
"format-source-muted": "",
"on-click": "pwvucontrol"
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
"orientation": "horizontal"
},
"custom/separator_invisible": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/pomodoro": {
"format": "{}",
"return-type": "json",
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 -p '' -a '' --autob",
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
}
}