mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-01-23 12:48:35 +01:00
Add 24h time format option THANKS TO JERRY
This commit is contained in:
commit
0ec84bb820
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
palette = config.colorScheme.palette;
|
||||
inherit (import ../../options.nix) slickbar;
|
||||
inherit (import ../../options.nix) slickbar clock24h;
|
||||
in with lib; {
|
||||
# Configure & Theme Waybar
|
||||
programs.waybar = {
|
||||
@ -26,7 +26,8 @@ in with lib; {
|
||||
on-scroll-down = "hyprctl dispatch workspace e-1";
|
||||
};
|
||||
"clock" = {
|
||||
format = "{: %I:%M %p}";
|
||||
format = if clock24h == true then ''{: %H:%M}''
|
||||
else ''{: %I:%M %p}'';
|
||||
tooltip = false;
|
||||
};
|
||||
"hyprland/window" = {
|
||||
|
@ -25,6 +25,7 @@ in {
|
||||
terminal = "alacritty";
|
||||
|
||||
# System Settings
|
||||
clock24h = false;
|
||||
theLocale = "en_US.UTF-8";
|
||||
theKBDLayout = "us";
|
||||
theSecondKBDLayout = "pl";
|
||||
|
Loading…
Reference in New Issue
Block a user