More improvements for ranger.

Use smart borders, and only display the SSID.
This commit is contained in:
Ian Adam Naval 2015-03-23 06:44:53 -04:00
parent 16ac2e7751
commit 67aefab566
2 changed files with 3 additions and 2 deletions

View File

@ -198,6 +198,7 @@ bindsym $mod+r mode "resize"
new_window 1pixel new_window 1pixel
new_float normal new_float normal
gaps inner 8 gaps inner 8
smart_borders on
#for_window [instance="terminator"] border none #for_window [instance="terminator"] border none
#for_window [instance="urxvt"] border none #for_window [instance="urxvt"] border none

View File

@ -47,7 +47,7 @@ status.register("alsa",
format="{volume}%{muted}", format="{volume}%{muted}",
card=1, card=1,
color=COLORS['White'], color=COLORS['White'],
color_muted=COLORS['Red'], color_muted=COLORS['Yellow'],
muted="M") muted="M")
if os.path.exists("/sys/class/power_supply/BAT0"): if os.path.exists("/sys/class/power_supply/BAT0"):
@ -83,7 +83,7 @@ if os.path.exists("/sys/class/power_supply/BAT1"):
if os.path.exists("/sys/class/net/wlp3s0"): if os.path.exists("/sys/class/net/wlp3s0"):
status.register("wireless", status.register("wireless",
interface="wlp3s0", interface="wlp3s0",
format_up="{essid} {quality:.0f}%", format_up="{essid}",
color_up=COLORS['Green'], color_up=COLORS['Green'],
color_down=COLORS['Red']) color_down=COLORS['Red'])