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
ca3ab8e4
Commit
ca3ab8e4
authored
Apr 02, 2016
by
Dylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Underlining now works for all the info
parent
caf507e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
1.7.md
1.7.md
+13
-0
config
config/config
+1
-1
neofetch
neofetch
+2
-2
No files found.
1.7.md
View file @
ca3ab8e4
...
@@ -22,6 +22,19 @@ prin "Subtitle: Text goes here"
...
@@ -22,6 +22,19 @@ prin "Subtitle: Text goes here"
prin
"Subtitle"
"Text goes here"
prin
"Subtitle"
"Text goes here"
```
```
**Underline**
<br
\>
-
Underlining is no longer hardcoded to title length meaning you can now<br
\>
underline any part of the output and the length will match.
-
`$underline`
was renamed to
`$underline_enabled`
.
```
sh
# OLD Variable
underline
=
"on"
# NEW Variable
underline_enabled
=
"on"
```
**Desktop Environment**
<br
\>
**Desktop Environment**
<br
\>
-
[
Linux
]
Fallback to using
`xprop`
if
`$XDG_CURRENT_DESKTOP`
is empty.
-
[
Linux
]
Fallback to using
`xprop`
if
`$XDG_CURRENT_DESKTOP`
is empty.
-
Use
`$de`
instead of
`$XDG_CURRENT_DESKTOP`
for wallpaper and theme detection.
-
Use
`$de`
instead of
`$XDG_CURRENT_DESKTOP`
for wallpaper and theme detection.
...
...
config/config
View file @
ca3ab8e4
...
@@ -229,7 +229,7 @@ bold="on"
...
@@ -229,7 +229,7 @@ bold="on"
# Enable/Disable Underline
# Enable/Disable Underline
# --underline on/off
# --underline on/off
underline
=
"on"
underline
_enabled
=
"on"
# Underline character
# Underline character
# --underline_char char
# --underline_char char
...
...
neofetch
View file @
ca3ab8e4
...
@@ -253,7 +253,7 @@ bold="on"
...
@@ -253,7 +253,7 @@ bold="on"
# Enable/Disable Underline
# Enable/Disable Underline
# --underline on/off
# --underline on/off
underline
=
"on"
underline
_enabled
=
"on"
# Underline character
# Underline character
# --underline_char char
# --underline_char char
...
@@ -2266,7 +2266,7 @@ stdout () {
...
@@ -2266,7 +2266,7 @@ stdout () {
# Underline {{{
# Underline {{{
getunderline
(
)
{
getunderline
(
)
{
case
"
$underline
"
in
case
"
$underline
_enabled
"
in
"on"
)
"on"
)
underline=
$(
printf
%
"
$length
"
s
)
underline=
$(
printf
%
"
$length
"
s
)
underline=
${
underline
// /
$underline_char
}
underline=
${
underline
// /
$underline_char
}
...
...
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