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
bec3918b
Unverified
Commit
bec3918b
authored
Nov 26, 2020
by
Kanashimia
Committed by
GitHub
Nov 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NixOS - squash logo, add new package location. (#1617)
* Decrease size of NixOS logo by one block. * Improve package counting for NixOS.
parent
80174ea4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
neofetch
neofetch
+15
-7
No files found.
neofetch
View file @
bec3918b
...
@@ -1566,9 +1566,13 @@ get_packages() {
...
@@ -1566,9 +1566,13 @@ get_packages() {
}
}
has nix-store && {
has nix-store && {
manager=nix-system && tot nix-store -q --requisites /run/current-system/sw
nix-user-pkgs() {
manager=nix-user && tot nix-store -q --requisites ~/.nix-profile
nix-store -qR ~/.nix-profile
manager=nix-default && tot nix-store -q --requisites /nix/var/nix/profiles/default
nix-store -qR /etc/profiles/per-user/"$USER"
}
manager=nix-system && tot nix-store -qR /run/current-system/sw
manager=nix-user && tot nix-user-pkgs
manager=nix-default && tot nix-store -qR /nix/var/nix/profiles/default
}
}
# pkginfo is also the name of a python package manager which is painfully slow.
# pkginfo is also the name of a python package manager which is painfully slow.
...
@@ -1607,8 +1611,12 @@ get_packages() {
...
@@ -1607,8 +1611,12 @@ get_packages() {
has pkgin && tot pkgin list
has pkgin && tot pkgin list
has nix-store && {
has nix-store && {
manager=nix-system && tot nix-store -q --requisites "/run/current-system/sw"
nix-user-pkgs() {
manager=nix-user && tot nix-store -q --requisites "$HOME/.nix-profile"
nix-store -qR ~/.nix-profile
nix-store -qR /etc/profiles/per-user/"$USER"
}
manager=nix-system && tot nix-store -qR /run/current-system/sw
manager=nix-user && tot nix-store -qR nix-user-pkgs
}
}
;;
;;
...
@@ -8559,7 +8567,7 @@ EOF
...
@@ -8559,7 +8567,7 @@ EOF
"NixOS"*)
"NixOS"*)
set_colors 4 6
set_colors 4 6
read -rd '' ascii_data <<'EOF'
read -rd '' ascii_data <<'EOF'
${c1} ▗
██▙ ${c2}▜███▙ ▟██
▖
${c1} ▗
▄▄▄ ${c2}▗▄▄▄▄ ▄▄▄
▖
${c1} ▜███▙ ${c2}▜███▙ ▟███▛
${c1} ▜███▙ ${c2}▜███▙ ▟███▛
${c1} ▜███▙ ${c2}▜███▙▟███▛
${c1} ▜███▙ ${c2}▜███▙▟███▛
${c1} ▜███▙ ${c2}▜██████▛
${c1} ▜███▙ ${c2}▜██████▛
...
@@ -8578,7 +8586,7 @@ ${c2} ▜▛ ${c1}▟████▙ ${c2}▜█████████
...
@@ -8578,7 +8586,7 @@ ${c2} ▜▛ ${c1}▟████▙ ${c2}▜█████████
${c1} ▟██████▙ ${c2}▜███▙
${c1} ▟██████▙ ${c2}▜███▙
${c1} ▟███▛▜███▙ ${c2}▜███▙
${c1} ▟███▛▜███▙ ${c2}▜███▙
${c1} ▟███▛ ▜███▙ ${c2}▜███▙
${c1} ▟███▛ ▜███▙ ${c2}▜███▙
${c1} ▝
██▛ ▜███▙ ${c2}▜██
▘
${c1} ▝
▀▀▀ ▀▀▀▀▘ ${c2}▀▀▀
▘
EOF
EOF
;;
;;
...
...
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