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
|
exec startx
|
||||||
end
|
end
|
||||||
|
|
||||||
if test "$KITTY_STR" = "1"
|
if test "$KITTY_STR" = "1"; and not set -q _FASTFETCH_RUN
|
||||||
if not set -q _FASTFETCH_RUN
|
|
||||||
set -gx _FASTFETCH_RUN 1
|
set -gx _FASTFETCH_RUN 1
|
||||||
fastfetch
|
fastfetch
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function postexec_test --on-event fish_postexec
|
function postexec_test --on-event fish_postexec
|
||||||
|
|||||||
Reference in New Issue
Block a user