Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
cc491fc5
Unverified
Commit
cc491fc5
authored
Jul 22, 2019
by
Carl Schwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move check plasma >= 4 after de to KDE and revert some change
parent
11dfe8d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
neofetch
neofetch
+4
-5
No files found.
neofetch
View file @
cc491fc5
...
@@ -1530,10 +1530,6 @@ get_de() {
...
@@ -1530,10 +1530,6 @@ get_de() {
de="Trinity"
de="Trinity"
fi
fi
if [ "$KDE_SESSION_VERSION" -ge "4" ]; then
de="${de/KDE/Plasma}"
fi
# When a window manager is started from a display manager
# When a window manager is started from a display manager
# the desktop variables are sometimes also set to the
# the desktop variables are sometimes also set to the
# window manager name. This checks to see if WM == DE
# window manager name. This checks to see if WM == DE
...
@@ -1548,7 +1544,7 @@ get_de() {
...
@@ -1548,7 +1544,7 @@ get_de() {
# Format strings.
# Format strings.
case "$de" in
case "$de" in
"KDE_SESSION_VERSION"*) de="
Plasma
${de/* = }" ;;
"KDE_SESSION_VERSION"*) de="
KDE
${de/* = }" ;;
*"xfce4"*) de="Xfce4" ;;
*"xfce4"*) de="Xfce4" ;;
*"xfce5"*) de="Xfce5" ;;
*"xfce5"*) de="Xfce5" ;;
*"xfce"*) de="Xfce" ;;
*"xfce"*) de="Xfce" ;;
...
@@ -1564,6 +1560,9 @@ get_de() {
...
@@ -1564,6 +1560,9 @@ get_de() {
;;
;;
esac
esac
if [ "$KDE_SESSION_VERSION" -ge "4" ]; then
de="${de/KDE/Plasma}"
fi
# Log that the function was run.
# Log that the function was run.
de_run=1
de_run=1
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment