i3, i3status: Add bar, but also disable it

This commit is contained in:
Salt 2018-11-03 01:20:57 -05:00
parent c2937e440c
commit 02df2addd2
2 changed files with 54 additions and 15 deletions

View File

@ -52,7 +52,7 @@ set_from_resource $cyan2 color14 #8ec07c
set_from_resource $fg color15 #ebdbb2
# Set up titlebar and i3bar fonts
font pango:Inconsolata Bold 10
font pango:Roboto 10
# Titlebar and borders
hide_edge_borders smart
@ -222,18 +222,26 @@ bindsym $mod+r mode "resize"
## Bars
###################
bar {
status_command i3status
colors {
background $bg
statusline $fg
separator $bgm
focused_workspace $bg $bg $blue
active_workspace $bg $bg $bgm
inactive_workspace $bg $bg $fg
urgent_workspace $bg $bg $yellow
binding_mode $bg $bg $bgm
}
}
#bar {
# id bar-primary
# position bottom
# status_command i3status
# tray_output primary
#
# font pango:Inconsolata 10
# # This looks dumb, but it makes the separators one character wide
# separator_symbol "|"
#
# colors {
# background $bg
# statusline $fg
# separator $bgm
#
# focused_workspace $bg $bg $blue
# active_workspace $bg $bg $bgm
# inactive_workspace $bg $bg $fg
# urgent_workspace $bg $bg $yellow
# binding_mode $bg $bg $fg
# }
#}

31
.config/i3status/config Normal file
View File

@ -0,0 +1,31 @@
general {
colors = true
color_good = "#b8bb26"
color_degraded = "#fabd2f"
color_bad = "#fb4934"
interval = 1
}
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "tztime local"
wireless _first_ {
format_up = "WLAN: %ip"
format_down = "WLAN"
}
ethernet _first_ {
format_up = "ETH: %ip"
format_down = "ETH"
}
battery all {
format = "BAT: %percentage"
}
tztime local {
format = "%a %I:%M %p"
}