From 5cf6340e5899054a6e24411148994249da2e0f88 Mon Sep 17 00:00:00 2001 From: TheEdgeOfRage Date: Tue, 6 Feb 2024 18:24:56 +0100 Subject: [PATCH] Sway debug logging and remove hw cursor disable --- dot_aliases | 2 +- dot_zprofile.tmpl | 2 +- dot_zshrc | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dot_aliases b/dot_aliases index 2c1ff42..9c0ae3b 100644 --- a/dot_aliases +++ b/dot_aliases @@ -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' diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl index 7e9c35f..1dd1fa5 100644 --- a/dot_zprofile.tmpl +++ b/dot_zprofile.tmpl @@ -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" diff --git a/dot_zshrc b/dot_zshrc index 7dadfff..1b39275 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -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