From 03032dc56d807f12df0f353e88b15aa6d5471cd4 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 13 Dec 2023 02:03:33 +0000 Subject: [PATCH] Add internet time for some reason --- flake.lock | 8 ++++---- system/mistmane/default.nix | 5 +++-- system/rainbowdash/default.nix | 2 ++ system/spike/default.nix | 5 +++-- system/starlight/default.nix | 7 +++++-- 5 files changed, 17 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index a930f84..a680127 100644 --- a/flake.lock +++ b/flake.lock @@ -541,11 +541,11 @@ ] }, "locked": { - "lastModified": 1702271643, - "narHash": "sha256-DJlNHXUQcyyJFJpjla+HA47ss67h1FRoma0RPklxifg=", + "lastModified": 1702417304, + "narHash": "sha256-eWi4wIw1p4eUecdoRI9GCaUO62j44xambh/FD6Ak7CM=", "ref": "refs/heads/canon", - "rev": "d0ce8573653b81e4227ddb6d2db5d03fa05d8026", - "revCount": 45, + "rev": "8e968f13e674ae7454de4d667cc73ea36cce5066", + "revCount": 47, "type": "git", "url": "https://git.mildlyfunctional.gay/mildlyfunctionalgays/rustybar.git" }, diff --git a/system/mistmane/default.nix b/system/mistmane/default.nix index 87fea86..2c0a959 100644 --- a/system/mistmane/default.nix +++ b/system/mistmane/default.nix @@ -33,11 +33,12 @@ battery = "cw2015-battery" [[tile]] type = "local_time" - format = "%Y-%m-%d %H:%M:%S %Z" + format = "%a %b %e %H:%M %Z" geoip_path = "${config.artemist.geoip}" + fallback_zone = "America/New_York" [[tile]] type = "utc_time" - format = "%Y-%m-%d %H:%M:%S UTC" + format = "%FT%TZ" ''; }; services.logind = { diff --git a/system/rainbowdash/default.nix b/system/rainbowdash/default.nix index 3ff07aa..55bc3ca 100644 --- a/system/rainbowdash/default.nix +++ b/system/rainbowdash/default.nix @@ -49,6 +49,8 @@ [[tile]] type = "battery" [[tile]] + format = "internet_time" + [[tile]] type = "local_time" format = "%Y-%m-%d %H:%M:%S %Z" geoip_path = "${config.artemist.geoip}" diff --git a/system/spike/default.nix b/system/spike/default.nix index fbae7fe..87b92a6 100644 --- a/system/spike/default.nix +++ b/system/spike/default.nix @@ -28,11 +28,12 @@ type = "battery" [[tile]] type = "local_time" - format = "%Y-%m-%d %H:%M:%S %Z" + format = "%a %b %e %H:%M %Z" geoip_path = "${config.artemist.geoip}" + fallback_zone = "America/New_York" [[tile]] type = "utc_time" - format = "%Y-%m-%d %H:%M:%S UTC" + format = "%FT%TZ" ''; wayland.windowManager.sway.config = { diff --git a/system/starlight/default.nix b/system/starlight/default.nix index 82d95a1..860a70b 100644 --- a/system/starlight/default.nix +++ b/system/starlight/default.nix @@ -118,12 +118,15 @@ [[tile]] type = "hostname" [[tile]] + type = "internet_time" + [[tile]] type = "local_time" - format = "%Y-%m-%d %H:%M:%S %Z" + format = "%a %b %e %H:%M %Z" geoip_path = "${config.artemist.geoip}" + fallback_zone = "America/New_York" [[tile]] type = "utc_time" - format = "%Y-%m-%d %H:%M:%S UTC" + format = "%FT%TZ (%s)" ''; xdg.userDirs = { music = "/media/data/Musik";