From ab546aed6080534e33b848037d5c8fa352d493eb Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 23 Nov 2018 12:37:02 -0500 Subject: [PATCH] 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. --- fish/.config/fish/functions/neofetch.fish | 22 ---------- neofetch/.config/neofetch/config.conf | 51 +++++++++++++++++++++++ neofetch/README.md | 15 +++++++ 3 files changed, 66 insertions(+), 22 deletions(-) delete mode 100644 fish/.config/fish/functions/neofetch.fish create mode 100644 neofetch/.config/neofetch/config.conf create mode 100644 neofetch/README.md diff --git a/fish/.config/fish/functions/neofetch.fish b/fish/.config/fish/functions/neofetch.fish deleted file mode 100644 index c754e010..00000000 --- a/fish/.config/fish/functions/neofetch.fish +++ /dev/null @@ -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 diff --git a/neofetch/.config/neofetch/config.conf b/neofetch/.config/neofetch/config.conf new file mode 100644 index 00000000..39265382 --- /dev/null +++ b/neofetch/.config/neofetch/config.conf @@ -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 diff --git a/neofetch/README.md b/neofetch/README.md new file mode 100644 index 00000000..fcca0125 --- /dev/null +++ b/neofetch/README.md @@ -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