128 lines
4 KiB
JSON
128 lines
4 KiB
JSON
|
{
|
||
|
"sway/mode": {
|
||
|
"format": "<span style='italic'>{}</span>"
|
||
|
},
|
||
|
"sway/workspaces": {
|
||
|
"format": "{name}",
|
||
|
"disable-scroll": true
|
||
|
},
|
||
|
"sway/window": {
|
||
|
"max-length": 128,
|
||
|
"tooltip": false,
|
||
|
"icon": true,
|
||
|
"icon-size": 22,
|
||
|
"align": 0.5,
|
||
|
"all-outputs": true,
|
||
|
"rewrite": {
|
||
|
"(.*) — Mozilla Firefox": "$1",
|
||
|
"(.*) — LibreWolf": "$1"
|
||
|
}
|
||
|
},
|
||
|
"clock": {
|
||
|
"format": " {:%H:%M} ",
|
||
|
"tooltip": true,
|
||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||
|
"calendar": {
|
||
|
"weeks-pos": "left",
|
||
|
"mode-mon-col" : 3,
|
||
|
"on-scroll" : 1,
|
||
|
"format": {
|
||
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
||
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
||
|
}
|
||
|
},
|
||
|
"actions": {
|
||
|
"on-click-right": "mode",
|
||
|
"on-scroll-up": "shift_up",
|
||
|
"on-scroll-down": "shift_down"
|
||
|
}
|
||
|
},
|
||
|
"custom/advancedcpu": {
|
||
|
"exec": "$HOME/.config/waybar/modules/advancedcpu.py 2> /dev/null",
|
||
|
"return-type": "json",
|
||
|
"format": "{}",
|
||
|
"tooltip": "{tooltip}",
|
||
|
"on-click": "swaymsg '[title=\"stats\" app_id=\"kitty\"] focus' || kitty -o font_size=10 --detach --title stats --session ~/.config/kitty/session_monitoring.conf && sleep 0.75 ; swaymsg '[title=\"stats\" app_id=\"kitty\"] focus'"
|
||
|
},
|
||
|
"custom/gpustats": {
|
||
|
"exec": "$HOME/.config/waybar/modules/gpustats_async.py -i 1 2> /dev/null",
|
||
|
"return-type": "json",
|
||
|
"format": "{}",
|
||
|
"tooltip": "{tooltip}",
|
||
|
"on-click": "swaymsg '[title=\"stats\" app_id=\"kitty\"] focus' || kitty -o font_size=10 --detach --title stats --session ~/.config/kitty/session_monitoring.conf && sleep 0.75 ; swaymsg '[title=\"stats\" app_id=\"kitty\"] focus'"
|
||
|
},
|
||
|
"custom/media": {
|
||
|
"exec": "$HOME/.config/waybar/modules/mediaplayer.py 2> /dev/null",
|
||
|
"return-type": "json",
|
||
|
"format": "🎜 {}",
|
||
|
"tooltip": "{tooltip}",
|
||
|
"escape": true,
|
||
|
"max-length": 50
|
||
|
},
|
||
|
"custom/weather": {
|
||
|
"exec": "$HOME/.config/waybar/modules/weather.py 2> /dev/null",
|
||
|
"format": "{}",
|
||
|
"format-alt": "{alt}",
|
||
|
"escape": true,
|
||
|
"return-type": "json"
|
||
|
},
|
||
|
"custom/arrayhealth": {
|
||
|
"exec": "$HOME/.config/waybar/modules/arrayhealth.py 2> /dev/null",
|
||
|
"format": "{}",
|
||
|
"escape": true,
|
||
|
"return-type": "json"
|
||
|
},
|
||
|
"tray": {
|
||
|
"icon-size": 22,
|
||
|
"show-passive-items": true,
|
||
|
"spacing": 4
|
||
|
},
|
||
|
"cpu": {
|
||
|
"interval": 2,
|
||
|
"format": "cpu {usage}% | {avg_frequency:3}Ghz",
|
||
|
"states": {
|
||
|
"warning": 50,
|
||
|
"critical": 85
|
||
|
},
|
||
|
"on-click": "gnome-system-monitor --show-resources-tab"
|
||
|
},
|
||
|
"memory": {
|
||
|
"interval": 15,
|
||
|
"format": "mem {percentage}% | {used:0.1f}/{total:0.1f}G",
|
||
|
"on-click": "gnome-system-monitor --show-resources-tab"
|
||
|
},
|
||
|
"idle_inhibitor": {
|
||
|
"format": "{icon}",
|
||
|
"tooltip-format-activated": "idle inhibitor: {status}",
|
||
|
"tooltip-format-deactivated": "idle inhibitor: {status}",
|
||
|
"format-icons": {
|
||
|
"activated": "",
|
||
|
"deactivated": ""
|
||
|
}
|
||
|
},
|
||
|
"cava": {
|
||
|
"framerate": 60,
|
||
|
"autosens": 1,
|
||
|
"sensitivity": 100,
|
||
|
"bars": 14,
|
||
|
"lower_cutoff_freq": 50,
|
||
|
"higher_cutoff_freq": 10000,
|
||
|
"method": "pulse",
|
||
|
"source": "auto",
|
||
|
"stereo": true,
|
||
|
"reverse": false,
|
||
|
"bar_delimiter": 0,
|
||
|
"monstercat": false,
|
||
|
"waves": false,
|
||
|
"noise_reduction": 0.77,
|
||
|
"input_delay": 2,
|
||
|
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
|
||
|
"actions": {
|
||
|
"on-click-right": "mode"
|
||
|
}
|
||
|
}
|
||
|
}
|