aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-10 10:30:59 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-10 10:30:59 +0200
commit33fd0875249b867dffd256d4a3eeb41475511647 (patch)
treee925faa0864c85cb2e547d0c3aa0680c2ea6508a /config
parent3b15d8dcd8912825281367ed959d7ad212e6a0ab (diff)
downloadmyconfigs-33fd0875249b867dffd256d4a3eeb41475511647.tar.gz
myconfigs-33fd0875249b867dffd256d4a3eeb41475511647.tar.bz2
myconfigs-33fd0875249b867dffd256d4a3eeb41475511647.zip
Small fix of email-unread
Diffstat (limited to 'config')
-rw-r--r--config/i3/config6
-rwxr-xr-xconfig/i3blocks/scripts/email5
2 files changed, 6 insertions, 5 deletions
diff --git a/config/i3/config b/config/i3/config
index 3900eb5..db74e37 100644
--- a/config/i3/config
+++ b/config/i3/config
@@ -154,9 +154,9 @@ bindsym $mod+Shift+q mode "$mode_system"
set $displays (d)efault, toggle: 1:eDP 2:HDMI 3:VGA
mode "$displays" {
bindsym d exec --no-startup-id mxrandr, mode "default"
- bindsym 1 exec --no-startup-id mxrandr toggle eDP-1, mode "default"
- bindsym 2 exec --no-startup-id mxrandr toggle HDMI-1, mode "default"
- bindsym 3 exec --no-startup-id mxrandr toggle VGA-1, mode "default"
+ bindsym 1 exec --no-startup-id mxrandr toggle eDP1, mode "default"
+ bindsym 2 exec --no-startup-id mxrandr toggle HDMI1, mode "default"
+ bindsym 3 exec --no-startup-id mxrandr toggle VGA1, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
diff --git a/config/i3blocks/scripts/email b/config/i3blocks/scripts/email
index 3c1fb1f..db2dd29 100755
--- a/config/i3blocks/scripts/email
+++ b/config/i3blocks/scripts/email
@@ -1,4 +1,5 @@
#!/bin/bash
-echo $(email-unread -s | tr "\n" " ")
-echo
+OUT="$(email-unread -s | tr "\n" " ")"
+echo "$OUT"
+echo "$OUT"
echo "#ffff00"