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 # This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango). # 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: # 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+9 workspace 9
bindsym Mod4+0 workspace 10 bindsym Mod4+0 workspace 10
bindsym Mod4+Tab workspace next bindsym Mod4+Tab workspace next
bindsym Mod4+Sift+Tab workspace prev bindsym Mod4+Shift+Tab workspace prev
bindsym Mod4+z workspace back_and_forth bindsym Mod4+z workspace back_and_forth
# move focused container to workspace # 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 # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
#status_command i3status status_command i3status
status_command statusbar #status_command statusbar
tray_output primary #tray_output all
} }
## Commands for specific windows ## Commands for specific windows

View file

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