Iconify i3status

This commit is contained in:
Marco Thomas
2021-08-31 01:22:59 +02:00
parent 5a259e7bc1
commit c1428f1c7c
3 changed files with 45 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
set $mod Mod4
font pango:Product Sans 11
font pango: Product Sans 11
# correct locking
exec --no-startup-id xss-lock --transfer-sleep-lock -- lock.sh
@@ -99,7 +99,7 @@ hide_edge_borders smart
bar {
status_command i3status
position top
separator_symbol " | "
separator_symbol " "
strip_workspace_numbers yes
tray_output primary
@@ -120,12 +120,22 @@ bar {
}
}
# ebdbb2
set $gruv_bg "#f2e5bc"
set $gruv_bg_darker "#ebdbb2"
set $gruv_fg "#282828"
set $green "#98971a"
set $red "#cc242d"
set $light_red "#fb4934"
set $yellow "#d79921"
# gruvbox style window titles
# class border backgr. text indicator child_border
client.focused #98971A #98971A #282828 #98971A #98971A
client.focused_inactive #f2e5bc #d79921 #282828 #f2e5bc #f2e5bc
client.unfocused #f2e5bc #f2e5bc #282828 #fbf1c7 #f2e5bc
client.urgent #cc241d #fb4934 #282828 #cc241d #fb4934
# class border backgr. text indicator child_border
client.focused $green $green $gruv_fg $green $green
client.focused_inactive $yellow $yellow $gruv_fg $gruv_bg $gruv_bg
client.unfocused $gruv_bg_darker $gruv_bg_darker $gruv_fg $gruv_bg_darker $gruv_bg_darker
client.urgent $red $light_red $gruv_fg $red $light_red
# startup
exec --no-startup-id $HOME/scripts/start_progs.sh

View File

@@ -3,24 +3,39 @@ general {
colors = false
markup = pango
interval = 5
color_good = '#2f343f'
color_degraded = '#ebcb8b'
color_bad = '#ba5e57'
}
order += "load"
order += "memory"
order += "ethernet eth0"
order += "wireless _first_"
order += "battery all"
order += "tztime local"
order += "volume master"
order += "tztime local"
load {
format = " %5min"
}
memory {
format = " %used"
threshold_degraded = "10%"
format_degraded = "MEMORY: %free"
}
wireless _first_ {
format_up = "📡 %essid"
format_down = "📡 Disconnected"
format_up = " %essid"
format_down = " wlo0 down"
}
ethernet eth0 {
format_up = " %ip - %speed"
format_down = " eth0 down"
}
volume master {
format = "🔉 %volume"
format_muted = "🔇 Muted"
format = " %volume"
format_muted = " Muted"
device = "default"
mixer = "Master"
mixer_idx = 0
@@ -29,16 +44,16 @@ volume master {
battery all {
last_full_capacity = true
format = "%status %percentage"
format_down = "No Battery"
status_chr = "⚡ Charging"
status_bat = "🔋 Battery"
format_down = " no battery"
status_chr = ""
status_bat = ""
status_unk = "? Unknown"
status_full = "🔋 Full"
status_full = ""
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
tztime local {
format = "📅 %time"
format = " %time |"
format_time = "%a %-d %b %H:%M"
}