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
836197fc
Commit
836197fc
authored
May 03, 2019
by
edward-p
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make some changes
parent
6f1ae617
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
neofetch
neofetch
+3
-7
No files found.
neofetch
View file @
836197fc
...
@@ -2684,12 +2684,8 @@ get_style() {
...
@@ -2684,12 +2684,8 @@ get_style() {
# Check for general GTK2 Theme.
# Check for general GTK2 Theme.
if [[ -z "$gtk2_theme" ]]; then
if [[ -z "$gtk2_theme" ]]; then
if [[ -n "${GTK2_RC_FILES}" ]]; then
if [[ -n "${GTK2_RC_FILES}" ]]; then
for gtkrc in ${GTK2_RC_FILES//:/ }; do
IFS=: read -ra rc_files <<< "$GTK2_RC_FILES"
_gtk2_theme="$(grep "^[^#]*${name}" "${gtkrc}")"
gtk2_theme="$(grep "^[^#]*${name}" "${rc_files[@]}")"
[[ -n "${_gtk2_theme}" ]] && gtk2_theme="${_gtk2_theme}"
done
unset _gtk2_theme
elif [[ -f "${HOME}/.gtkrc-2.0" ]]; then
elif [[ -f "${HOME}/.gtkrc-2.0" ]]; then
gtk2_theme="$(grep "^[^#]*${name}" "${HOME}/.gtkrc-2.0")"
gtk2_theme="$(grep "^[^#]*${name}" "${HOME}/.gtkrc-2.0")"
...
@@ -2701,7 +2697,7 @@ get_style() {
...
@@ -2701,7 +2697,7 @@ get_style() {
fi
fi
gtk2_theme="${gtk2_theme/${name}*=}"
gtk2_theme="${gtk2_theme/
*
${name}*=}"
fi
fi
# Check for general GTK3 Theme.
# Check for general GTK3 Theme.
...
...
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