From 0e1deb03388e06f92d35811857d76a3d1a17c4cc Mon Sep 17 00:00:00 2001 From: bricked Date: Wed, 3 Jul 2024 08:31:10 +0200 Subject: [PATCH] ags: fix icons --- modules/home/ags/default.nix | 9 ++++++++- modules/home/ags/widget/PowerMenu.ts | 11 ++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/modules/home/ags/default.nix b/modules/home/ags/default.nix index c1222d7..5512056 100644 --- a/modules/home/ags/default.nix +++ b/modules/home/ags/default.nix @@ -25,6 +25,13 @@ in { ''; }; }; - home.packages = with pkgs; [bun prefetch-npm-deps]; + gtk = { + enable = true; + iconTheme = { + name = "MoreWaita"; + package = pkgs.morewaita-icon-theme; + }; + }; + home.packages = with pkgs; [bun prefetch-npm-deps gnome.adwaita-icon-theme morewaita-icon-theme]; }; } diff --git a/modules/home/ags/widget/PowerMenu.ts b/modules/home/ags/widget/PowerMenu.ts index 8910a78..2c4a4bb 100644 --- a/modules/home/ags/widget/PowerMenu.ts +++ b/modules/home/ags/widget/PowerMenu.ts @@ -4,10 +4,11 @@ export const PowerButton = (command: string, icon: string) => child: Widget.Icon(icon), }); -export const PowerMenu = () => - Widget.Box({ - className: "powermenu", - children: [PowerButton("shutdown now", "nixos-symbolic")], - }); +export const PowerMenu = () => Widget.Box({ + className: "powermenu", + children: [ + PowerButton("shutdown now", "system-shutdown-symbolic") + ] +}) export default PowerMenu;