update dms, niri blur

This commit is contained in:
EdenQwQ 2026-02-21 21:02:10 +08:00
parent e4b29f3333
commit 050aded035
6 changed files with 47 additions and 54 deletions

71
flake.lock generated
View file

@ -199,17 +199,17 @@
"type": "github" "type": "github"
} }
}, },
"dankMaterialShell": { "dank-material-shell": {
"inputs": { "inputs": {
"dgop": "dgop", "nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_5" "quickshell": "quickshell_2"
}, },
"locked": { "locked": {
"lastModified": 1764226053, "lastModified": 1771653128,
"narHash": "sha256-tSyGld/EDYnEM9crM0PD9wi0Ee5oahubzGJI3jqeNvU=", "narHash": "sha256-tZGAFgdue41AfGAHd3+w2wGK5IbasV34qHFD34F7nRk=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "DankMaterialShell", "repo": "DankMaterialShell",
"rev": "ce40c691e93739ff2b459012831f25b93872aa07", "rev": "46d4288969e13dc3c869324120742f451ad46544",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -240,27 +240,6 @@
"type": "github" "type": "github"
} }
}, },
"dgop": {
"inputs": {
"nixpkgs": [
"dankMaterialShell",
"nixpkgs"
]
},
"locked": {
"lastModified": 1762435535,
"narHash": "sha256-QhzRn7pYN35IFpKjjxJAj3GPJECuC+VLhoGem3ezycc=",
"owner": "AvengeMedia",
"repo": "dgop",
"rev": "6cf638dde818f9f8a2e26d0243179c43cb3458d7",
"type": "github"
},
"original": {
"owner": "AvengeMedia",
"repo": "dgop",
"type": "github"
}
},
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -833,11 +812,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1771619725, "lastModified": 1771672342,
"narHash": "sha256-AV6CEmWqM23wpOexysITVoWc92M5Dvegeh6xmBkwf80=", "narHash": "sha256-52CxMRH2kVGpsPBiZM+996b6i/3XkmOrySm5zqwWc+o=",
"owner": "niri-wm", "owner": "niri-wm",
"repo": "niri", "repo": "niri",
"rev": "48fb2b3970acfb05806047f6ae5d68b4b1041aac", "rev": "86f42d1ed9ab787c52ace073e0b3218e26530d25",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1228,11 +1207,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1762363567, "lastModified": 1769018530,
"narHash": "sha256-YRqMDEtSMbitIMj+JLpheSz0pwEr0Rmy5mC7myl17xs=", "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ae814fd3904b621d8ab97418f1d0f2eb0d3716f4", "rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1482,6 +1461,28 @@
} }
}, },
"quickshell_2": { "quickshell_2": {
"inputs": {
"nixpkgs": [
"dank-material-shell",
"nixpkgs"
]
},
"locked": {
"lastModified": 1766725085,
"narHash": "sha256-O2aMFdDUYJazFrlwL7aSIHbUSEm3ADVZjmf41uBJfHs=",
"ref": "refs/heads/master",
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
"revCount": 715,
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
},
"original": {
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
}
},
"quickshell_3": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
@ -1507,7 +1508,7 @@
"awww": "awww", "awww": "awww",
"caelestia-cli": "caelestia-cli", "caelestia-cli": "caelestia-cli",
"caelestia-shell": "caelestia-shell_2", "caelestia-shell": "caelestia-shell_2",
"dankMaterialShell": "dankMaterialShell", "dank-material-shell": "dank-material-shell",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"ghostty": "ghostty", "ghostty": "ghostty",
"hexecute": "hexecute", "hexecute": "hexecute",
@ -1527,7 +1528,7 @@
"nixvim": "nixvim", "nixvim": "nixvim",
"noctalia-shell": "noctalia-shell", "noctalia-shell": "noctalia-shell",
"nur": "nur", "nur": "nur",
"quickshell": "quickshell_2", "quickshell": "quickshell_3",
"stylix": "stylix", "stylix": "stylix",
"treefmt-nix": "treefmt-nix_2" "treefmt-nix": "treefmt-nix_2"
} }

View file

@ -90,7 +90,7 @@
url = "git+https://git.outfoxxed.me/quickshell/quickshell"; url = "git+https://git.outfoxxed.me/quickshell/quickshell";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
dankMaterialShell.url = "github:AvengeMedia/DankMaterialShell"; dank-material-shell.url = "github:AvengeMedia/DankMaterialShell";
caelestia-shell = { caelestia-shell = {
url = "github:caelestia-dots/shell"; url = "github:caelestia-dots/shell";
inputs.quickshell.follows = "quickshell"; inputs.quickshell.follows = "quickshell";

View file

@ -54,22 +54,7 @@ let
}; };
in in
{ {
# programs.quickshell.configs.dms = programs.dank-material-shell.quickshell.package =
# let
# dankMaterialShell =
# inputs.dankMaterialShell.packages.${pkgs.stdenv.hostPlatform.system}.dankMaterialShell.overrideAttrs
# {
# installPhase = ''
# mkdir -p $out/etc/xdg/quickshell/DankMaterialShell
# cp -r . $out/etc/xdg/quickshell/DankMaterialShell
# ln -s $out/etc/xdg/quickshell/DankMaterialShell $out/etc/xdg/quickshell/dms
# substituteInPlace $out/etc/xdg/quickshell/DankMaterialShell/Widgets/DankIcon.qml \
# --replace "Material Symbols Rounded" "Monofur Nerd Font"
# '';
# };
# in
# "${dankMaterialShell}/etc/xdg/quickshell/DankMaterialShell" |> lib.mkForce;
programs.dankMaterialShell.quickshell.package =
inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell; inputs.quickshell.packages.${pkgs.stdenv.hostPlatform.system}.quickshell;
xdg.configFile."DankMaterialShell/stylix-colors.json".text = builtins.toJSON colorTheme; xdg.configFile."DankMaterialShell/stylix-colors.json".text = builtins.toJSON colorTheme;
xdg.configFile."DankMaterialShell/settings.json".text = # json xdg.configFile."DankMaterialShell/settings.json".text = # json

View file

@ -16,6 +16,13 @@ let
blur true blur true
} }
} }
window-rule {
match is-floating=true
background-effect {
xray false
blur true
}
}
layer-rule { layer-rule {
match namespace="launcher" match namespace="launcher"
background-effect { background-effect {

View file

@ -22,7 +22,7 @@ let
inputs.agenix.homeManagerModules.default inputs.agenix.homeManagerModules.default
../secrets/age.nix ../secrets/age.nix
# inputs.mangowc.hmModules.mango # inputs.mangowc.hmModules.mango
inputs.dankMaterialShell.homeModules.dankMaterialShell.default inputs.dank-material-shell.homeModules.dank-material-shell
inputs.caelestia-shell.homeManagerModules.default inputs.caelestia-shell.homeManagerModules.default
inputs.noctalia-shell.homeModules.default inputs.noctalia-shell.homeModules.default
] ]

View file

@ -18,7 +18,7 @@
enable = config.desktopShell == "waybar"; enable = config.desktopShell == "waybar";
systemd.enable = config.desktopShell == "waybar"; systemd.enable = config.desktopShell == "waybar";
}; };
programs.dankMaterialShell = { programs.dank-material-shell = {
enable = config.desktopShell == "dms"; enable = config.desktopShell == "dms";
systemd.enable = config.desktopShell == "dms"; systemd.enable = config.desktopShell == "dms";
}; };