mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-05-06 11:02:20 +02:00
feat: adds autostart for sway to zshrc
This commit is contained in:
parent
a9b09855a8
commit
67edb7e33a
1 changed files with 8 additions and 2 deletions
|
|
@ -209,9 +209,15 @@
|
|||
# alias imv="nsxiv"
|
||||
# alias sxiv="nsxiv"
|
||||
# fi
|
||||
function preexec {
|
||||
print -Pn "\e]0;$\{(q)1}\e\\"
|
||||
# function preexec {
|
||||
# print -Pn "\e]0;$\{(q)1}\e\\"
|
||||
# }
|
||||
|
||||
startwm() {
|
||||
dbus-run-session sway
|
||||
}
|
||||
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then startwm; fi
|
||||
'';
|
||||
|
||||
zsh-abbr = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue