Compare commits

..

No commits in common. "cd42f1160007c2430ce30566607c7dc6e5eb4ceb" and "b4ee2a5380cb8d11d3a7d22b64f1b91c9e1f2e37" have entirely different histories.

3 changed files with 4 additions and 20 deletions

View file

@ -51,11 +51,11 @@
} }
}, },
"tray": { "tray": {
"icon-size": 24, // "icon-size": 21,
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
"format": "{:%a %b %d %H:%M}", "format": "{:%a %b %H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}"
}, },

View file

@ -1,7 +1,6 @@
* { * {
/* `otf-font-awesome` is required to be installed for icons */ /* `otf-font-awesome` is required to be installed for icons */
font-family: Inter, FontAwesome; font-family: Inter, FontAwesome;
font-weight: 500;
font-size: 16px; font-size: 16px;
} }

View file

@ -2,7 +2,6 @@
. ~/.profile . ~/.profile
dconf_color_path=/org/gnome/desktop/interface/color-scheme dconf_color_path=/org/gnome/desktop/interface/color-scheme
dconf_message_path=/org/gnome/shell/extensions/simple-message/message
switch_helix() { switch_helix() {
sed -i 's/theme = ".*"/theme = "'$1'"/' ~/.config/helix/config.toml sed -i 's/theme = ".*"/theme = "'$1'"/' ~/.config/helix/config.toml
@ -29,23 +28,9 @@ switch_from_dconf() {
switch_from_dconf "$(dconf read "$dconf_color_path")" switch_from_dconf "$(dconf read "$dconf_color_path")"
(dconf watch "$dconf_color_path" | while read -r line; do dconf watch "$dconf_color_path" | while read -r line; do
theme="$(echo "$line" | grep -E "'.*'" | sed "s/'//g")" theme="$(echo "$line" | grep -E "'.*'" | sed "s/'//g")"
test -z "$theme" && continue test -z "$theme" && continue
switch_from_dconf "$theme" switch_from_dconf "$theme"
done) &
update_zeit() {
dconf write "$dconf_message_path" "'$(zeit tracking --no-colors)'"
echo updated zeit
}
update_zeit
(busybox inotifyd - "$ZEIT_DB":c | while read -r; do
update_zeit
done) &
while true; do
sleep 30
update_zeit
done done