Initial commit: headless Common Lisp Nextcloud sync client and Waybar widget

This commit is contained in:
venomade committed 2026-11-23 01:35:34 +00:00
commit e5c0f60122
25 files changed
+4293

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// Add "custom/nextcloud" to your "modules-right" array in ~/.config/waybar/config,
// e.g.:
// "modules-right": ["custom/player", "custom/nextcloud", "custom/bright", "custom/net", "custom/vol", "custom/bat", "custom/bt", "clock"],
"custom/nextcloud": {
"exec": "~/.local/bin/nextcloud-niri waybar",
"return-type": "json",
"markup": "pango",
"tooltip": true,
"interval": 30,
"signal": 7,
"on-click": "~/.local/bin/nextcloud-niri sync",
"on-click-right": "~/.local/bin/nextcloud-niri toggle"
}
+25
View File
@@ -0,0 +1,25 @@
/* Add to ~/.config/waybar/style.css (matches olivtsi base16 palette) */
#custom-nextcloud {
padding: 0 10px;
color: #c2c7b3;
}
#custom-nextcloud.synced {
color: #c2c7b3;
}
#custom-nextcloud.unsynced,
#custom-nextcloud.syncing {
color: #de9d5f;
}
#custom-nextcloud.error {
color: #cc7066;
font-weight: bold;
}
#custom-nextcloud.paused,
#custom-nextcloud.off {
color: #7a806f;
}