Files
dotfiles/waybar/config.jsonc
2025-11-13 23:48:27 +03:00

94 lines
2.3 KiB
JSON

{
"position": "bottom",
"modules-left": ["custom/arch", "hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["hyprland/language", "battery", "temperature"],
"hyprland/language": {
"tooltip": false,
"format-ru": " RU",
"format-en": " US",
},
"custom/music": {
"format": "{icon} {text}",
"return-type": "json",
"max-length": 40,
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{title}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(artist)}} - {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
"on-click": "~/.config/eww/music/toggle_music.sh",
"format-icons": {
"Playing": "",
"Paused": ""
}
},
"cava": {
"framerate": 60,
"sleep_timer": 1,
"format_silent" : "",
"autosens": 0,
"sensitivity": 1000,
"bars": 12,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
// "hide_on_silence": true,
"method": "pulse",
"source": "auto",
"stereo": true,
"reverse": false,
"bar_delimiter": 0,
"monstercat": false,
"noise_reduction": 0.37,
"input_delay": 0,
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
"actions": {
"on-click-right": "mode",
},
},
"battery": {
"states": {
"warning": 30,
"critical": 15,
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-icons": ["", "", "", "", ""],
},
"temperature": {
"interval": 1,
"critical-threshold": 80,
"warning-threshold": 65,
"format": "{icon} {temperatureC}°C",
"format-warning": " {temperatureC}°C",
"format-critical": " {temperatureC}°C",
"format-icons": ["", "", ""],
},
"clock": {
"interval": 1,
"format": "{:%H:%M:%S}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}",
},
"hyprland/workspaces": {
"format": "{id}",
"on-click": "activate",
"all-outputs": false,
"persistent_workspaces": {
"*": 5,
},
},
"custom/arch": {
"format": "",
"tooltip": "Arch Linux",
"on-click": "hyprctl dispatch exec \"[float; center] missioncenter\"",
},
}