aboutsummaryrefslogtreecommitdiffstats
path: root/polybar/modules/kernel-version.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-17 10:12:18 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-17 10:12:18 +0530
commitcbd5b66b89fba2ad23a9da7372cf916305efad1f (patch)
tree0a5580244e3fe87b05c581681e558925d0635ad7 /polybar/modules/kernel-version.nix
downloadhome-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.tar.gz
home-manager-config-cbd5b66b89fba2ad23a9da7372cf916305efad1f.zip
Initial commit.
Diffstat (limited to 'polybar/modules/kernel-version.nix')
-rw-r--r--polybar/modules/kernel-version.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/polybar/modules/kernel-version.nix b/polybar/modules/kernel-version.nix
new file mode 100644
index 0000000..d858617
--- /dev/null
+++ b/polybar/modules/kernel-version.nix
@@ -0,0 +1,10 @@
+config:
+
+with config.lib.stylix.colors.withHashtag;
+{
+ type = "custom/script";
+ exec = "uname -r";
+ interval = 1024;
+ format-prefix = "%{F${base03}} %{F-}";
+ label = "%output%";
+}