Files
nix-config-v2/defaults/waybar/config
T

74 lines
1.8 KiB
Plaintext
Raw Normal View History

{
"layer": "top",
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],
"modules-right": ["custom/playerctl", "custom/weather", "pulseaudio", "custom/network", "custom/ollama", "tray"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}: {icon}",
"format-icons": {
"1":"",
"2":"",
"3":"",
"4":"",
"5":"",
"6":"",
"urgent": "",
"focused": "",
"default": ""
}
},
"sway/window": {
"max-length": 50,
"tooltip": false
},
"clock": {
"format-alt": "{:%m-%d-%Y}",
"tooltip": false
},
2025-05-25 17:39:23 -04:00
"custom/weather": {
"format": "{} °",
"tooltip": true,
"interval": 3600,
"exec": "wttrbar --fahrenheit --main-indicator 'temp_F' --location 'Grand Rapids'",
"return-type": "json"
2025-05-25 17:39:23 -04:00
},
2026-10-11 23:10:30 -04:00
"custom/network": {
"format": "{text}",
"return-type": "json",
"exec": "bash $HOME/.config/waybar/network.sh",
"on-click": "bash $HOME/.config/waybar/network.sh toggle",
"interval": 5,
"tooltip": false
},
"custom/ollama": {
"format": "{text}",
"return-type": "json",
"exec": "bash $HOME/.config/waybar/ollama.sh",
"on-click": "bash $HOME/.config/waybar/ollama.sh toggle",
"interval": 2,
"tooltip": true
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"headphones": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"tooltip": false
},
"custom/playerctl": {
"format": "♬ {}",
"max-length": 40,
"interval": 5,
"exec": "playerctl metadata --format '{{ artist }} - {{ title }}'",
"tooltip": false
},
}