Skip to content

Commit

Permalink
[Flake] yet another system update!
Browse files Browse the repository at this point in the history
  • Loading branch information
Icy-Thought committed May 23, 2024
1 parent 160433a commit cec50de
Show file tree
Hide file tree
Showing 6 changed files with 174 additions and 109 deletions.
132 changes: 66 additions & 66 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 9 additions & 20 deletions modules/desktop/extensions/picom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
...
}: let
inherit (lib.modules) mkIf mkMerge;

cfg = config.modules.desktop.extensions.picom;
in {
options.modules.desktop.extensions.picom = let
Expand Down Expand Up @@ -36,11 +35,10 @@ in {
"! name~=''" # Qtile == empty wm_class..
];

blur-method = "dual_kawase";
blur-strength = 10.0;
blur-background = true;
blur-whitelist = true;
blur-include = ["class_g = 'Taffybar'"];
blur-strength = 10.0;
blur-method = "dual_kawase";
blur-backround-exclude = ["window_type != 'dock'"];

daemon = false;
dbus = false;
Expand Down Expand Up @@ -68,17 +66,8 @@ in {

(mkIf cfg.animation.enable {
hm.services.picom = {
package = pkgs.picom.overrideAttrs (old: rec {
pname = "compfy";
version = "1.7.2";
src = pkgs.fetchFromGitHub {
owner = "allusive-dev";
repo = "compfy";
rev = version;
hash = "sha256-7hvzwLEG5OpJzsrYa2AaIW8X0CPyOnTLxz+rgWteNYY";
};
postInstall = "";
meta.mainProgram = "compfy";
package = pkgs.picom.overrideAttrs (old: {
inherit (pkgs.sources) compfy; # picom-next <- use when fixed?
});

backend = "glx";
Expand All @@ -93,11 +82,11 @@ in {
animation-window-mass = 1;
animation-for-open-window = "slide-up";
animation-for-unmap-window = "slide-down";
};

wintypes = {
dock = {animation = "slide-down";};
toolbar = {animation = "slide-down";};
wintypes = {
dock = {animation = "slide-down";};
toolbar = {animation = "slide-down";};
};
};
};
})
Expand Down
6 changes: 5 additions & 1 deletion modules/hardware/razer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ in {
enable = true;
devicesOffOnScreensaver = false;
syncEffectsEnabled = true;
mouseBatteryNotifier = true;
batteryNotifier = {
enable = true;
percentage = 30;
frequency = 600;
};
};

user.extraGroups = ["plugdev" "openrazer"];
Expand Down
Loading

0 comments on commit cec50de

Please sign in to comment.