Skip to content

Commit 783a006

Browse files
[PR] dylanaraps/neofetch#1963 from blackdragon2447 - added compatibility with LeftWM temes
Upstream PR: dylanaraps/neofetch#1963 Thanks to @blackdragon2447 Co-authored-by: blackdragon2447 <[email protected]>
2 parents b0b4ef9 + c26bf9f commit 783a006

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

neofetch

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,6 +2443,13 @@ get_wm_theme() {
24432443
wm_theme=${wm_theme##*\\}
24442444
wm_theme=${wm_theme%.*}
24452445
;;
2446+
2447+
LeftWM*)
2448+
if command -v leftwm-theme &> /dev/null
2449+
then
2450+
wm_theme=$(leftwm-theme status | grep "Your current theme" | sed -e 's/Your current theme is //g' -e 's/\,.*$//g')
2451+
fi
2452+
;;
24462453
esac
24472454

24482455
wm_theme=$(trim_quotes "$wm_theme")

0 commit comments

Comments
 (0)