diff --git a/.bauke/nix/stardust/programs-services.nix b/.bauke/nix/stardust/programs-services.nix index 4e0ed7f..248d41e 100644 --- a/.bauke/nix/stardust/programs-services.nix +++ b/.bauke/nix/stardust/programs-services.nix @@ -68,7 +68,7 @@ windowManager.i3 = { enable = true; extraPackages = with pkgs; [ - i3status + i3status-rust rofi ]; }; diff --git a/.config/i3/config b/.config/i3/config index 59eda70..bfa40f4 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -43,10 +43,10 @@ workspace $ws3 gaps inner 10 # Configuration for i3bar. bar { - output primary # Only output to the primary display. - position bottom # Position at the bottom of the screen. - status_command i3status # Use i3status for the status contents. - tray_output primary # Show tray icons on the primary display. + output primary # Only output to the primary display. + position bottom # Position at the bottom of the screen. + status_command i3status-rs # Use i3status-rust for the status contents. + tray_output primary # Show tray icons on the primary display. } # Assign clients to specific workspaces. diff --git a/.config/i3status-rust/config.toml b/.config/i3status-rust/config.toml new file mode 100644 index 0000000..240244c --- /dev/null +++ b/.config/i3status-rust/config.toml @@ -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" diff --git a/.config/i3status/config b/.config/i3status/config deleted file mode 100644 index c25ec41..0000000 --- a/.config/i3status/config +++ /dev/null @@ -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"