Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

added compatibility with LeftWM temes #1963

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down