6eeeb3d7c63fbcfcadacb50ad7c691abfbfeabb1

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Add commented wayland support to zshrc

Diff

 1diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl
 2index c9f509e4f8630e1d80782d78e8d12da93ce6e87b..d84bd7b72fef2ba15f87f8d7ae2975a9a6e6c04a 100644
 3--- a/dot_zprofile.tmpl
 4+++ b/dot_zprofile.tmpl
 5@@ -6,6 +6,8 @@ export LC_ALL="en_DK.UTF-8"
 6 export MAKEFLAGS="-j $(nproc --all)"
 7 export MOZ_WEBRENDER="1"
 8 export MOZ_USE_XINPUT2="1"
 9+export MOZ_ENABLE_WAYLAND="1"
10+export WLR_NO_HARDWARE_CURSORS="1"
11 export GOPRIVATE="github.com/duneanalytics/*"
12 export GOPATH="$HOME/dev/go"
13 export PATH="$HOME/.local/bin:$PATH:$GOPATH/bin"
14diff --git a/dot_zshrc.tmpl b/dot_zshrc
15rename from dot_zshrc.tmpl
16rename to dot_zshrc
17index 067683056ee2224c6ae980b9c6c0aa03aff96706..1718a5e4f392b6a093bd6526e9f36bf8199dbd58 100644
18--- a/dot_zshrc.tmpl
19+++ b/dot_zshrc
20@@ -64,4 +64,5 @@ if which pyenv &> /dev/null; then
21 fi
22 
23 # startx on tty1
24-if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi
25+[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && exec startx -- vt1
26+# [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && exec sway --unsupported-gpu