Use polybar instead if i3bar

This commit is contained in:
Julian Ospald 2020-01-06 01:56:41 +01:00
parent 71e3e399ac
commit eb00107b3b
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 9 additions and 98 deletions

18
config
View File

@ -275,18 +275,18 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
tray_output $left
status_command i3status --config ~/.config/i3/i3status.config
# | dzen2 -fg white -ta r -w 1290 fn "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1"
font pango:DejaVu Sans Mono 10
}
#bar {
# tray_output $left
#
# status_command i3status --config ~/.config/i3/i3status.config
## | dzen2 -fg white -ta r -w 1290 fn "-misc-fixed-medium-r-normal--13-120-75-75-C-70-iso8859-1"
#
# font pango:DejaVu Sans Mono 12
#}
mode "num" {
bindsym Num_Lock mode "default"
}
#bindsym Num_Lock mode "num"
exec_always --no-startup-id ~/.config/polybar/launch.sh

View File

@ -1,89 +0,0 @@
general {
output_format = "i3bar"
colors = true
interval = 5
}
#order += "ipv6"
order += "disk /"
#order += "run_watch DHCP"#
#order += "run_watch VPN"
order += "wireless wlp3s0"
#order += "ethernet enp0s31f6"
order += "battery 0"
order += "battery 1"
#order += "cpu_temperature 0"
order += "cpu_usage"
order += "load"
order += "memory"
order += "tztime local"
#order += "tztime berlin"
ipv6 {
format_up = "%ip"
format_down = "no IPv6"
}
wireless wlp3s0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
ethernet enp0s31f6 {
# if you use %speed, i3status requires the cap_net_admin capability
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery 0 {
format = "%status %percentage %remaining %emptytime"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
battery 1 {
format = "%status %percentage %remaining %emptytime"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/openconnect/openconnect.pid"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
tztime berlin {
format = "%Y-%m-%d %H:%M:%S %Z"
timezone = "Europe/Berlin"
}
load {
format = "%5min"
}
cpu_temperature 0 {
format = "%degrees°"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
disk "/" {
format = "%free"
}
cpu_usage {
format = "%usage"
}
memory {
format = "%used"
threshold_degraded = "15%"
format_degraded = "MEMORY: %free"
}