5cf6340e5899054a6e24411148994249da2e0f88

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Sway debug logging and remove hw cursor disable

Diff

 1diff --git a/dot_aliases b/dot_aliases
 2index 2c1ff42ee5bfb6a665d7b4bfa321f0284001ef72..9c0ae3b92eed00534fa9b3148ae5cd50d39c4ed1 100644
 3--- a/dot_aliases
 4+++ b/dot_aliases
 5@@ -12,7 +12,7 @@ alias '.........'='cd ../../../../../../../..'
 6 alias -g NO='>/dev/null 2>&1'
 7 alias -g NOD='>/dev/null 2>&1 & disown %1'
 8 alias -g WC='| wc -l'
 9-alias -g clip='xclip -selection c'
10+alias -g clip='wl-copy'
11 alias -g vim='nvim'
12 alias -g vimdiff='nvim -d'
13 alias adb='adb -d'
14diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl
15index 7e9c35f6b36b3d829da22a9d5bea9158dc012824..1dd1fa5b9a1b54bae6349faebac4b344b704c300 100644
16--- a/dot_zprofile.tmpl
17+++ b/dot_zprofile.tmpl
18@@ -6,7 +6,7 @@ export LC_ALL="en_DK.UTF-8"
19 export MAKEFLAGS="-j $(nproc --all)"
20 export MOZ_WEBRENDER="1"
21 export MOZ_USE_XINPUT2="1"
22-export WLR_NO_HARDWARE_CURSORS="1"
23+# export WLR_NO_HARDWARE_CURSORS="1"
24 export GOPRIVATE="github.com/duneanalytics/*"
25 export GOPATH="$HOME/dev/go"
26 export GOBIN="$HOME/dev/go/bin"
27diff --git a/dot_zshrc b/dot_zshrc
28index 7dadfff2ca79ee55557fc7e1db2bb6dd51ab4d38..1b3927537e1f65bbba4cac51d33a13adf63bfa26 100644
29--- a/dot_zshrc
30+++ b/dot_zshrc
31@@ -65,7 +65,8 @@ fi
32 
33 # sway on tty1
34 if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
35-  exec sway
36+	date=$(date +%Y-%m-%d-%H:%M:%S)
37+	exec sway -d > ~/.local/share/sway-$date.log 2>&1
38 fi
39 # startx on tty2
40 [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec startx -- vt1