{bash,zsh}rc: add aliases for startsway etc.

Resolves: mikaela/scripts#36
This commit is contained in:
Aminda Suomalainen 2022-04-15 11:54:02 +03:00
parent 817a2923d3
commit 72b7da44ee
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 12 additions and 4 deletions

View File

@ -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/*"

View File

@ -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/*"