add: ollama waybar integration, modified cloud config to add ollama systemd service

This commit is contained in:
2026-10-18 18:28:30 -04:00
parent 81cec030dc
commit 9ab3fb373a
5 changed files with 48 additions and 2 deletions
+9 -1
View File
@@ -2,7 +2,7 @@
"layer": "top",
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],
"modules-right": ["custom/playerctl", "custom/weather", "pulseaudio", "custom/network", "tray"],
"modules-right": ["custom/playerctl", "custom/weather", "pulseaudio", "custom/network", "custom/ollama", "tray"],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
@@ -42,6 +42,14 @@
"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}%",