diff options
Diffstat (limited to 'modules/graphical/polybar/module/kernel-version.nix')
| -rw-r--r-- | modules/graphical/polybar/module/kernel-version.nix | 10 |
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%"; +} |
