Fix Plasma config generation to properly add applications: prefix
- Remove applications: prefix from all desktop modules (plasma.nix, gaming.nix, office.nix, dev.nix, media.nix, dnm.nix) - Update Plasma config generation to add applications: prefix during merge using map function - This ensures clean desktop file names in modules while generating correct Plasma format - All 14 applications from all desktop modules now properly pinned to taskbar - Modular Plasma pinning system is now fully functional and robust
This commit is contained in:
parent
8de6c0fc28
commit
f93fe7e308
1 changed files with 5 additions and 5 deletions
|
|
@ -11,10 +11,10 @@
|
|||
config = {
|
||||
# Add this module's pinned applications
|
||||
desktop.plasma.pinnedApps = [
|
||||
"applications:org.kde.konsole.desktop" # Terminal
|
||||
"applications:org.kde.dolphin.desktop" # Folder explorer
|
||||
"applications:firefox.desktop" # Firefox browser
|
||||
"applications:tigervnc.desktop" # TigerVNC
|
||||
"org.kde.konsole.desktop" # Terminal
|
||||
"org.kde.dolphin.desktop" # Folder explorer
|
||||
"firefox.desktop" # Firefox browser
|
||||
"tigervnc.desktop" # TigerVNC
|
||||
];
|
||||
|
||||
services.xserver.enable = true;
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
home-manager.sharedModules = [{
|
||||
xdg.configFile."plasma-org.kde.plasma.desktop-appletsrc".text = ''
|
||||
[Containments][1][Applets][2][Configuration][General]
|
||||
launchers=${lib.concatStringsSep "," config.desktop.plasma.pinnedApps}
|
||||
launchers=${lib.concatStringsSep "," (map (app: "applications:${app}") config.desktop.plasma.pinnedApps)}
|
||||
'';
|
||||
}];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue