aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules')
-rw-r--r--snowfall/modules/home/apps/picom/default.nix32
-rw-r--r--snowfall/modules/home/suites/desktop/default.nix3
2 files changed, 35 insertions, 0 deletions
diff --git a/snowfall/modules/home/apps/picom/default.nix b/snowfall/modules/home/apps/picom/default.nix
new file mode 100644
index 0000000..0aac934
--- /dev/null
+++ b/snowfall/modules/home/apps/picom/default.nix
@@ -0,0 +1,32 @@
+{ options, config, lib, namespace, ... }:
+
+#TODO: move somewhere else
+# most likely will move several things into modules/desktop/components or similar
+with lib; with lib.${namespace}; let
+ cfg = config.${namespace}.apps.picom;
+in {
+ options.${namespace}.apps.picom = with types; {
+ enable = mkEnableOption "picom";
+ };
+
+ config = mkIf cfg.enable {
+ services.picom = {
+ enable = true;
+
+ backend = "glx";
+ vSync = true;
+
+ settings = {
+ blur = {
+ method = "gaussian";
+ size = 10;
+ deviation = 2;
+ };
+
+ blur-background-exclude = [
+ "window_type = 'dock'"
+ ];
+ };
+ };
+ };
+}
diff --git a/snowfall/modules/home/suites/desktop/default.nix b/snowfall/modules/home/suites/desktop/default.nix
index ff8dc37..97d4ddf 100644
--- a/snowfall/modules/home/suites/desktop/default.nix
+++ b/snowfall/modules/home/suites/desktop/default.nix
@@ -11,7 +11,10 @@ in {
cxl = {
apps = {
i3.enable = true;
+
polybar.enable = true;
+ picom.enable = true;
+
kitty.enable = true;
};
};