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
8db5f2cb
Commit
8db5f2cb
authored
Oct 17, 2016
by
Dylan Araps
Committed by
GitHub
Oct 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #374 from dylanaraps/winwmtheme
wmtheme: Add support for Blackbox
parents
2351d7e4
14bba15f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
neofetch
neofetch
+10
-1
No files found.
neofetch
View file @
8db5f2cb
...
...
@@ -656,7 +656,7 @@ getwmtheme() {
fi
;;
'Explorer'
)
'Explorer'
|
'Bugn'
|
'Windawesome'
|
'Emerge'
|
'Litestep'
)
path=
"/proc/registry/HKEY_CURRENT_USER/Software/Microsoft"
path+=
"/Windows/CurrentVersion/Themes/CurrentTheme"
...
...
@@ -665,6 +665,15 @@ getwmtheme() {
wmtheme=
"
${
wmtheme
%.*
}
"
;;
'Blackbox'
)
path=
"
$(
wmic process get ExecutablePath |
grep
"blackbox"
)
"
path=
"
${
path
//
'\'
/
'/'
}
"
wmtheme=
"
$(
grep
"^session
\.
styleFile:"
${
path
/\.exe/.rc
})
"
wmtheme=
"
${
wmtheme
/
'session.styleFile: '
}
"
wmtheme=
"
${
wmtheme
##*\\
}
"
wmtheme=
"
${
wmtheme
%.*
}
"
;;
esac
wmtheme=
"
${
wmtheme
//\
'}"
...
...
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