dwmblocks/dwmblocks_scripts/dwm_kernel
2022-11-09 20:00:41 +01:00

6 lines
103 B
Bash
Executable File

#!/bin/sh
kern="$(uname -r | sed -re 's/(^[0-9]*\.[0-9]*\.[0-9]*-[0-9]*)(.*)/\1/')"
echo -e "$kern "