diff --git a/flake.nix b/flake.nix index efa227a2..1e6812c0 100644 --- a/flake.nix +++ b/flake.nix @@ -35,8 +35,9 @@ base16, tt-schemes, ... - }: let + } @ inputs: let defaultSpecialArgs = {system ? "x86_64-linux", ...}: { + inherit inputs; iosevkaCustom = { packages = iosevka-custom.outputs.packages.${system}; names = iosevka-custom.outputs.names; @@ -48,7 +49,7 @@ names = iosevka-custom.outputs.names; }; in { - inherit iosevkaCustom; + inherit inputs iosevkaCustom; inherit (plasma-manager.packages.${system}) rc2nix; accentColourName = "base0E"; fonts = with iosevkaCustom; rec { @@ -106,7 +107,6 @@ backupFileExtension = "backup"; users.${username} = { imports = [ - plasma-manager.homeManagerModules.plasma-manager base16.homeManagerModule {scheme = "${tt-schemes}/base16/one-light.yaml";} ./home/default.nix diff --git a/home/desktop/plasma/default.nix b/home/desktop/plasma/default.nix index 64a21787..f7fdc7c6 100644 --- a/home/desktop/plasma/default.nix +++ b/home/desktop/plasma/default.nix @@ -2,12 +2,14 @@ config, lib, pkgs, + inputs, fonts, rc2nix, accentColourName, ... }: { imports = [ + inputs.plasma-manager.homeManagerModules.plasma-manager ../default.nix ./konsole.nix ]; @@ -163,6 +165,9 @@ "Switch Window Left" = "Meta+H"; "Switch Window Right" = "Meta+L"; "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.krunner.desktop"."_launch" = ["Meta+Space" "Search" "Alt+F2"]; @@ -183,9 +188,19 @@ configFile = { baloofilerc."Basic Settings"."Indexing-Enabled" = false; - plasmanotifyrc.Notifications.NormalAlwaysOnTop = true; + bluedevilglobalrc.Global.launchState.value = "disable"; kcminputrc.Keyboard.NumLock = 1; - krunnerrc.General.FreeFloating = true; + plasmanotifyrc = { + Notifications = { + NormalAlwaysOnTop = true; + }; + }; + krunnerrc = { + General = { + ActivateWhenTypingOnDesktop = false; + FreeFloating = true; + }; + }; kscreenlockerrc = { Daemon.Timeout = 15; Greeter.WallpaperPlugin = "org.kde.potd"; @@ -227,11 +242,32 @@ 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 = { Plugins = { frozenappEnabled = false; mouseclickEnabled = true; shakecursorEnabled = false; + invertEnabled = true; }; Windows = { FocusPolicy = "FocusFollowsMouse"; @@ -248,9 +284,9 @@ # blur to all windows Inactive = 100; MoveResize = 100; - Dialogs = 100; - ComboboxPopups = 100; - Menus = 100; + Dialogs = 50; + ComboboxPopups = 50; + Menus = 50; }; "org.kde.kdecoration2" = { BorderSize = "None"; diff --git a/system/desktop/default.nix b/system/desktop/default.nix index 037570a9..dfd633a7 100644 --- a/system/desktop/default.nix +++ b/system/desktop/default.nix @@ -14,6 +14,7 @@ }; systemPackages = with pkgs; [ libsecret + libnotify xdg-utils hunspell hunspellDicts.en_GB-large