aboutsummaryrefslogtreecommitdiffstats
path: root/modules/graphical/polybar/module/kernel-version.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-07-13 03:56:55 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-07-13 03:56:55 +0530
commit3b09a24e0a5733f4fb527120a9c710f511862023 (patch)
tree1362d1608e5b5ff01dbc7f71dea04cb6b91c9aa8 /modules/graphical/polybar/module/kernel-version.nix
parent085ff668ab45ac8d57c093e502b1175a86f2c14e (diff)
downloadhome-manager-config-3b09a24e0a5733f4fb527120a9c710f511862023.tar.gz
home-manager-config-3b09a24e0a5733f4fb527120a9c710f511862023.zip
Removed unecessary junk.
Diffstat (limited to 'modules/graphical/polybar/module/kernel-version.nix')
-rw-r--r--modules/graphical/polybar/module/kernel-version.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/graphical/polybar/module/kernel-version.nix b/modules/graphical/polybar/module/kernel-version.nix
new file mode 100644
index 0000000..8f94e37
--- /dev/null
+++ b/modules/graphical/polybar/module/kernel-version.nix
@@ -0,0 +1,10 @@
+{ config }:
+
+with config.scheme.withHashtag;
+{
+ type = "custom/script";
+ exec = "uname -r";
+ interval = 1024;
+ format-prefix = "%{T2}%{F${base03}} %{F-}%{T-}";
+ label = "%output%";
+}