format, automatically start sway on tty1
This commit is contained in:
parent
69c4618472
commit
e31d659651
1 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,7 @@ alias pls="please"
|
||||||
|
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# kitty stuff
|
# kitty stuff
|
||||||
if [ $TERM = "xterm-kitty" ]
|
if [ $TERM = xterm-kitty ]
|
||||||
alias icat="kitten icat"
|
alias icat="kitten icat"
|
||||||
alias s="kitten ssh"
|
alias s="kitten ssh"
|
||||||
else
|
else
|
||||||
|
@ -26,7 +26,7 @@ if status is-interactive
|
||||||
alias s="ssh"
|
alias s="ssh"
|
||||||
end
|
end
|
||||||
|
|
||||||
# NixOS
|
# NixOS
|
||||||
if type -q nixos-rebuild
|
if type -q nixos-rebuild
|
||||||
alias nrs="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild switch --upgrade-all"
|
alias nrs="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild switch --upgrade-all"
|
||||||
alias nrb="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild build --upgrade-all"
|
alias nrb="sudo NIXPKGS_ALLOW_INSECURE=1 nixos-rebuild build --upgrade-all"
|
||||||
|
@ -62,3 +62,6 @@ alias venv="if ! test -d ./.venv/; python3 -m venv .venv; end; source ./.venv/bi
|
||||||
alias py-dep="pip install -r requirements.txt"
|
alias py-dep="pip install -r requirements.txt"
|
||||||
|
|
||||||
alias sway="sway --unsupported-gpu"
|
alias sway="sway --unsupported-gpu"
|
||||||
|
if [ $(tty) = /dev/tty1 ]
|
||||||
|
sway
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue