fix(i3): fix a few errors

This commit is contained in:
Bruno Carlin 2023-03-09 22:27:41 +01:00
parent 37ddabaef2
commit 1201188479
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D
2 changed files with 30 additions and 31 deletions

View file

@ -15,7 +15,7 @@
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
font pango:Source Code Pro, Font Awesome 5 Free 8
font pango:Source Code Pro, Font Awesome 5 Free 10
# Before i3 v4.8, we used to recommend this one as the default:
@ -124,7 +124,7 @@ bindsym Mod4+8 workspace 8
bindsym Mod4+9 workspace 9
bindsym Mod4+0 workspace 10
bindsym Mod4+Tab workspace next
bindsym Mod4+Sift+Tab workspace prev
bindsym Mod4+Shift+Tab workspace prev
bindsym Mod4+z workspace back_and_forth
# move focused container to workspace
@ -237,9 +237,9 @@ workspace_auto_back_and_forth yes
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
#status_command i3status
status_command statusbar
tray_output primary
status_command i3status
#status_command statusbar
#tray_output all
}
## Commands for specific windows

View file

@ -7,17 +7,16 @@
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
separator = " | "
colors = true
interval = 5
separator = " | "
}
order += "ipv6"
#order += "ipv6"
order += "disk /"
order += "disk /home"
order += "wireless _first_"
order += "ethernet _first_"
#order += "ethernet _first_"
order += "battery all"
order += "volume master"
order += "load"
@ -26,50 +25,50 @@ order += "read_file unreadmail"
order += "tztime local"
wireless _first_ {
format_up = " (%quality at %essid) %ip"
format_down = " down"
format_up = " (%quality at %essid) %ip"
format_down = " down"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = " %ip (%speed)"
format_down = " down"
# if you use %speed, i3status requires root privileges
format_up = " %ip (%speed)"
format_down = " down"
}
battery all {
format = " %status %percentage %remaining"
status_full = " "
status_bat = " "
status_chr = " "
status_unk = " "
format = " %status %percentage %remaining"
status_full = " "
status_bat = " "
status_chr = " "
status_unk = " "
}
volume master {
format = " %volume"
format_muted = " muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
format = " %volume"
format_muted = " muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
}
tztime local {
format = " %Y-%m-%dT%H:%M:%S"
format = " %Y-%m-%dT%H:%M:%S"
}
load {
format = " %1min %5min"
format = " %1min %5min"
}
cpu_usage {
format = " %usage"
format = " %usage"
}
disk "/" {
format = " %avail (%percentage_avail)"
format = " %avail (%percentage_avail)"
}
disk "/home" {
format = "  %avail (%percentage_avail)"
format = "  %avail (%percentage_avail)"
}
read_file unreadmail {