fix: zsh .profile gui variable loaded in tty2+
This commit is contained in:
parent
5c06c06ef4
commit
305ecfa9b8
@ -212,7 +212,8 @@ blur-background-exclude = [
|
||||
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||
# `xrender` is the default one.
|
||||
#
|
||||
backend = "glx"
|
||||
# backend = "glx"
|
||||
backend = "glx";
|
||||
|
||||
# Enable/disable VSync.
|
||||
# vsync = false
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit e28dedcf452a9117d76f70090d2f48e01b908f8e
|
||||
Subproject commit 0a0a3b1a819626969f7e39a664d24ebf82e06245
|
@ -1,8 +1,9 @@
|
||||
#!/bin/sh
|
||||
if [ "$XDG_VTNR" = 1 ]; then
|
||||
GUILOG="$HOME/.local/share/xorg/gui.log"
|
||||
|
||||
GUILOG="$HOME/.local/share/xorg/gui.log"
|
||||
mv "$GUILOG" "$GUILOG.old" 2> /dev/null
|
||||
exec startx > "$GUILOG" 2>&1
|
||||
#export XDG_CURRENT_DESKTOP=sway && exec sway > "$HOME/.gui.log" 2>&1
|
||||
fi
|
||||
|
||||
mv "$GUILOG" "$GUILOG.old" 2> /dev/null
|
||||
|
||||
[ "$XDG_VTNR" = 1 ] && exec startx > "$GUILOG" 2>&1
|
||||
#[ "$XDG_VTNR" = 1 ] && export XDG_CURRENT_DESKTOP=sway && exec sway > "$HOME/.gui.log" 2>&1
|
||||
# vim: ft=zsh
|
||||
|
@ -33,3 +33,5 @@ function j() {
|
||||
[ -n "${dests[2]}" ] && dest="$(printf '%s\n' "${dests[@]}" | fzf)"
|
||||
cd "$dest"
|
||||
}
|
||||
|
||||
# vim: ft=zsh
|
||||
|
@ -13,3 +13,5 @@ fpath=("$ZDOTDIR/completions" $fpath)
|
||||
. "$ZDOTDIR"/.zsh_aliases
|
||||
|
||||
. "$ZDOTDIR/.p10k.zsh"
|
||||
|
||||
# vim: ft=zsh
|
||||
|
Loading…
Reference in New Issue
Block a user