diff options
-rw-r--r-- | config/i3/config | 6 | ||||
-rwxr-xr-x | config/i3blocks/scripts/email | 5 | ||||
-rwxr-xr-x | local/bin/email-unread | 2 |
3 files changed, 7 insertions, 6 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" diff --git a/local/bin/email-unread b/local/bin/email-unread index 3956f3b..a17c9b4 100755 --- a/local/bin/email-unread +++ b/local/bin/email-unread @@ -1,4 +1,4 @@ -#!/bin/perl +#!/usr/bin/env perl use strict; use warnings; use File::Find; |