summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-05-01 11:35:45 +0200
committerMarc Vertes <mvertes@free.fr>2020-05-01 11:35:45 +0200
commitd55267d35d24d2e9932328360556de69d59b2a3c (patch)
tree340184aa07a576ad3721760ce46e83735261e6b9
parent96a511247bcf038e6dacf25065084a241fab9d80 (diff)
update status bar
-rw-r--r--.config/i3/config8
-rw-r--r--.i3status.conf15
2 files changed, 14 insertions, 9 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 3fee03e..aca8f3c 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -89,8 +89,10 @@ bindsym --release button2 kill
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
-bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -fn 'Mono-9'"
-bindsym F1 exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -fn 'Mono-9'"
+#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -i -fn 'Mono-9'"
+#bindsym F1 exec --no-startup-id i3-dmenu-desktop -dmenu="dmenu -i -fn 'Mono-9'"
+bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
+bindsym F1 exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+j focus left
@@ -224,6 +226,6 @@ bindsym $mod+less move workspace to output left
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
- status_command i3status
+ status_command LANG=fr_FR.UTF-8 i3status
tray_output primary
}
diff --git a/.i3status.conf b/.i3status.conf
index d554b46..f01681f 100644
--- a/.i3status.conf
+++ b/.i3status.conf
@@ -18,13 +18,14 @@ order += "battery all"
order += "disk /"
order += "disk /home"
order += "cpu_usage"
-order += "load"
+#order += "load"
order += "memory"
order += "cpu_temperature 0"
order += "tztime local"
wireless _first_ {
- format_up = "W: %essid %quality %ip"
+# format_up = "W: %essid %quality %ip"
+ format_up = "W: %essid %quality"
format_down = "W: down"
}
@@ -34,8 +35,9 @@ wireless _first_ {
#}
battery all {
+ last_full_capacity = true
integer_battery_capacity = true
- format = "Power: %status %percentage %remaining"
+ format = "%status %percentage %remaining"
threshold_type = "percentage"
low_threshold = 10
}
@@ -52,7 +54,7 @@ battery all {
#}
disk "/" {
- format = "Disk avail: / %avail"
+ format = "/ %avail"
}
disk "/home" {
@@ -68,7 +70,7 @@ load {
}
memory {
- format = "Mem: %used | %available"
+ format = "RAM: %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
@@ -79,5 +81,6 @@ cpu_temperature 0 {
}
tztime local {
- format = "%Y-%m-%d %H:%M:%S"
+ #format = "%Y-%m-%d %H:%M:%S"
+ format = "%a %d %b %H:%M:%S"
}