Added i3 status bar configuration

This commit is contained in:
Wryn Wagner 2021-02-23 18:34:12 -07:00
parent 81ee2bcca4
commit 31747c5d66
2 changed files with 70 additions and 0 deletions

64
config/i3status/config Normal file
View File

@ -0,0 +1,64 @@
general {
output_format = 'i3bar'
colors = true
separator = ''
color_good = '#8800FF'
color_bad = '#FF0044'
color_degraded = '#FF8800'
interval = 1
}
order += 'memory'
order += 'disk /'
order += 'wireless _first_'
order += 'ethernet _first_'
order += 'ipv6'
order += 'tztime local'
order += 'tztime utc'
order += 'battery all'
wireless _first_ {
format_up = '(%essid%quality) %ip'
format_down = '(wifi:⊘)'
}
ethernet _first_ {
format_up = '(%speed) %ip'
format_down = ''
}
battery all {
format = '[%status%percentage]'
integer_battery_capacity = true
format_down = ''
status_bat = '⌁'
status_chr = '⚡ '
status_full = '😻 '
status_unk = 'BAT⁉'
low_threshold = 40
threshold_type = 'percentage'
}
disk '/' {
format = ''
format_below_threshold = '[root %avail / %total]'
prefix_type = 'custom'
low_threshold = 20
threshold_type = 'percentage_free'
}
memory {
format = ''
threshold_degraded = "20%"
threshold_critical = "10%"
format_degraded = '[RAM %free / %total]'
}
tztime local {
format = '{%A %B %m, %Y} %I:%M:%S-%P'
}
tztime utc {
format = '{%H:%M-UTC}'
timezone = UTC
}

6
setup
View File

@ -109,6 +109,11 @@ function CONFIG__I3() {
echo "linked i3 configuration";
}
function CONFIG__I3STATUS() {
CONFIG__SYMLINK "i3status" "config";
echo "linked i3status configuration";
}
function CONFIG__PGCLI() {
CONFIG__SYMLINK "pgcli" "config";
echo "linked pgcli configuration";
@ -167,6 +172,7 @@ function CONFIG__TERMINFO() {
function CONFIG__SETUP() {
CONFIG__I3;
CONFIG__I3STATUS;
CONFIG__PGCLI;
CONFIG__MSSQLCLI;
CONFIG__COMPTON;