From d232c420b486367792ed45c5272ad7c20a28adcc Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Sat, 8 Nov 2025 12:59:18 -0500 Subject: [PATCH] more plasma changes --- flake.lock | 59 ++++++++++++++++++++- flake.nix | 11 +++- home/alien.nix | 2 - home/all.nix | 137 +++++++++++++++++++++++++++++++++++++++++++++++-- home/peach.nix | 7 +-- hosts/all.nix | 4 ++ 6 files changed, 209 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 499cc62..286a271 100644 --- a/flake.lock +++ b/flake.lock @@ -79,7 +79,7 @@ }, "flake-utils": { "inputs": { - "systems": "systems" + "systems": "systems_2" }, "locked": { "lastModified": 1731533236, @@ -143,6 +143,27 @@ "type": "github" } }, + "kwin-effects-forceblur": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "utils": "utils" + }, + "locked": { + "lastModified": 1755098995, + "narHash": "sha256-6FN7XEf27DenQHDIKjrjOW3tGIaJlyqRlXarmt1v+M0=", + "owner": "taj-ny", + "repo": "kwin-effects-forceblur", + "rev": "51a1d49d7fd7df3ce40ccf6ba4c4410cf6f510e1", + "type": "github" + }, + "original": { + "owner": "taj-ny", + "repo": "kwin-effects-forceblur", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1762363567, @@ -166,7 +187,7 @@ "nixpkgs" ], "nuschtosSearch": "nuschtosSearch", - "systems": "systems_2" + "systems": "systems_3" }, "locked": { "lastModified": 1762523528, @@ -233,6 +254,7 @@ "apple-silicon": "apple-silicon", "catppuccin": "catppuccin", "home-manager": "home-manager", + "kwin-effects-forceblur": "kwin-effects-forceblur", "nixpkgs": "nixpkgs", "nixvim": "nixvim", "plasma-manager": "plasma-manager" @@ -267,6 +289,39 @@ "repo": "default", "type": "github" } + }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index c5bec36..b9cea53 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + kwin-effects-forceblur = { + url = "github:taj-ny/kwin-effects-forceblur"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + apple-silicon = { url = "github:nix-community/nixos-apple-silicon"; inputs.nixpkgs.follows = "nixpkgs"; @@ -38,6 +43,7 @@ home-manager, plasma-manager, nixvim, + kwin-effects-forceblur, apple-silicon, ... }: @@ -50,7 +56,10 @@ }: nixpkgs.lib.nixosSystem { inherit system; - specialArgs = { inherit catppuccin; }; + specialArgs = { + inherit catppuccin; + inputs = { inherit kwin-effects-forceblur; }; + }; modules = [ { nixpkgs.overlays = [ diff --git a/home/alien.nix b/home/alien.nix index e520fcd..91b0430 100644 --- a/home/alien.nix +++ b/home/alien.nix @@ -51,8 +51,6 @@ }; }; } - "org.kde.plasma.panelspacer" - "org.kde.plasma.activitypager" "org.kde.plasma.marginsseparator" { systemTray.items = { diff --git a/home/all.nix b/home/all.nix index cb629b6..efaf83e 100755 --- a/home/all.nix +++ b/home/all.nix @@ -21,6 +21,7 @@ widevine-cdm strawberry-master spotify-player + input-leap kde-rounded-corners kdePackages.partitionmanager @@ -210,6 +211,103 @@ }; lualine = { enable = true; + settings = { + options = { + theme = { + normal = { + a = { + fg = "#1e1e2e"; + bg = "#cba6f7"; + }; + b = { + fg = "#cdd6f4"; + bg = "#313244"; + }; + c = { + fg = "#cdd6f4"; + }; + }; + insert = { + a = { + fg = "#1e1e2e"; + bg = "#89b4fa"; + }; + }; + visual = { + a = { + fg = "#1e1e2e"; + bg = "#94e2d5"; + }; + }; + replace = { + a = { + fg = "#1e1e2e"; + bg = "#f38ba8"; + }; + }; + inactive = { + a = { + fg = "#cdd6f4"; + bg = "#1e1e2e"; + }; + b = { + fg = "#cdd6f4"; + bg = "#1e1e2e"; + }; + c = { + fg = "#cdd6f4"; + }; + }; + }; + component_separators = ""; + section_separators = { + left = ""; + right = ""; + }; + }; + + sections = { + lualine_a = [ + { + __unkeyed-1 = "mode"; + separator = { + left = " "; + }; + right_padding = 2; + } + ]; + lualine_b = [ + "filename" + "branch" + ]; + lualine_c = [ "%=" ]; + lualine_x = [ ]; + lualine_y = [ + "filetype" + "progress" + ]; + lualine_z = [ + { + __unkeyed-1 = "location"; + separator = { + right = " "; + }; + left_padding = 2; + } + ]; + }; + + inactive_sections = { + lualine_a = [ "filename" ]; + lualine_b = [ ]; + lualine_c = [ ]; + lualine_x = [ ]; + lualine_y = [ ]; + lualine_z = [ "location" ]; + }; + tabline = { }; + extensions = [ ]; + }; # autoLoad = true; }; }; @@ -249,6 +347,26 @@ }; window-rules = [ + { + description = "Global Changes"; + match = { + window-class = { + value = ""; + type = "substring"; + }; + window-types = [ "normal" ]; + }; + apply = { + opacityactive = { + value = 100; + apply = "force"; + }; + opacityinactive = { + value = 95; + apply = "force"; + }; + }; + } { description = "OpenMW"; match = { @@ -305,7 +423,6 @@ kwin = { titlebarButtons = { left = [ - "more-window-actions" "on-all-desktops" "keep-below-windows" "keep-above-windows" @@ -342,15 +459,20 @@ navigationWrapping = true; }; dimAdminMode.enable = true; - dimInactive.enable = true; + # dimInactive.enable = true; minimization = { animation = "magiclamp"; - duration = 50; + duration = 500; }; shakeCursor.enable = true; snapHelper.enable = true; translucency.enable = true; windowOpenClose.animation = "fade"; + blur = { + enable = false; + noiseStrength = 8; + strength = 5; + }; }; }; @@ -369,6 +491,15 @@ kwinrc.Round-Corners.InactiveSecondOutlineUseCustom = false; kwinrc.Round-Corners.InactiveSecondOutlineUsePalette = true; kdeglobals.Sounds.Enable = false; + kwinrc.Plugins.forceblurEnabled = true; + kwinrc.Effect-blurplus.BlurDecorations = true; + kwinrc.Effect-blurplus.BlurMatching = false; + kwinrc.Effect-blurplus.BlurMenus = true; + kwinrc.Effect-blurplus.BlurNonMatching = true; + kwinrc.Effect-blurplus.TopCornerRadius = 10; + kwinrc.Effect-blurplus.BottomCornerRadius = 10; + kwinrc.Effect-blurplus.NoiseStrength = 6; + kwinrc.Effect-blurplus.RefractionStrength = 10; }; panels = [ diff --git a/home/peach.nix b/home/peach.nix index a144de6..b8c7fba 100644 --- a/home/peach.nix +++ b/home/peach.nix @@ -56,6 +56,7 @@ { location = "top"; height = 37; + floating = false; widgets = [ { applicationTitleBar = { @@ -95,13 +96,13 @@ useAsIcon = false; radius = 8; }; - icon = "view-media-track"; + icon = ""; }; playbackSource = "auto"; - musicControls.showPlaybackControls = true; + musicControls.showPlaybackControls = false; songText = { displayInSeparateLines = true; - maximumWidth = 300; + maximumWidth = 360; scrolling = { behavior = "alwaysScroll"; speed = 3; diff --git a/hosts/all.nix b/hosts/all.nix index 01acf11..95d5fe5 100755 --- a/hosts/all.nix +++ b/hosts/all.nix @@ -6,6 +6,7 @@ config, lib, pkgs, + inputs, ... }: @@ -65,6 +66,8 @@ }; networking.networkmanager.enable = true; + hardware.bluetooth.enable = true; + time.timeZone = "America/New_York"; i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { @@ -197,6 +200,7 @@ environment = { systemPackages = with pkgs; [ git + inputs.kwin-effects-forceblur.packages.${pkgs.stdenv.hostPlatform.system}.default ]; sessionVariables = { NIXOS_OZONE_WL = "1";