Switch i3status to i3status-rust.
This commit is contained in:
parent
3a1889a155
commit
f55386504a
|
@ -68,7 +68,7 @@
|
||||||
windowManager.i3 = {
|
windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
i3status
|
i3status-rust
|
||||||
rofi
|
rofi
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -45,7 +45,7 @@ workspace $ws3 gaps inner 10
|
||||||
bar {
|
bar {
|
||||||
output primary # Only output to the primary display.
|
output primary # Only output to the primary display.
|
||||||
position bottom # Position at the bottom of the screen.
|
position bottom # Position at the bottom of the screen.
|
||||||
status_command i3status # Use i3status for the status contents.
|
status_command i3status-rs # Use i3status-rust for the status contents.
|
||||||
tray_output primary # Show tray icons on the primary display.
|
tray_output primary # Show tray icons on the primary display.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[[block]]
|
||||||
|
block = "time"
|
||||||
|
format = "$timestamp.datetime(f:'%H:%M')"
|
||||||
|
interval = 5
|
||||||
|
timezone = "US/Central"
|
||||||
|
|
||||||
|
[[block]]
|
||||||
|
block = "time"
|
||||||
|
format = "$timestamp.datetime(f:'%H:%M')"
|
||||||
|
interval = 5
|
||||||
|
timezone = "Europe/Brussels"
|
|
@ -1,18 +0,0 @@
|
||||||
general {
|
|
||||||
colors = true
|
|
||||||
interval = 5
|
|
||||||
output_format = "i3bar"
|
|
||||||
}
|
|
||||||
|
|
||||||
tztime eu_brussels {
|
|
||||||
format = "%H:%M"
|
|
||||||
timezone = "Europe/Brussels"
|
|
||||||
}
|
|
||||||
|
|
||||||
tztime us_central {
|
|
||||||
format = "%H:%M"
|
|
||||||
timezone = "US/Central"
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "tztime us_central"
|
|
||||||
order += "tztime eu_brussels"
|
|
Loading…
Reference in New Issue