From 02df2addd21cdd8fc3679e190f683bf0a512e142 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 3 Nov 2018 01:20:57 -0500 Subject: [PATCH] i3, i3status: Add bar, but also disable it --- .config/i3/config | 38 +++++++++++++++++++++++--------------- .config/i3status/config | 31 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 15 deletions(-) create mode 100644 .config/i3status/config diff --git a/.config/i3/config b/.config/i3/config index ed27671c..6bd1d459 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 +# } +#} diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 00000000..18e1c765 --- /dev/null +++ b/.config/i3status/config @@ -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" +} +