More plasma desktop customisation

Move plasma-manager import to plasma config file, no need to import if
not using plasma desktop

Add libnotify to default installed packages for desktop environment
This commit is contained in:
Evie Litherland-Smith 2024-07-19 08:52:17 +01:00
parent 79c9398cfe
commit ecc54c5cf9
3 changed files with 45 additions and 8 deletions

View file

@ -35,8 +35,9 @@
base16, base16,
tt-schemes, tt-schemes,
... ...
}: let } @ inputs: let
defaultSpecialArgs = {system ? "x86_64-linux", ...}: { defaultSpecialArgs = {system ? "x86_64-linux", ...}: {
inherit inputs;
iosevkaCustom = { iosevkaCustom = {
packages = iosevka-custom.outputs.packages.${system}; packages = iosevka-custom.outputs.packages.${system};
names = iosevka-custom.outputs.names; names = iosevka-custom.outputs.names;
@ -48,7 +49,7 @@
names = iosevka-custom.outputs.names; names = iosevka-custom.outputs.names;
}; };
in { in {
inherit iosevkaCustom; inherit inputs iosevkaCustom;
inherit (plasma-manager.packages.${system}) rc2nix; inherit (plasma-manager.packages.${system}) rc2nix;
accentColourName = "base0E"; accentColourName = "base0E";
fonts = with iosevkaCustom; rec { fonts = with iosevkaCustom; rec {
@ -106,7 +107,6 @@
backupFileExtension = "backup"; backupFileExtension = "backup";
users.${username} = { users.${username} = {
imports = [ imports = [
plasma-manager.homeManagerModules.plasma-manager
base16.homeManagerModule base16.homeManagerModule
{scheme = "${tt-schemes}/base16/one-light.yaml";} {scheme = "${tt-schemes}/base16/one-light.yaml";}
./home/default.nix ./home/default.nix

View file

@ -2,12 +2,14 @@
config, config,
lib, lib,
pkgs, pkgs,
inputs,
fonts, fonts,
rc2nix, rc2nix,
accentColourName, accentColourName,
... ...
}: { }: {
imports = [ imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
../default.nix ../default.nix
./konsole.nix ./konsole.nix
]; ];
@ -163,6 +165,9 @@
"Switch Window Left" = "Meta+H"; "Switch Window Left" = "Meta+H";
"Switch Window Right" = "Meta+L"; "Switch Window Right" = "Meta+L";
"Switch Window Up" = "Meta+K"; "Switch Window Up" = "Meta+K";
"Invert" = "Meta+Ctrl+I";
"InvertWindow" = "Meta+Ctrl+U";
"Invert Screen Colors" = [];
}; };
"services/org.kde.konsole.desktop"."_launch" = []; "services/org.kde.konsole.desktop"."_launch" = [];
"services/org.kde.krunner.desktop"."_launch" = ["Meta+Space" "Search" "Alt+F2"]; "services/org.kde.krunner.desktop"."_launch" = ["Meta+Space" "Search" "Alt+F2"];
@ -183,9 +188,19 @@
configFile = { configFile = {
baloofilerc."Basic Settings"."Indexing-Enabled" = false; baloofilerc."Basic Settings"."Indexing-Enabled" = false;
plasmanotifyrc.Notifications.NormalAlwaysOnTop = true; bluedevilglobalrc.Global.launchState.value = "disable";
kcminputrc.Keyboard.NumLock = 1; kcminputrc.Keyboard.NumLock = 1;
krunnerrc.General.FreeFloating = true; plasmanotifyrc = {
Notifications = {
NormalAlwaysOnTop = true;
};
};
krunnerrc = {
General = {
ActivateWhenTypingOnDesktop = false;
FreeFloating = true;
};
};
kscreenlockerrc = { kscreenlockerrc = {
Daemon.Timeout = 15; Daemon.Timeout = 15;
Greeter.WallpaperPlugin = "org.kde.potd"; Greeter.WallpaperPlugin = "org.kde.potd";
@ -227,11 +242,32 @@
inactiveForeground = "112,125,138"; inactiveForeground = "112,125,138";
}; };
}; };
breezerc = {
Common = {
OutlineClassButton = true;
ShadowSize = "ShadowVeryLarge";
ShadowStrength = "128";
};
Style = {
MenuOpacity = "80";
};
};
dolphinrc = {
ContentDisplay = {
UsePermissionsFormat = "CombinedFormat";
};
General = {
BrowseThroughArchives = true;
OpenNewTabAfterLastTab = true;
RememberOpenedTabs = false;
};
};
kwinrc = { kwinrc = {
Plugins = { Plugins = {
frozenappEnabled = false; frozenappEnabled = false;
mouseclickEnabled = true; mouseclickEnabled = true;
shakecursorEnabled = false; shakecursorEnabled = false;
invertEnabled = true;
}; };
Windows = { Windows = {
FocusPolicy = "FocusFollowsMouse"; FocusPolicy = "FocusFollowsMouse";
@ -248,9 +284,9 @@
# blur to all windows # blur to all windows
Inactive = 100; Inactive = 100;
MoveResize = 100; MoveResize = 100;
Dialogs = 100; Dialogs = 50;
ComboboxPopups = 100; ComboboxPopups = 50;
Menus = 100; Menus = 50;
}; };
"org.kde.kdecoration2" = { "org.kde.kdecoration2" = {
BorderSize = "None"; BorderSize = "None";

View file

@ -14,6 +14,7 @@
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
libsecret libsecret
libnotify
xdg-utils xdg-utils
hunspell hunspell
hunspellDicts.en_GB-large hunspellDicts.en_GB-large