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
cbd6dfb8
Commit
cbd6dfb8
authored
Jan 15, 2017
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Config: Remove leftover options
parent
b6a55cf9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
30 deletions
+4
-30
config
config/config
+0
-26
neofetch
neofetch
+4
-4
No files found.
config/config
View file @
cbd6dfb8
...
@@ -701,29 +701,3 @@ scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
...
@@ -701,29 +701,3 @@ scrot_name="neofetch-$(date +%F-%I-%M-%S-${RANDOM}).png"
# NOTE: If you'd like another image host to be added to Neofetch.
# NOTE: If you'd like another image host to be added to Neofetch.
# Open an issue on github.
# Open an issue on github.
image_host
=
"teknik"
image_host
=
"teknik"
# Config Options
# Enable/Disable config file
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --config
# --config off, none
#
# Note: This option is only used when neofetch sources this config
# as a default config and NOT as a user config. Changing this in
# your user config won't actually do anything.
config
=
"on"
# Path to custom config file location
#
# Default: '${XDG_CONFIG_HOME:-${HOME}/.config}/neofetch/config'
# Values: '/path/to/config'
# Flag: --config_file
#
# Note: This option is only used when neofetch sources this config
# as a default config and NOT as a user config. Changing this in
# your user config won't actually do anything.
config_file
=
"
${
XDG_CONFIG_HOME
:-${
HOME
}
/.config
}
/neofetch/config"
neofetch
View file @
cbd6dfb8
...
@@ -1658,8 +1658,8 @@ get_term_font() {
...
@@ -1658,8 +1658,8 @@ get_term_font() {
;;
;;
"
termite
")
"
termite
")
[[ -f "
${
XDG_CONFIG_HOME
}
/termite/config
" ]] &&
config_file
="
${
XDG_CONFIG_HOME
}
/termite/config
"
[[ -f "
${
XDG_CONFIG_HOME
}
/termite/config
" ]] &&
termite_config
="
${
XDG_CONFIG_HOME
}
/termite/config
"
term_font="
$(
awk
-F
'= '
'/\[options\]/ {opt=1} /^font/ {if(opt==1) a=$2; opt=0} END{print a}'
"/etc/xdg/termite/config"
"
$
config_file
"
)
"
term_font="
$(
awk
-F
'= '
'/\[options\]/ {opt=1} /^font/ {if(opt==1) a=$2; opt=0} END{print a}'
"/etc/xdg/termite/config"
"
$
termite_config
"
)
"
;;
;;
"
urxvt
" | "
urxvtd
" | "
rxvt-unicode
" | "
xterm
")
"
urxvt
" | "
urxvtd
" | "
rxvt-unicode
" | "
xterm
")
...
@@ -3979,8 +3979,8 @@ get_args() {
...
@@ -3979,8 +3979,8 @@ get_args() {
# Other
# Other
"--config"
)
"--config"
)
case
"
$2
"
in
case
"
$2
"
in
"none"
|
"off"
|
""
)
config
=
"off"
;;
"none"
|
"off"
|
""
)
;;
*
)
config_file
=
"
$2
"
;
config
=
"on"
;
get_user_config 2>/dev/null
;;
*
)
config_file
=
"
$2
"
;
get_user_config 2>/dev/null
;;
esac
esac
;;
;;
"-v"
)
verbose
=
"on"
;;
"-v"
)
verbose
=
"on"
;;
...
...
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