Skip to content

Commit

Permalink
Add EndeavourOS support
Browse files Browse the repository at this point in the history
Arch derivative
  • Loading branch information
MagicalDrizzle authored and orhun committed Oct 13, 2023
1 parent 8144c10 commit 783fc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pkgtop.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var (
" OS: $(uname -o)\\n\""
dfCmd = "df -h 2> /dev/null | awk '{$1=$1};1 {if(NR>1)print}'" /* Print the disk usage with 'df' */
pkgsCmd = map[string]string{ /* Commands for listing the installed packages */
"arch,manjaro": "pacman -Qi | awk '/^Name/{name=$3} " +
"arch,manjaro,endeavouros": "pacman -Qi | awk '/^Name/{name=$3} " +
"/^Version/{ver=$3} " +
"/^Description/{desc=substr($0,index($0,$3))} " +
"/^Installed Size/{size=$4$5; " +
Expand Down

0 comments on commit 783fc3c

Please sign in to comment.