added compatibility with LeftWM temes
This commit is contained in:
parent
24b1281f9a
commit
c26bf9fb4a
1 changed files with 7 additions and 0 deletions
7
neofetch
7
neofetch
|
@ -2177,6 +2177,13 @@ get_wm_theme() {
|
|||
wm_theme=${wm_theme##*\\}
|
||||
wm_theme=${wm_theme%.*}
|
||||
;;
|
||||
|
||||
LeftWM*)
|
||||
if command -v leftwm-theme &> /dev/null
|
||||
then
|
||||
wm_theme=$(leftwm-theme status | grep "Your current theme" | sed -e 's/Your current theme is //g' -e 's/\,.*$//g')
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
wm_theme=$(trim_quotes "$wm_theme")
|
||||
|
|
Loading…
Reference in a new issue