summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/sxhkd/sxhkdrc2
-rwxr-xr-x.local/bin/dwmbar/dwmb-mail4
2 files changed, 3 insertions, 3 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index b11502e..0213c91 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -130,7 +130,7 @@ super + w
$BROWSER
## TUI Email Client (neomutt)
super + e
- killall neomutt || $TERMINAL -e neomutt ; dwmbar
+ killall neomutt || $TERMINAL -e neomutt && mw -Y
## TUI Calendar (calcurse)
super + shift + e
killall calcurse || $TERMINAL -t dropdown_calendar -e calcurse
diff --git a/.local/bin/dwmbar/dwmb-mail b/.local/bin/dwmbar/dwmb-mail
index 4bce6bd..bd8d56b 100755
--- a/.local/bin/dwmbar/dwmb-mail
+++ b/.local/bin/dwmbar/dwmb-mail
@@ -4,8 +4,8 @@
# When clicked, brings up `neomutt`.
case $BLOCK_BUTTON in
- 1) setsid -f "$TERMINAL" -e neomutt ;;
- 2) setsid -f mw sync >/dev/null ;;
+ 1) setsid -f "$TERMINAL" -e neomutt && mw -Y;;
+ 2) setsid -f mw -Y ;;
3) notify-send " Mail module" "\- Shows unread mail
- Shows  if syncing mail
- Left click opens neomutt