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
bb883183
Commit
bb883183
authored
Feb 13, 2020
by
Jeffrey Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removal of special cases for FreeMiNT color settings. Added blocking of X11 queries on FreeMiNT.
parent
29714e18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
neofetch
neofetch
+5
-6
No files found.
neofetch
View file @
bb883183
...
@@ -2828,6 +2828,10 @@ get_resolution() {
...
@@ -2828,6 +2828,10 @@ get_resolution() {
[[ "$refresh_rate" == "off" ]] && resolution="${resolution/ @*}"
[[ "$refresh_rate" == "off" ]] && resolution="${resolution/ @*}"
;;
;;
"FreeMiNT")
# Need to block X11 queries
;;
*)
*)
if type -p xrandr >/dev/null && [[ $DISPLAY && -z $WAYLAND_DISPLAY ]]; then
if type -p xrandr >/dev/null && [[ $DISPLAY && -z $WAYLAND_DISPLAY ]]; then
case $refresh_rate in
case $refresh_rate in
...
@@ -3712,10 +3716,6 @@ get_cols() {
...
@@ -3712,10 +3716,6 @@ get_cols() {
unset -v blocks blocks2 cols
unset -v blocks blocks2 cols
# TosWin2 on FreeMiNT is terrible at this,
# so we'll reset colors arbitrarily.
[[ "$term" == "TosWin2" ]] && printf '\e[30;47m'
# Tell info() that we printed manually.
# Tell info() that we printed manually.
prin=1
prin=1
}
}
...
@@ -6766,8 +6766,7 @@ EOF
...
@@ -6766,8 +6766,7 @@ EOF
;;
;;
"FreeMiNT"*)
"FreeMiNT"*)
# Don't explicitly set colors since
set_colors 7
# TosWin2 doesn't reset well.
read -rd '' ascii_data <<'EOF'
read -rd '' ascii_data <<'EOF'
${c1} ##
${c1} ##
## #########
## #########
...
...
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