aboutsummaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/home.nix b/home.nix
new file mode 100644
index 0000000..b142b24
--- /dev/null
+++ b/home.nix
@@ -0,0 +1,24 @@
+{ pkgs, ... }:
+{
+ home.packages = with pkgs; [
+ picom
+ mtm
+ ];
+
+ services.picom = {
+ enable = true;
+ backend = "glx";
+ inactiveOpacity = "0.8";
+ inactiveDim = "0.3";
+ opacityRule = [
+ "98:class_g = 'St' && focused"
+ "85:class_g = 'St' && !focused"
+ "90:class_g = 'qutebrowser' && !focused"
+ "100:class_g = 'qutebrowser' && focused"
+ ];
+ extraOptions = ''
+ focus-exclude = [ "class_g = 'dwm'" "class_g = 'dmenu'"];
+ '';
+ menuOpacity = "0.9";
+ };
+}