Explorar el Código

~/.zlogin: Start sway when zsh starts on tty1

Luna Stadler %!s(int64=4) %!d(string=hace) años
padre
commit
2f64ab7760
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17 0
      .zlogin

+ 17 - 0
.zlogin

@ -0,0 +1,17 @@
1
export WINEDLLOVERRIDES="mscoree=d;mshtml=d"
2
3
# If running from tty1 start sway
4
if [ "$(tty)" = "/dev/tty1" ]; then
5
	export QT_QPA_PLATFORM=wayland
6
	export _JAVA_AWT_WM_NONREPARENTING=1
7
8
	export MOZ_ENABLE_WAYLAND=1
9
10
	# webrtc screen sharing
11
	export XDG_CURRENT_DESKTOP=sway
12
13
	export MANGOHUD=1
14
15
	mv -f ~/.sway.log ~/.sway.log.1
16
	exec sway > ~/.sway.log
17
fi