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
315dfc1e
Commit
315dfc1e
authored
Jan 02, 2017
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
General: Fix spacing
parent
8bacdc2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
neofetch
neofetch
+10
-10
No files found.
neofetch
View file @
315dfc1e
...
@@ -524,7 +524,7 @@ get_shell() {
...
@@ -524,7 +524,7 @@ get_shell() {
get_de() {
get_de() {
# If function was run, stop here.
# If function was run, stop here.
((
de_run == 1
)) && return
((
de_run == 1
)) && return
case "
$os
" in
case "
$os
" in
"
Mac OS X
") de="
Aqua
" ;;
"
Mac OS X
") de="
Aqua
" ;;
...
@@ -536,7 +536,7 @@ get_de() {
...
@@ -536,7 +536,7 @@ get_de() {
;;
;;
*)
*)
((
wm_run != 1
)) && get_wm
((
wm_run != 1
)) && get_wm
if [[ "
$XDG_CURRENT_DESKTOP
" ]]; then
if [[ "
$XDG_CURRENT_DESKTOP
" ]]; then
de="
${
XDG_CURRENT_DESKTOP
/
'X-'
}
"
de="
${
XDG_CURRENT_DESKTOP
/
'X-'
}
"
...
@@ -581,7 +581,7 @@ get_de() {
...
@@ -581,7 +581,7 @@ get_de() {
get_wm() {
get_wm() {
# If function was run, stop here.
# If function was run, stop here.
((
wm_run == 1
)) && return
((
wm_run == 1
)) && return
if [[ -n "
$DISPLAY
" && "
$os
" != "
Mac OS X
" ]]; then
if [[ -n "
$DISPLAY
" && "
$os
" != "
Mac OS X
" ]]; then
id="
$(
xprop
-root
-notype
|
awk
'$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}'
)
"
id="
$(
xprop
-root
-notype
|
awk
'$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}'
)
"
...
@@ -610,8 +610,8 @@ get_wm() {
...
@@ -610,8 +610,8 @@ get_wm() {
}
}
get_wm_theme() {
get_wm_theme() {
((
wm_run != 1
)) && get_wm
((
wm_run != 1
)) && get_wm
((
de_run != 1
)) && get_de
((
de_run != 1
)) && get_de
case "
$wm
" in
case "
$wm
" in
"
E16
") wm_theme="
$(
awk
-F
"= "
'/theme.name/ {print $2}'
"
${
HOME
}
/.e16/e_config--0.0.cfg"
)
";;
"
E16
") wm_theme="
$(
awk
-F
"= "
'/theme.name/ {print $2}'
"
${
HOME
}
/.e16/e_config--0.0.cfg"
)
";;
...
@@ -1345,7 +1345,7 @@ get_style() {
...
@@ -1345,7 +1345,7 @@ get_style() {
if
[[
-
n
"
$DISPLAY
"
&&
"
$os
"
!=
"Mac OS X"
]]
;
then
if
[[
-
n
"
$DISPLAY
"
&&
"
$os
"
!=
"Mac OS X"
]]
;
then
# Get DE if user has disabled the function.
# Get DE if user has disabled the function.
((
de_run
!=
1
))
&& get_de
((
de_run
!=
1
))
&& get_de
# Check for DE Theme.
# Check for DE Theme.
case "
$de
" in
case "
$de
" in
...
@@ -1502,7 +1502,7 @@ get_font() {
...
@@ -1502,7 +1502,7 @@ get_font() {
get_term() {
get_term() {
# If function was run, stop here.
# If function was run, stop here.
((
term_run == 1
)) && return
((
term_run == 1
)) && return
# Workaround for macOS systems that
# Workaround for macOS systems that
# don't support the block below.
# don't support the block below.
...
@@ -1532,7 +1532,7 @@ get_term() {
...
@@ -1532,7 +1532,7 @@ get_term() {
}
}
get_term_font() {
get_term_font() {
((
term_run != 1
)) && get_term
((
term_run != 1
)) && get_term
case "
$term
" in
case "
$term
" in
"
urxvt
" | "
urxvtd
" | "
xterm
")
"
urxvt
" | "
urxvtd
" | "
xterm
")
...
@@ -2021,7 +2021,7 @@ get_wallpaper() {
...
@@ -2021,7 +2021,7 @@ get_wallpaper() {
case
"
$os
"
in
case
"
$os
"
in
"Linux"
|
"BSD"
|
"Solaris"
|
"MINIX"
)
"Linux"
|
"BSD"
|
"Solaris"
|
"MINIX"
)
# Get DE if user has disabled the function.
# Get DE if user has disabled the function.
((
de_run
!=
1
))
&&
get_de
((
de_run
!=
1
))
&&
get_de
case
"
$de
"
in
case
"
$de
"
in
"MATE"
*
)
image
=
"
$(
gsettings get org.mate.background picture-filename
)
"
;;
"MATE"
*
)
image
=
"
$(
gsettings get org.mate.background picture-filename
)
"
;;
...
@@ -2928,7 +2928,7 @@ get_term_padding() {
...
@@ -2928,7 +2928,7 @@ get_term_padding() {
#
#
# Note: This issue only seems to affect
# Note: This issue only seems to affect
# URxvt.
# URxvt.
((
term_run
!=
1
))
&&
get_term
((
term_run
!=
1
))
&&
get_term
case
"
$term
"
in
case
"
$term
"
in
"URxvt"
*
)
"URxvt"
*
)
...
...
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