More improvements for ranger.
Use smart borders, and only display the SSID.
This commit is contained in:
parent
5ce328329b
commit
cad3f91f96
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user