aec597511862aadd89ed61809c38fcc1e3061e16

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

Message

Start sway on tty1

Diff

 1diff --git a/dot_config/sway/config.tmpl b/dot_config/sway/config.tmpl
 2index 6895703c17a863cb56c623c182a939e03e781e64..2eec6f9646316547c62b04e4c8e44e68b6e76bbe 100644
 3--- a/dot_config/sway/config.tmpl
 4+++ b/dot_config/sway/config.tmpl
 5@@ -184,7 +184,7 @@ assign [app_id="(?i)firefox"] $firefox
 6 assign [app_id="(?i)chromium"] $firefox
 7 assign [app_id="org.telegram.desktop"] $telegram
 8 assign [app_id="thunderbird"] $thunderbird
 9-assign [app_id="(?i)slack"] $telegram
10+assign [class="(?i)slack"] $telegram
11 for_window [app_id="Lxappearance"] floating enable
12 for_window [app_id="tidal-hifi"] move to workspace $telegram
13 
14diff --git a/dot_zshrc b/dot_zshrc
15index b15fca82a215a5a35363ad3ce1b759d69971832d..7dadfff2ca79ee55557fc7e1db2bb6dd51ab4d38 100644
16--- a/dot_zshrc
17+++ b/dot_zshrc
18@@ -63,9 +63,9 @@ if which pyenv &> /dev/null; then
19 	eval "$(pyenv init -)"
20 fi
21 
22-# startx on tty1
23-[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && exec startx -- vt1
24-# sway on tty2
25-if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty2 ]]; then
26+# sway on tty1
27+if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
28   exec sway
29 fi
30+# startx on tty2
31+[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec startx -- vt1