Sway debug logging and remove hw cursor disable

This commit is contained in:
Pavle Portic 2024-02-06 18:24:56 +01:00
parent 4736dc9248
commit 5cf6340e58
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
3 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,7 @@ alias '.........'='cd ../../../../../../../..'
alias -g NO='>/dev/null 2>&1'
alias -g NOD='>/dev/null 2>&1 & disown %1'
alias -g WC='| wc -l'
alias -g clip='xclip -selection c'
alias -g clip='wl-copy'
alias -g vim='nvim'
alias -g vimdiff='nvim -d'
alias adb='adb -d'

View File

@ -6,7 +6,7 @@ export LC_ALL="en_DK.UTF-8"
export MAKEFLAGS="-j $(nproc --all)"
export MOZ_WEBRENDER="1"
export MOZ_USE_XINPUT2="1"
export WLR_NO_HARDWARE_CURSORS="1"
# export WLR_NO_HARDWARE_CURSORS="1"
export GOPRIVATE="github.com/duneanalytics/*"
export GOPATH="$HOME/dev/go"
export GOBIN="$HOME/dev/go/bin"

View File

@ -65,7 +65,8 @@ fi
# sway on tty1
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
exec sway
date=$(date +%Y-%m-%d-%H:%M:%S)
exec sway -d > ~/.local/share/sway-$date.log 2>&1
fi
# startx on tty2
[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec startx -- vt1