mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-07 06:29:00 +01:00
Remove neofetch config in favor of fish function
It doesn't make sense to manage an entire neofetch config file since the majority of the settings required to produce a decent output can be achieved by just passing options at runtime.
This commit is contained in:
parent
93500e18e9
commit
a24326f12c
13
dots/common/.config/fish/functions/neofetch.fish
Normal file
13
dots/common/.config/fish/functions/neofetch.fish
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
function neofetch
|
||||||
|
echo -ne '\n'
|
||||||
|
/usr/bin/neofetch \
|
||||||
|
--disable \
|
||||||
|
model gpu wm_theme theme icons \
|
||||||
|
line_break cols kernel \
|
||||||
|
--ascii_distro linux \
|
||||||
|
--package_managers off \
|
||||||
|
--os_arch off \
|
||||||
|
--speed_shorthand on \
|
||||||
|
--cpu_brand off \
|
||||||
|
--cpu_cores off
|
||||||
|
end
|
@ -1,65 +0,0 @@
|
|||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2017-2018 Donovan Glover
|
|
||||||
|
|
||||||
print_info() {
|
|
||||||
info title
|
|
||||||
info underline
|
|
||||||
|
|
||||||
info "OS" distro
|
|
||||||
info "Kernel" kernel
|
|
||||||
info "Uptime" uptime
|
|
||||||
info "Packages" packages
|
|
||||||
info "Shell" shell
|
|
||||||
info "Resolution" resolution
|
|
||||||
info "WM" wm
|
|
||||||
|
|
||||||
#info "Theme" theme
|
|
||||||
#info "Icons" icons
|
|
||||||
|
|
||||||
info "Terminal" term
|
|
||||||
info "Terminal Font" term_font
|
|
||||||
info "CPU" cpu
|
|
||||||
info "GPU" gpu
|
|
||||||
info "Memory" memory
|
|
||||||
|
|
||||||
info "Disk" disk
|
|
||||||
info "Install Date" install_date
|
|
||||||
|
|
||||||
# info line_break
|
|
||||||
# info cols
|
|
||||||
# info line_break
|
|
||||||
}
|
|
||||||
|
|
||||||
gtk_shorthand="on"
|
|
||||||
disk_subtitle="dir"
|
|
||||||
install_time="on"
|
|
||||||
underline_char="-"
|
|
||||||
|
|
||||||
# ('title', '@', 'underline', 'subtitle', 'colon', 'info')
|
|
||||||
colors=(4 6 1 8 8 6)
|
|
||||||
|
|
||||||
block_width=3
|
|
||||||
block_height=1
|
|
||||||
|
|
||||||
image_backend="w3m"
|
|
||||||
image_source="${HOME}/.config/neofetch/img.png"
|
|
||||||
|
|
||||||
# Redraw the image every few seconds
|
|
||||||
image_loop="off"
|
|
||||||
|
|
||||||
# Image size is half the terminal width by default (auto)
|
|
||||||
# Use "none" when you use images sized specifically for neofetch
|
|
||||||
# Otherwise, use 900px
|
|
||||||
#image_size="none"
|
|
||||||
|
|
||||||
# Gap between image and text (default: 3)
|
|
||||||
gap=0
|
|
||||||
|
|
||||||
# Image offset
|
|
||||||
#yoffset=50
|
|
||||||
#xoffset=50
|
|
||||||
|
|
||||||
# neofetch uses this for backwards compatibility
|
|
||||||
config_version="3.3.0"
|
|
||||||
|
|
||||||
# vim:ft=dosini
|
|
Loading…
Reference in New Issue
Block a user