Add wildcards to dix wm matching
This commit is contained in:
parent
4c54da56b7
commit
68c5fdb37e
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -816,7 +816,7 @@ getwmtheme () {
|
||||||
'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;;
|
'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;;
|
||||||
'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
|
'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
|
||||||
'Marco') wmtheme="$(gsettings get org.mate.Marco.general theme)" ;;
|
'Marco') wmtheme="$(gsettings get org.mate.Marco.general theme)" ;;
|
||||||
'Metacity') wmtheme="$(gconftool-2 -g /apps/metacity/general/theme 2>/dev/null)" ;;
|
'Metacity'*) wmtheme="$(gconftool-2 -g /apps/metacity/general/theme 2>/dev/null)" ;;
|
||||||
'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;;
|
'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;;
|
||||||
|
|
||||||
'Cinnamon' | 'Muffin')
|
'Cinnamon' | 'Muffin')
|
||||||
|
@ -853,7 +853,7 @@ getwmtheme () {
|
||||||
wmtheme="$(awk -F "/" '/styleFile/ {print $NF}' "$HOME/.fluxbox/init")"
|
wmtheme="$(awk -F "/" '/styleFile/ {print $NF}' "$HOME/.fluxbox/init")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
'IceWM')
|
'IceWM'*)
|
||||||
[ -f $HOME/.icewm/theme ] && \
|
[ -f $HOME/.icewm/theme ] && \
|
||||||
wmtheme="$(awk -F "[\",/]" '!/#/ {print $2}' "$HOME/.icewm/theme")"
|
wmtheme="$(awk -F "[\",/]" '!/#/ {print $2}' "$HOME/.icewm/theme")"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue