adding waybar clock tooltip, and improving impermanence

This commit is contained in:
Tyler Kelley 2024-02-11 21:44:06 -06:00
commit 9462cb8e35
3 changed files with 6 additions and 3 deletions

View File

@ -27,4 +27,5 @@ in {
];
programs.gh.enable = true;
programs.fuse.userAllowOther = true;
}

View File

@ -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,9 +26,10 @@ in with lib; {
on-scroll-down = "hyprctl dispatch workspace e-1";
};
"clock" = {
format = "{: %I:%M %p}";
tooltip-format = "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>";
format = if clock24h == true then ''{: %H:%M}''
else ''{: %I:%M %p}'';
tooltip = true;
tooltip-format = "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>";
};
"hyprland/window" = {
max-length = 25;

View File

@ -25,6 +25,7 @@ in {
terminal = "alacritty";
# System Settings
clock24h = false;
theLocale = "en_US.UTF-8";
theKBDLayout = "us";
theSecondKBDLayout = "pl";