From 5ce328329b1dce9cfdfdb93a2dc2be81ba7b28c8 Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Mon, 23 Mar 2015 06:33:18 -0400 Subject: [PATCH 1/3] Update zprezto pointer. --- zprezto/.zprezto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zprezto/.zprezto b/zprezto/.zprezto index 5aad702..c65c9e9 160000 --- a/zprezto/.zprezto +++ b/zprezto/.zprezto @@ -1 +1 @@ -Subproject commit 5aad7028adac6dae64e899e39cef9427c25cbaa2 +Subproject commit c65c9e96591a16d70fb3c668c25b7d1715ab97ad From cad3f91f96115873b0228f0212b8f74d1f58f201 Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Mon, 23 Mar 2015 06:44:53 -0400 Subject: [PATCH 2/3] More improvements for ranger. Use smart borders, and only display the SSID. --- i3/i3.dotfile/config | 16 ++++------------ i3/i3.dotfile/status.py | 8 +++----- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/i3/i3.dotfile/config b/i3/i3.dotfile/config index a148a9c..f027ff2 100644 --- a/i3/i3.dotfile/config +++ b/i3/i3.dotfile/config @@ -188,18 +188,10 @@ bindsym $mod+Shift+e mode "$quit_msg" bindsym $mod+r mode "resize" -new_window normal 0 - -for_window [instance="terminator"] border none -for_window [instance="urxvt"] border none -for_window [instance="xterm"] border none -for_window [instance="gvim"] border none -for_window [class="thunderbird"] border none -for_window [class="chrome"] border none -for_window [class="(?i)opera"] border none -for_window [class="(?i)firefox"] border none -for_window [instance="dwb"] border none -for_window [instance="subl3"] border none +new_window 1pixel +new_float normal +gaps inner 8 +smart_borders on # border background text indicator client.focused #660000 #880000 #ffffff #ff0000 diff --git a/i3/i3.dotfile/status.py b/i3/i3.dotfile/status.py index 3fa44ad..49cf9a8 100644 --- a/i3/i3.dotfile/status.py +++ b/i3/i3.dotfile/status.py @@ -45,6 +45,8 @@ status.register("disk", status.register("pulseaudio", format="♪{volume}%{muted}", + color=COLORS['White'], + color_muted=COLORS['Yellow'], muted="M") if os.path.exists("/sys/class/power_supply/BAT1"): @@ -65,7 +67,7 @@ if os.path.exists("/sys/class/power_supply/BAT1"): if os.path.exists("/sys/class/net/wlp0s29u1u7i2"): status.register("wireless", interface="wlp0s29u1u7i2", - format_up="{essid} {quality:.0f}%", + format_up="{essid}", color_up=COLORS['Green'], color_down=COLORS['Red']) @@ -81,9 +83,5 @@ status.register("mem", warn_color=COLORS['Yellow'], alert_color=COLORS['Red']) -status.register("text", - text="xterm", - cmd_leftclick="xterm") - status.run() From 075441297e1d15680be89dd1d7bbdee956cd32a2 Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Mon, 23 Mar 2015 23:57:12 -0400 Subject: [PATCH 3/3] Various fixes to i3 from ranger. --- i3/i3.dotfile/status.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/i3/i3.dotfile/status.py b/i3/i3.dotfile/status.py index 49cf9a8..a2d2bea 100644 --- a/i3/i3.dotfile/status.py +++ b/i3/i3.dotfile/status.py @@ -45,7 +45,7 @@ status.register("disk", status.register("pulseaudio", format="♪{volume}%{muted}", - color=COLORS['White'], + color_unmuted=COLORS['White'], color_muted=COLORS['Yellow'], muted="M") @@ -83,5 +83,14 @@ status.register("mem", warn_color=COLORS['Yellow'], alert_color=COLORS['Red']) +status.register("keyboard_locks", + format="{caps}", + caps_on="[CapsLock]", + caps_off="") + +status.register("shell", + command="~/.i3/window.sh", + interval=.1) + status.run()