disable app pinning to taskbar, now kde managed
This commit is contained in:
parent
044e79b3c5
commit
26cf1cd241
4 changed files with 0 additions and 42 deletions
|
|
@ -1,21 +1,6 @@
|
|||
{ config, pkgs, lib, home-manager, ... }:
|
||||
|
||||
{
|
||||
# Define the module option for pinned applications
|
||||
options.desktop.plasma.pinnedApps = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [];
|
||||
description = "List of applications to pin to the Plasma taskbar";
|
||||
};
|
||||
|
||||
config = {
|
||||
# Add this module's pinned applications
|
||||
desktop.plasma.pinnedApps = [
|
||||
"org.kde.konsole.desktop" # Terminal
|
||||
"org.kde.dolphin.desktop" # Folder explorer
|
||||
"firefox.desktop" # Firefox browser
|
||||
"tigervnc.desktop" # TigerVNC
|
||||
];
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.displayManager.sddm.enable = true;
|
||||
|
|
@ -64,13 +49,4 @@
|
|||
discover
|
||||
];
|
||||
|
||||
# Plasma taskbar pinning configuration for all users
|
||||
# Pinned applications are defined in each desktop module and merged here
|
||||
home-manager.sharedModules = [{
|
||||
xdg.configFile."plasma-org.kde.plasma.desktop-appletsrc".text = ''
|
||||
[Containments][1][Applets][2][Configuration][General]
|
||||
launchers=${lib.concatStringsSep "," (map (app: "applications:${app}") config.desktop.plasma.pinnedApps)}
|
||||
'';
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue