diff --git a/rc/bashrc b/rc/bashrc index a8ff117d..0c52f677 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -494,8 +494,12 @@ alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS" # https://superuser.com/a/638033 - get embedded Windows product key alias winkey="xxd /sys/firmware/acpi/tables/MSDM" -# Always exec startx so Ctrl-Alt-Backspace won't lead to unlocked TTY. -alias startx="exec \startx" +# Always exec startx/startsway/wayland/sway so Ctrl-Alt-Backspace won't lead to unlocked TTY. +alias startsway="exec dbus-launch --exit-with-session sway --unsupported-gpu" +#alias startx="exec \startx" +alias startx=startsway +alias startwayland=startsway +alias startwl=startsway # cat list of kernel detected vulnerabilities/states with filenames alias linux-check-cpu-vulns="tail -n +1 /sys/devices/system/cpu/vulnerabilities/*" diff --git a/rc/zshrc b/rc/zshrc index 8307975f..d0bdf720 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -471,8 +471,12 @@ alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS" # https://superuser.com/a/638033 - get embedded Windows product key alias winkey="xxd /sys/firmware/acpi/tables/MSDM" -# Always exec startx so Ctrl-Alt-Backspace won't lead to unlocked TTY. -alias startx="exec \startx" +# Always exec startx/startsway/wayland/sway so Ctrl-Alt-Backspace won't lead to unlocked TTY. +alias startsway="exec dbus-launch --exit-with-session sway --unsupported-gpu" +#alias startx="exec \startx" +alias startx=startsway +alias startwayland=startsway +alias startwl=startsway # cat list of kernel detected vulnerabilities/states with filenames alias linux-check-cpu-vulns="tail -n +1 /sys/devices/system/cpu/vulnerabilities/*"