From 10312c08bab186b4f57aafa6aa4a1702f66f4a62 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 22 Apr 2024 10:47:55 +0900 Subject: [PATCH] Testing --- home-manager/common/desktops/xfce/default.nix | 7 +++++++ .../xfce/panel/launcher-17/app-launcher.desktop | 12 ++++++++++++ .../common/desktops/xfce/xfconf/xfce4-panel.xml | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 home-manager/common/desktops/xfce/panel/launcher-17/app-launcher.desktop diff --git a/home-manager/common/desktops/xfce/default.nix b/home-manager/common/desktops/xfce/default.nix index ea666e49..4ecb2fa9 100644 --- a/home-manager/common/desktops/xfce/default.nix +++ b/home-manager/common/desktops/xfce/default.nix @@ -59,4 +59,11 @@ target = "xfce4/xfconf/xfce-perchannel-xml/xsettings.xml"; text = builtins.readFile ./xfconf/xsettings.xml; }; + + # Application launcher for the panel + xdg.configFile."app-launcher" = { + enable = true; + target = "xfce4/xfconf/panel/launcher-17/app-launcher.desktop"; + text = builtins.readFile ./panel/launcher-17/app-launcher.desktop; + }; } diff --git a/home-manager/common/desktops/xfce/panel/launcher-17/app-launcher.desktop b/home-manager/common/desktops/xfce/panel/launcher-17/app-launcher.desktop new file mode 100644 index 00000000..1cff723a --- /dev/null +++ b/home-manager/common/desktops/xfce/panel/launcher-17/app-launcher.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Exec=xfce4-appfinder +Icon=org.xfce.appfinder +StartupNotify=true +Terminal=false +Type=Application +Categories=Utility;X-XFCE; +Name=Application Finder +Comment=Find and launch applications installed on your system +Keywords=program;applications;bookmarks; +X-XFCE-Source=file:///run/current-system/sw/share/applications/xfce4-appfinder.desktop diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml index 3356604c..5e8b83c0 100644 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml @@ -77,7 +77,7 @@ - +