From e68e2f536f9acdac4c68ac286dd360c9aaddafca Mon Sep 17 00:00:00 2001 From: moons Date: Fri, 31 Jul 2026 13:26:27 +0900 Subject: [PATCH] remove app list --- modules/applications/noctalia/home.nix | 11 ++++- modules/applications/nwg-drawer/home.nix | 28 ------------ modules/applications/nwg-drawer/meta.nix | 3 -- modules/profiles/README.md | 5 +-- .../profiles/interface/linux-desktop/meta.nix | 1 - modules/services/fusuma/home.nix | 44 ------------------- modules/services/fusuma/meta.nix | 5 --- modules/services/fusuma/nixos.nix | 5 --- 8 files changed, 12 insertions(+), 90 deletions(-) delete mode 100644 modules/applications/nwg-drawer/home.nix delete mode 100644 modules/applications/nwg-drawer/meta.nix delete mode 100644 modules/services/fusuma/home.nix delete mode 100644 modules/services/fusuma/meta.nix delete mode 100644 modules/services/fusuma/nixos.nix diff --git a/modules/applications/noctalia/home.nix b/modules/applications/noctalia/home.nix index a401fa6..5d7cbb3 100644 --- a/modules/applications/noctalia/home.nix +++ b/modules/applications/noctalia/home.nix @@ -86,7 +86,10 @@ in "cpu-graph" "ram" ]; - center = [ "workspaces" ]; + center = [ + "app-launcher" + "workspaces" + ]; end = [ "media" "spacer" @@ -104,6 +107,12 @@ in }; widget = { + app-launcher = { + type = "custom_button"; + glyph = "apps"; + command = "vicinae toggle"; + tooltip = "Applications"; + }; cpu = { type = "sysmon"; stat = "cpu_usage"; diff --git a/modules/applications/nwg-drawer/home.nix b/modules/applications/nwg-drawer/home.nix deleted file mode 100644 index 4622c39..0000000 --- a/modules/applications/nwg-drawer/home.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, pkgs, ... }: -let - nwgDrawer = lib.getExe pkgs.nwg-drawer; -in -{ - home.packages = [ pkgs.nwg-drawer ]; - - # Keep the application grid resident so touchpad gestures can show it - # immediately instead of rebuilding the desktop-entry cache each time. - systemd.user.services.nwg-drawer = { - Unit = { - Description = "Resident nwg-drawer application grid"; - Documentation = [ "https://github.com/nwg-piotr/nwg-drawer" ]; - PartOf = [ "graphical-session.target" ]; - After = [ "graphical-session.target" ]; - }; - - Service = { - # Use niri's spawn action when available; nwg-drawer falls back to a - # direct launch under labwc. - ExecStart = "${nwgDrawer} -r -ovl -wm niri -closebtn right -fm nautilus -term ghostty"; - Restart = "on-failure"; - RestartSec = 2; - }; - - Install.WantedBy = [ "graphical-session.target" ]; - }; -} diff --git a/modules/applications/nwg-drawer/meta.nix b/modules/applications/nwg-drawer/meta.nix deleted file mode 100644 index 815dc17..0000000 --- a/modules/applications/nwg-drawer/meta.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - description = "Full-screen Wayland application drawer"; -} diff --git a/modules/profiles/README.md b/modules/profiles/README.md index e1c9746..528ad34 100644 --- a/modules/profiles/README.md +++ b/modules/profiles/README.md @@ -50,9 +50,8 @@ when removing it from any supported host would make that host invalid. Select independent concerns independently in `hosts/default.nix`. For example, a NixOS desktop can combine `interface.labwc` and `interface.niri` to provide both sessions while sharing `interface.linux-desktop` and `interface.gui`. -The shared Linux desktop profile provides the resident application drawer and -four-finger pinch gesture service; both session profiles select ly. A -daily-use macOS development machine can combine `interface.macos`, +The shared Linux desktop profile provides the common desktop applications; both +session profiles select ly. A daily-use macOS development machine can combine `interface.macos`, `workload.development`, and `workload.personal`. Hardware support does not implicitly select an interface or workload. diff --git a/modules/profiles/interface/linux-desktop/meta.nix b/modules/profiles/interface/linux-desktop/meta.nix index 96650a2..43bcc5a 100644 --- a/modules/profiles/interface/linux-desktop/meta.nix +++ b/modules/profiles/interface/linux-desktop/meta.nix @@ -8,7 +8,6 @@ "applications.gtk" "applications.nautilus" "hardwares.graphics" - "services.fusuma" "systems.audio" "systems.fonts" ]; diff --git a/modules/services/fusuma/home.nix b/modules/services/fusuma/home.nix deleted file mode 100644 index 8d79c9d..0000000 --- a/modules/services/fusuma/home.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, pkgs, ... }: -let - fusuma = lib.getExe pkgs.fusuma; - nwgDrawer = lib.getExe pkgs.nwg-drawer; -in -{ - home.packages = [ pkgs.fusuma ]; - - xdg.configFile."fusuma/config.yml".text = '' - pinch: - 4: - in: - command: "${nwgDrawer} -open" - out: - command: "${nwgDrawer} -close" - - threshold: - pinch: 0.5 - - interval: - pinch: 0.5 - ''; - - systemd.user.services.fusuma = { - Unit = { - Description = "Fusuma multitouch gesture recognizer"; - Documentation = [ "https://github.com/iberianpig/fusuma" ]; - Requires = [ "nwg-drawer.service" ]; - PartOf = [ "graphical-session.target" ]; - After = [ - "graphical-session.target" - "nwg-drawer.service" - ]; - }; - - Service = { - ExecStart = fusuma; - Restart = "on-failure"; - RestartSec = 3; - }; - - Install.WantedBy = [ "graphical-session.target" ]; - }; -} diff --git a/modules/services/fusuma/meta.nix b/modules/services/fusuma/meta.nix deleted file mode 100644 index 0f7368b..0000000 --- a/modules/services/fusuma/meta.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ - description = "Touchpad gesture recognition for Wayland sessions"; - - includes = [ "applications.nwg-drawer" ]; -} diff --git a/modules/services/fusuma/nixos.nix b/modules/services/fusuma/nixos.nix deleted file mode 100644 index 95f096f..0000000 --- a/modules/services/fusuma/nixos.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ primaryUser, ... }: -{ - # Fusuma reads raw touchpad events through libinput. - users.users.${primaryUser}.extraGroups = [ "input" ]; -}