summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-06 16:22:40 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-06 16:22:40 +0100
commit0a69f01a5f7f67bd771fd983aa8ba4146cbafcc8 (patch)
tree8999327bafb9e324ba3aa2b7bba607cc6bd3550e /config
parenta72c885c41d9511133cc4523da7a082c0b2f46d0 (diff)
parent7fb4028f4c1e6c9ffde29bbe34bb4ab2b3d1e49d (diff)
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config')
-rwxr-xr-xconfig/X/x11/xinitrc2
-rwxr-xr-xconfig/essentials/zsh/.zprofile4
2 files changed, 2 insertions, 4 deletions
diff --git a/config/X/x11/xinitrc b/config/X/x11/xinitrc
index 48c0fcf..2ec027e 100755
--- a/config/X/x11/xinitrc
+++ b/config/X/x11/xinitrc
@@ -24,6 +24,4 @@ fi
export MENUCMD="dmenu"
export IMAGE="feh"
-eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)"
-
exec startdwm
diff --git a/config/essentials/zsh/.zprofile b/config/essentials/zsh/.zprofile
index 2e40c32..9072f28 100755
--- a/config/essentials/zsh/.zprofile
+++ b/config/essentials/zsh/.zprofile
@@ -1,7 +1,7 @@
#!/bin/sh
-if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } &&
- [ "$(id -u)" -ne 0 ]; then
+if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && [ "$(id -u)" -ne 0 ]; then
+ eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)"
exec startx > /dev/null 2>&1
exit
fi