neofetch: Make new stow package with config.conf

Instead of relying on a fish function to configure neofetch,
we can use config.conf instead.

Since neofetch is an independent program, we also make a new stow
package for it, instead of relying on the fish config being present.
This commit is contained in:
Donovan Glover 2018-11-23 12:37:02 -05:00
parent c794cce477
commit ab546aed60
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 66 additions and 22 deletions

View File

@ -1,22 +0,0 @@
function neofetch
echo -ne '\n'
/usr/bin/neofetch \
--disable cpu model gpu kernel \
--shell_version off \
--os_arch off \
--gtk_shorthand on \
--gtk2 off \
--gtk3 off \
--package_managers off \
--uptime_shorthand tiny \
--block_range 1 7 \
--bar_char '~' '-' \
--bar_border off \
--bar_colors 6 7 \
--bar_length 11 \
--memory_display bar \
--loop \
--size 48% \
--w3m \
$argv
end

View File

@ -0,0 +1,51 @@
print_info() {
info title
info underline
info "OS" distro
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "Memory" memory
info line_break
info cols
info line_break
}
# Text settings
os_arch="off"
uptime_shorthand="tiny"
package_managers="off"
shell_version="off"
# Theme info settings
gtk_shorthand="on"
gtk2="off"
gtk3="off"
# Color block settings
block_range=(1 7)
# RAM bar settings
bar_char_elapsed="~"
bar_char_total="-"
bar_border="off"
bar_length=11
bar_color_elapsed="6"
bar_color_total="7"
memory_display="bar"
# Image settings
image_backend="kitty"
image_size="46%"
# vim:ft=conf

15
neofetch/README.md Normal file
View File

@ -0,0 +1,15 @@
# neofetch
[neofetch][neofetch] is the standard information tool.
## Use Cases
neofetch can be used to:
- Display system information in an elegant way, even through a tty
You should not use neofetch if:
- You should use neofetch.
[neofetch]: https://github.com/dylanaraps/neofetch