Better approach
This commit is contained in:
parent
3f3487764c
commit
dda8d6cb20
1 changed files with 4 additions and 9 deletions
13
neofetch
13
neofetch
|
@ -810,18 +810,13 @@ getwm () {
|
||||||
# Window Manager Theme {{{
|
# Window Manager Theme {{{
|
||||||
|
|
||||||
getwmtheme () {
|
getwmtheme () {
|
||||||
case "$os" in
|
[ -z "$wm" ] && getwm
|
||||||
"Linux" | *"BSD")
|
|
||||||
|
case "$wm" in
|
||||||
|
'2bwm')
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X")
|
|
||||||
|
|
||||||
;;
|
|
||||||
|
|
||||||
"Windows")
|
|
||||||
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue