[PR] dylanaraps/neofetch#1963 from blackdragon2447 - added compatibility with LeftWM temes
Upstream PR: https://github.com/dylanaraps/neofetch/pull/1963 Thanks to @blackdragon2447 Co-authored-by: blackdragon2447 <blackdragon2447@e.email>
This commit is contained in:
commit
783a006abf
1 changed files with 7 additions and 0 deletions
7
neofetch
7
neofetch
|
@ -2443,6 +2443,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