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