Long time, no commit, big ol' changes though
This commit is contained in:
parent
3c9e2c3279
commit
501f1f4066
19 changed files with 271 additions and 352 deletions
17
config/polybar/linuxmismatch
Executable file
17
config/polybar/linuxmismatch
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if ! which pacman &> /dev/null
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
packageVersion=$(pacman -Q linux | cut -d' ' -f2)
|
||||
runningVersion=$(uname -r)
|
||||
|
||||
if echo "$runningVersion" | grep "^$packageVersion" &> /dev/null
|
||||
then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue