aboutsummaryrefslogtreecommitdiff
path: root/home/shell/zsh/sway.zsh
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-31 16:55:42 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-31 16:55:42 -0700
commitab0ef5c987b7f179725032d920ac75b66aa194e1 (patch)
treedacf7b6c1d4a06728e3e7a4cbbc8bea68f2bf131 /home/shell/zsh/sway.zsh
parentmodules/sendsms: gate the unit with a file (diff)
downloadinfra-ab0ef5c987b7f179725032d920ac75b66aa194e1.tar.gz
home/sway: start sway and ssh-agent properly
I only need to run sway and the ssh-agent on a workstation (desktop or laptop). Start these two processes when the window manager starts.
Diffstat (limited to 'home/shell/zsh/sway.zsh')
-rw-r--r--home/shell/zsh/sway.zsh3
1 files changed, 0 insertions, 3 deletions
diff --git a/home/shell/zsh/sway.zsh b/home/shell/zsh/sway.zsh
deleted file mode 100644
index 69d5103..0000000
--- a/home/shell/zsh/sway.zsh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
- exec sway
-fi