shorten and fix plasma manager and fix the theming

This commit is contained in:
Lillian Violet 2026-03-02 20:03:48 +01:00
parent 6509938ae2
commit 1f40407d55
3 changed files with 35 additions and 17 deletions

View file

@ -190,22 +190,6 @@
#watchmate #watchmate
qbittorrent qbittorrent
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-sddm-corners
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-sddm-corners
# Web browsing: # Web browsing:
firefoxpwa firefoxpwa
ungoogled-chromium ungoogled-chromium

View file

@ -2,8 +2,14 @@
osConfig, osConfig,
pkgs, pkgs,
config, config,
lib,
... ...
}: { }: {
#TODO remove this after the bug fixed
programs.plasma.startup.desktopScript."panels".preCommands = lib.mkForce ''
sleep 3
[ -f ${config.xdg.configHome}/plasma-org.kde.plasma.desktop-appletsrc ] && rm ${config.xdg.configHome}/plasma-org.kde.plasma.desktop-appletsrc
'';
#TODO: make the creation of the command file easier, for now this is a nice solution though #TODO: make the creation of the command file easier, for now this is a nice solution though
systemd.user.services."set-kde-connect-commands" = { systemd.user.services."set-kde-connect-commands" = {
Install = { Install = {
@ -101,6 +107,28 @@
enable = true; enable = true;
desktop.mouseActions.verticalScroll = "switchVirtualDesktop"; desktop.mouseActions.verticalScroll = "switchVirtualDesktop";
kscreenlocker.appearance.wallpaper = "${osConfig.stylix.image}"; kscreenlocker.appearance.wallpaper = "${osConfig.stylix.image}";
input.keyboard.options = ["compose:caps_toggle"];
kwin = {
nightLight = {
enable = true;
mode = "location";
location = {
longitude = "4.88969";
latitude = "52.37403";
};
temperature = {
night = 2400;
};
};
effects = {
wobblyWindows.enable = true;
zoom.mouseTracking = "centered";
};
virtualDesktops = {
number = 4;
rows = 2;
};
};
fonts = { fonts = {
fixedWidth = { fixedWidth = {
pointSize = 11; pointSize = 11;
@ -276,5 +304,11 @@
"services/services.services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"]; "services/services.services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"];
"services/services.services.org.kde.spectacle.desktop"."_launch" = "Print"; "services/services.services.org.kde.spectacle.desktop"."_launch" = "Print";
}; };
configFile = {
kwinrc."Tiling/8bc14a22-208f-4499-aeff-ba85e134c9ef/571267c2-b87a-46ea-9173-b5cacff0ebb0".padding = 0;
kwinrc."Tiling/8bc14a22-208f-4499-aeff-ba85e134c9ef/571267c2-b87a-46ea-9173-b5cacff0ebb0".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5},{\"width\":0.5}]}";
kwinrc."Tiling/8bc14a22-208f-4499-aeff-ba85e134c9ef/88c5aae3-1a0f-4571-a7f3-5ae5c74a2282".padding = 0;
kwinrc."Tiling/8bc14a22-208f-4499-aeff-ba85e134c9ef/88c5aae3-1a0f-4571-a7f3-5ae5c74a2282".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5},{\"width\":0.5}]}";
};
}; };
} }

View file

@ -116,7 +116,7 @@
# targets.qt.platform = "kde6"; # targets.qt.platform = "kde6";
autoEnable = true; autoEnable = true;
base16Scheme = { base16Scheme = {
scheme = "Catppuccin Macchiato"; scheme = "Catppuccin Macchiato Mauve";
author = "https://github.com/catppuccin/catppuccin"; author = "https://github.com/catppuccin/catppuccin";
base00 = "24273a"; base00 = "24273a";
base01 = "1e2030"; base01 = "1e2030";