Fix fish startup code
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
if test (tty) = /dev/tty1; and test -z "$DISPLAY"; and test -z "$WAYLAND_DISPLAY"
|
||||
if test (tty) = /dev/tty1; and type -q startx; and test -z "$DISPLAY"; and test -z "$WAYLAND_DISPLAY"
|
||||
exec startx
|
||||
end
|
||||
|
||||
if test "$KITTY_STR" = "1"
|
||||
if not set -q _FASTFETCH_RUN
|
||||
if test "$KITTY_STR" = "1"; and not set -q _FASTFETCH_RUN
|
||||
set -gx _FASTFETCH_RUN 1
|
||||
fastfetch
|
||||
end
|
||||
end
|
||||
|
||||
function postexec_test --on-event fish_postexec
|
||||
|
||||
Reference in New Issue
Block a user