diff --git a/nixos/home/default.nix b/nixos/home/default.nix index edbb46a..e8f349c 100644 --- a/nixos/home/default.nix +++ b/nixos/home/default.nix @@ -7,5 +7,6 @@ ./firefox.nix ./neovim.nix ./polybar.nix + ./yambar.nix ]; } diff --git a/nixos/home/polybar.nix b/nixos/home/polybar.nix index deeba42..59d9d49 100644 --- a/nixos/home/polybar.nix +++ b/nixos/home/polybar.nix @@ -20,13 +20,15 @@ foreground = foreground; width = "100%"; height = 32; - font-0 = "GohuFont:style=Regular:pixelsize=11;3"; + font-0 = "GohuFont:style=Regular:size=11:antialias=false;3"; modules-left = "xworkspaces audio"; modules-right = "cpu memory date"; module-margin = 1; offset-y = 14; padding = 2; bottom = true; + dpi-x = 96; + dpi-y = 96; }; "module/cpu" = { diff --git a/nixos/home/yambar.nix b/nixos/home/yambar.nix new file mode 100644 index 0000000..c0e44ab --- /dev/null +++ b/nixos/home/yambar.nix @@ -0,0 +1,26 @@ +{ ... }: { + programs.yambar = { + enable = true; + settings = { + bar = { + location = "top"; + height = 26; + background = "00000066"; + + right = [ + { + clock = { + date-format = "%b %d %y"; + time-format = "%I:%M %p"; + content = [ + { + string.text = "{date} {time}"; + } + ]; + }; + } + ]; + }; + }; + }; +} diff --git a/nixos/packages.nix b/nixos/packages.nix index 7097546..8832268 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -62,6 +62,7 @@ xdotool xorg.xev xorg.xwininfo + yambar # misc catppuccin-sddm steam-run