Added an icon to the calendar widget in the bar. (#181)

* Added an icon to the calendar widget in the bar.

* Updated themes for calendar icon.
This commit is contained in:
Jas Singh
2024-08-24 23:52:33 -07:00
committed by GitHub
parent bc08692317
commit b080d6b00d
22 changed files with 143 additions and 40 deletions

View File

@@ -0,0 +1,15 @@
import options from "options";
const { showIcon, showTime } = options.bar.clock;
showIcon.connect("changed", () => {
if (!showTime.value && !showIcon.value) {
showTime.value = true;
}
});
showTime.connect("changed", () => {
if (!showTime.value && !showIcon.value) {
showIcon.value = true;
}
});