mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
{bash,zsh}rc: add aliases for startsway etc.
Resolves: mikaela/scripts#36
This commit is contained in:
parent
817a2923d3
commit
72b7da44ee
@ -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/*"
|
||||
|
8
rc/zshrc
8
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/*"
|
||||
|
Loading…
Reference in New Issue
Block a user