From 9287ff023db181bc778bda5352e2f57a7cb0eb2a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:01:23 +0400 Subject: [PATCH] migrate to ags v2 --- config/hyprland/hyprland.conf | 2 +- modules/desktop/hyprland/default.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/config/hyprland/hyprland.conf b/config/hyprland/hyprland.conf index de680d33..f49a8d7d 100644 --- a/config/hyprland/hyprland.conf +++ b/config/hyprland/hyprland.conf @@ -28,7 +28,7 @@ exec-once = dbus-update-activation-environment --systemd --all exec-once = hyprpaper # bar # exec-once = /home/sako/.config/waybar/launch-waybar.sh -exec-once = /home/sako/.config/ags/launch-ags.sh +exec-once = sakoshell # notification dameon exec-once = mako # exec-once = /home/sako/.config/ags/launch-ags.sh diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index efd5a241..587cbe8b 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -89,6 +89,20 @@ in { # lock # swaylock inputs.ags.packages.${pkgs.system}.default + (inputs.ags.lib.bundle { + inherit pkgs; + src = ../../../config/ags; + name = "sakoshell"; + entry = "app.ts"; + extraPackages = [ + inputs.ags.packages.${pkgs.system}.hyprland + inputs.ags.packages.${pkgs.system}.mpris + inputs.ags.packages.${pkgs.system}.battery + inputs.ags.packages.${pkgs.system}.wireplumber + inputs.ags.packages.${pkgs.system}.network + inputs.ags.packages.${pkgs.system}.tray + ]; + }) brightnessctl inotify-tools greetd.tuigreet