summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-20 10:37:39 -0500
committer53hornet <atc@53hor.net>2021-12-20 10:37:39 -0500
commit2d4a2da8ca10b71cdf472914ff739ac0adf97a0b (patch)
tree14039e1335b968a7b3d4f8b3e242b0504a4713ae
parent7f4838f1c7b3b705afe9630dbf9a21a73b0a6844 (diff)
downloaddotfiles-2d4a2da8ca10b71cdf472914ff739ac0adf97a0b.tar.xz
dotfiles-2d4a2da8ca10b71cdf472914ff739ac0adf97a0b.zip
feat: move xautolock to xinitrc, fix i3 mail refresh
-rw-r--r--.config/i3/config5
-rw-r--r--.vim/spell/en.utf-8.add2
-rw-r--r--.vim/spell/en.utf-8.add.splbin361 -> 399 bytes
-rw-r--r--.xinitrc1
4 files changed, 6 insertions, 2 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 15db7a8..d3a268c 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -11,7 +11,8 @@ hide_edge_borders smart
set $locker xautolock -locknow
set $mod Mod1
set $sigaudio pkill -75 i3blocks
-set $syncmail mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send 'Email updated'
+set $syncmail "mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send Mail synced"
+set $mail "alacritty -e zsh -i -c 'cd ~/downloads ; mutt ; cd - ' ; mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send Mail synced"
title_align center
workspace_auto_back_and_forth yes
@@ -123,7 +124,7 @@ bindsym $mod+shift+F1 exec firefox /usr/local/share/doc/freebsd/handbook/book.
bindsym $mod+F2 exec firefox
bindsym $mod+shift+F2 exec firefox --private-window
bindsym $mod+F3 exec url_handler.sh
-bindsym $mod+F4 exec alacritty -e zsh -i -c 'cd ~/downloads && mutt && cd -' && $syncmail
+bindsym $mod+F4 exec $mail
bindsym $mod+shift+F4 exec $syncmail
bindsym $mod+F5 exec alacritty -e zsh -i -c 'newsboat && pkill -78 i3blocks'
bindsym $mod+F6 exec --no-startup-id dict.sh
diff --git a/.vim/spell/en.utf-8.add b/.vim/spell/en.utf-8.add
index 4101caa..d506086 100644
--- a/.vim/spell/en.utf-8.add
+++ b/.vim/spell/en.utf-8.add
@@ -22,3 +22,5 @@ Angelshark
Avaya
Hudsonites
StepDown
+FreeBSD's
+doas
diff --git a/.vim/spell/en.utf-8.add.spl b/.vim/spell/en.utf-8.add.spl
index cc69fae..1d95612 100644
--- a/.vim/spell/en.utf-8.add.spl
+++ b/.vim/spell/en.utf-8.add.spl
Binary files differ
diff --git a/.xinitrc b/.xinitrc
index 0161443..0f52fea 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,3 +1,4 @@
xrdb -merge ~/.config/solarized.Xresources &&
xrdb -merge ~/.config/Xresources &&
+xautolock -killtime 10 -killer "sleep 0.5; doas acpiconf -s3" -notify 10 -time 10 -locker "i3lock -n -f -c 002b36 ; sleep 0.2" -notifier "notify-send -t=10000 '10 seconds to lock...'" &
exec i3 2>&1 > /var/log/xinit/i3wm.log