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
aaabb9c3
Commit
aaabb9c3
authored
Dec 22, 2017
by
Dylan Araps
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:dylanaraps/neofetch
parents
6e20dfe7
2e538458
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
19 deletions
+83
-19
CHANGELOG.md
CHANGELOG.md
+53
-4
neofetch
neofetch
+30
-15
No files found.
CHANGELOG.md
View file @
aaabb9c3
...
@@ -14,25 +14,62 @@
...
@@ -14,25 +14,62 @@
-
Fixed detection bug with TrueOS.
[
**@dawidd6**
](
https://github.com/dawidd6
)
-
Fixed detection bug with TrueOS.
[
**@dawidd6**
](
https://github.com/dawidd6
)
-
Added support for macOS High Sierra.
[
**@yslgirl**
](
https://github.com/yslgirl
)
-
Added support for macOS High Sierra.
[
**@yslgirl**
](
https://github.com/yslgirl
)
-
Added support for Container Linux by CoreOS.
[
**@chrisweeksnz**
](
https://github.com/chrisweeksnz
)
-
Added support for Container Linux by CoreOS.
[
**@chrisweeksnz**
](
https://github.com/chrisweeksnz
)
-
Added support for 2017 iOS devices
[
**@iandrewt**
](
https://github.com/iandrewt
)
-
Added support for 2017 iOS devices
.
[
**@iandrewt**
](
https://github.com/iandrewt
)
-
Added support for LEDE.
[
**@dawidd6**
](
https://github.com/dawidd6
)
-
Added support for LEDE.
[
**@dawidd6**
](
https://github.com/dawidd6
)
-
Added support for Pop!
\_
OS.
[
**@jliles**
](
https://github.com/jliles
)
-
Added support for Lunar Linux.
## Images
## General
-
Added more info to verbose mode for debugging.
-
Fixed bug in prompt location calculation.
## Ascii
-
Added color updates for Kubuntu logo.
**Maulik Mistry**
-
[
MacOS/iTerm2
]
Fixed thumbnail not appearing (replaced by placeholder)
[
**@StarryTony**
](
https://github.com/StarryTony
)
## Images
-
[
MacOS/iTerm2
]
Fixed thumbnail not appearing.
[
**@StarryTony**
](
https://github.com/StarryTony
)
-
Fixed bug with getting wallpaper from feh.
-
Added
`pixterm`
backend.
## Info
## Info
**Desktop Environment**
-
Added GNOME version.
**Window Manager**
**Window Manager**
-
[
macOS
]
Fixed chunkwm being detected as Kwm.
[
**@iandrewt**
](
https://github.com/iandrewt
)
-
Added support for most (
*if not all*
) current Wayland compositors/window manager's.
-
[
macOS
]
Fixed
`chunkwm`
being detected as
`Kwm`
.
[
**@iandrewt**
](
https://github.com/iandrewt
)
**Window Manager Theme**
-
Fixed
`sawfish`
detection.
**Install Date**
**Install Date**
-
[
macOS
]
Fixed Install Date.
[
**@iandrewt**
](
https://github.com/iandrewt
)
-
[
macOS
]
Fixed Install Date.
[
**@iandrewt**
](
https://github.com/iandrewt
)
**Theme**
-
Fixed KDE font issue.
[
**@mstraube**
](
https://github.com/mstraube
)
**CPU**
-
[
linux
]
Detect the correct temperature file to use.
-
[
windows
]
Removed
`$temp`
usage as it's an envar.
**GPU**
-
[
linux
]
Added driver version to NVIDIA output.
-
[
macOS
]
Added NVIDIA support.
[
**@iandrewt**
](
https://github.com/iandrewt
)
**Package Manager**
**Package Manager**
-
Added detection for Sabotage Linux's
`butch`
[
**@MitchWeaver**
](
https://github.com/MitchWeaver
)
-
Added detection for Sabotage Linux's
`butch`
[
**@MitchWeaver**
](
https://github.com/MitchWeaver
)
...
@@ -40,3 +77,15 @@
...
@@ -40,3 +77,15 @@
**Resolution**
**Resolution**
-
[
macOS
]
Fixed errors on non-retina screens.
[
**@iandrewt**
](
https://github.com/iandrewt
)
-
[
macOS
]
Fixed errors on non-retina screens.
[
**@iandrewt**
](
https://github.com/iandrewt
)
**Song**
-
Added support for Elisa.
[
**@mstraube**
](
https://github.com/mstraube
)
**Model**
-
Remove more unneeded outputs.
[
**@konimex**
](
https://github.com/konimex
)
**Disk**
-
Update Haiku's detection.
[
**@dawidd6**
](
https://github.com/dawidd6
)
neofetch
View file @
aaabb9c3
...
@@ -681,7 +681,7 @@ get_de() {
...
@@ -681,7 +681,7 @@ get_de() {
esac
esac
# Fallback to using xprop.
# Fallback to using xprop.
[[
-n
"
$DISPLAY
" && -z "
$de
" ]] &&
\
[[ "
$DISPLAY
" && -z "
$de
" ]] &&
\
de="
$(
xprop
-root
|
awk
'/KDE_SESSION_VERSION|^_MUFFIN|xfce4|xfce5/'
)
"
de="
$(
xprop
-root
|
awk
'/KDE_SESSION_VERSION|^_MUFFIN|xfce4|xfce5/'
)
"
# Format strings.
# Format strings.
...
@@ -706,7 +706,27 @@ get_wm() {
...
@@ -706,7 +706,27 @@ 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 [[ "
$WAYLAND_DISPLAY
" ]]; then
wm="
$(
ps
-e
|
grep
-m
1
-o
-F
\
-e
"asc"
\
-e
"fireplace"
\
-e
"grefsen"
\
-e
"mazecompositor"
\
-e
"maynard"
\
-e
"motorcar"
\
-e
"orbment"
\
-e
"orbital"
\
-e
"perceptia"
\
-e
"rustland"
\
-e
"sway"
\
-e
"velox"
\
-e
"wavy"
\
-e
"wayhouse"
\
-e
"way-cooler"
\
-e
"westford"
\
-e
"weston"
)
"
elif [[ "
$DISPLAY
" && "
$os
" != "
Mac OS X
" ]]; then
id="
$(
xprop
-root
-notype
_NET_SUPPORTING_WM_CHECK
)
"
id="
$(
xprop
-root
-notype
_NET_SUPPORTING_WM_CHECK
)
"
id="
${
id
##*
}
"
id="
${
id
##*
}
"
wm="
$(
xprop
-id
"
$id
"
-notype
-len
100
-f
_NET_WM_NAME 8t
)
"
wm="
$(
xprop
-id
"
$id
"
-notype
-len
100
-f
_NET_WM_NAME 8t
)
"
...
@@ -717,13 +737,6 @@ get_wm() {
...
@@ -717,13 +737,6 @@ get_wm() {
# Window Maker does not set _NET_WM_NAME
# Window Maker does not set _NET_WM_NAME
[[
"
$wm
"
=~
"WINDOWMAKER"
]] && wm=
"wmaker"
[[
"
$wm
"
=~
"WINDOWMAKER"
]] && wm=
"wmaker"
# Fallback for Wayland wms.
[[
"
$wm
"
==
"xwlc"
]] && \
wm=
"
$(
ps
-e
|
grep
-m
1
-o
-F
-e
"sway"
\
-e
"orbment"
\
-e
"orbital"
\
-e
"way-cooler"
)
"
else
else
case
"
$os
"
in
case
"
$os
"
in
"Mac OS X"
)
"Mac OS X"
)
...
@@ -739,11 +752,13 @@ get_wm() {
...
@@ -739,11 +752,13 @@ get_wm() {
;;
;;
"Windows"
)
"Windows"
)
wm=
"
$(
tasklist |
grep
-m
1
-o
-F
-e
"bugn"
\
wm=
"
$(
tasklist |
grep
-m
1
-o
-F
\
-e
"Windawesome"
\
-e
"bugn"
\
-e
"blackbox"
\
-e
"Windawesome"
\
-e
"emerge"
\
-e
"blackbox"
\
-e
"litestep"
)
"
-e
"emerge"
\
-e
"litestep"
)
"
[[
"
$wm
"
==
"blackbox"
]] && wm=
"bbLean (Blackbox)"
[[
"
$wm
"
==
"blackbox"
]] && wm=
"bbLean (Blackbox)"
wm=
"
${
wm
:+
$wm
,
}
Explorer"
wm=
"
${
wm
:+
$wm
,
}
Explorer"
;;
;;
...
@@ -1637,7 +1652,7 @@ get_style() {
...
@@ -1637,7 +1652,7 @@ get_style() {
# Fix weird output when the function is run multiple times.
# Fix weird output when the function is run multiple times.
unset gtk2_theme gtk3_theme theme path
unset gtk2_theme gtk3_theme theme path
if [[
-n
"
$DISPLAY
" && "
$os
" != "
Mac OS X
" ]]; then
if [[ "
$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
...
...
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