Remove 'X-' from de name
This commit is contained in:
parent
87589110b3
commit
dda95387de
5
neofetch
5
neofetch
|
@ -775,7 +775,10 @@ getshell () {
|
||||||
getde () {
|
getde () {
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Mac OS X") de="Aqua" ;;
|
"Mac OS X") de="Aqua" ;;
|
||||||
*) de="${XDG_CURRENT_DESKTOP/i3}" ;;
|
*)
|
||||||
|
de="${XDG_CURRENT_DESKTOP/i3}"
|
||||||
|
de=${de/'X-'}
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# TODO: Add support for all DEs that have xprop values.
|
# TODO: Add support for all DEs that have xprop values.
|
||||||
|
|
Reference in New Issue