summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-07-06 13:49:37 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-07-06 14:19:22 +0200
commitb9562a679c0a191acae3a52f9bdfca62d8367d1e (patch)
tree8f582f2ae8dc5ad83138e93f0713839e14fed1a1
parentab57b25cf956bf20b408493c1a93bcd85a0dbf37 (diff)
downloaddotfiles-b9562a679c0a191acae3a52f9bdfca62d8367d1e.tar.gz
dotfiles-b9562a679c0a191acae3a52f9bdfca62d8367d1e.tar.xz
Move imap-notify autostart to i3
gpg-agent doesn't work reliably if started before a window manager. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.i3/config3
-rw-r--r--.xinitrc2
2 files changed, 4 insertions, 1 deletions
diff --git a/.i3/config b/.i3/config
index 9790334..2f2eb3b 100644
--- a/.i3/config
+++ b/.i3/config
@@ -29,6 +29,9 @@ floating_modifier $mod
workspace_auto_back_and_forth yes
+# autostart
+exec --no-startup-id systemd-run -G --user -E PATH="$PATH" -E PERL5LIB="$PERL5LIB" --unit imap-notify imap-notify.pl --debug
+
assign [class="^Firefox$"] 2
assign [class="^Hamster$"] 3
for_window [class="^Steam$" title=" - Chat$"] move window to workspace 3
diff --git a/.xinitrc b/.xinitrc
index 9700ef4..e85ceec 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -55,7 +55,7 @@ if [[ -e ~/perl5 ]]; then
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
fi
-systemd-run -G --user -E PATH="$PATH" -E PERL5LIB="$PERL5LIB" --unit imap-notify imap-notify.pl --debug
+#systemd-run -G --user -E PATH="$PATH" -E PERL5LIB="$PERL5LIB" --unit imap-notify imap-notify.pl --debug
rm -f "$HOME/passwords.kdb.lock"
keepassxc &