Remove 'X-' from de name
This commit is contained in:
parent
87589110b3
commit
dda95387de
1 changed files with 4 additions and 1 deletions
5
neofetch
5
neofetch
|
@ -775,7 +775,10 @@ getshell () {
|
|||
getde () {
|
||||
case "$os" in
|
||||
"Mac OS X") de="Aqua" ;;
|
||||
*) de="${XDG_CURRENT_DESKTOP/i3}" ;;
|
||||
*)
|
||||
de="${XDG_CURRENT_DESKTOP/i3}"
|
||||
de=${de/'X-'}
|
||||
;;
|
||||
esac
|
||||
|
||||
# TODO: Add support for all DEs that have xprop values.
|
||||
|
|
Loading…
Reference in a new issue