dwmblocks/dwmblocks_scripts/dwm_kernel

6 lines
103 B
Plaintext
Raw Permalink Normal View History

2022-11-09 20:00:41 +01:00
#!/bin/sh
kern="$(uname -r | sed -re 's/(^[0-9]*\.[0-9]*\.[0-9]*-[0-9]*)(.*)/\1/')"
echo -e "$kern "