summaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
authorCharlie Root <root@chunkybluegiant.53hor.net>2021-12-14 21:35:36 -0500
committerCharlie Root <root@chunkybluegiant.53hor.net>2021-12-14 21:35:36 -0500
commit69dd04d9a9d35ebeea740f8729faad3042fb1f48 (patch)
treeb0b5bf6d74cd22f70142694d3cdfc5ab6662d119 /.config/i3/config
parenta73b3ae9ee068557f8ec80cb7d9c104b877546ed (diff)
downloaddotfiles-69dd04d9a9d35ebeea740f8729faad3042fb1f48.tar.xz
dotfiles-69dd04d9a9d35ebeea740f8729faad3042fb1f48.zip
blargh
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 84a47a0..15db7a8 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -11,6 +11,7 @@ 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'
title_align center
workspace_auto_back_and_forth yes
@@ -122,8 +123,8 @@ 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 'OLDPWD="$PWD" && cd ~/downloads/ && mutt && cd "$OLDPWD"' && mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send 'Email syncd'
-bindsym $mod+shift+F4 exec mbsync -c ~/.config/mbsync/mbsyncrc -a && pkill -77 i3blocks && notify-send 'Email syncd'
+bindsym $mod+F4 exec alacritty -e zsh -i -c 'cd ~/downloads && mutt && cd -' && $syncmail
+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
#bindsym $mod+F7 exec