]> arthur.barton.de Git - ax-zsh.git/commitdiff
neofetch: Don't configure fastfetch/neofetch, use defaults
authorAlexander Barton <alex@barton.de>
Fri, 8 Dec 2023 13:13:06 +0000 (14:13 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 8 Dec 2023 13:13:07 +0000 (14:13 +0100)
This way it is easier for the user to just provide a configuration file
with the settings he likes.

plugins/neofetch/neofetch.ax-io

index 51c238e2e153558e423f3efb67252e238498f093..ed4f197bed9204da91269f6ae8d965144405ae39 100644 (file)
@@ -9,16 +9,9 @@
 
 axzsh_neofetch() {
        if (( $+commands[fastfetch] )); then
-               fastfetch \
-                       --structure Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Display:DE:WM:WMTheme:Theme:Terminal:TerminalFont:CPU:GPU:Memory:Battery:PowerAdapter:Break \
-                       --percent-type 3 \
-                       --separator-string '~'
+               fastfetch
        elif (( $+commands[neofetch] )); then
-               neofetch \
-                       --color_blocks off \
-                       --disable packages \
-                       --shell_path on \
-                       --underline_char '~'
+               neofetch
        else
                echo "Neither fastfetch(1) nor neofetch(1) was found!" >&2
                return 1