# **************************************************************************** # # # # ::: :::::::: # # polybar.nix :+: :+: :+: # # +:+ +:+ +:+ # # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2025/02/10 02:51:32 by tomoron #+# #+# # # Updated: 2025/02/10 17:28:27 by tomoron ### ########.fr # # # # **************************************************************************** # { lib, config, ... }: { config = lib.mkIf config.mods.x11.enable { services.polybar.enable = true; services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&"; services.polybar.config = { "global/wm" = { margin-bottom = 0; margin-top = 0; }; color = { background = "#AA111111"; foreground = "#CCCCCC"; foreground-alt = "#FFFFFF"; alpha = "#00000000"; shade1 = "#AAFFFFFF"; shade2 = "#AAFF0000"; }; "module/memory" = { type = "internal/memory"; interval = 1; format = "