Compare commits

...

2 Commits

Author SHA1 Message Date
d5e2fd9b52 feat: removed config 2024-12-28 15:58:49 +01:00
0d2a1e8e5a feat: dwm and picom sync 2024-12-28 15:38:32 +01:00
2 changed files with 89 additions and 89 deletions

View File

@@ -7,93 +7,93 @@
services.picom = {
enable = true;
package = pkgs.picom;
backend = "glx";
shadow = true;
shadowOpacity = 0.2;
shadowOffsets = [1 1];
shadowExclude = [
"name = 'Notification'"
"class_g = 'Conky'"
"_GTK_FRAME_EXTENTS@:c"
"override_redirect = 1 && !WM_CLASS@:s"
"class_g ?= 'Dmenu'"
"class_g ?= 'Dunst'"
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
"_GTK_FRAME_EXTENTS@:c"
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
"class_g ?= 'i3-frame'"
"class_g = 'Rofi'"
];
fade = true;
fadeSteps = [0.08 0.05];
vSync = true;
settings = {
shadow = {
radius = 3;
};
corner-radius = 9;
rounder-corners-exclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
"class_g = 'Dunst'"
];
blur = {
method = "dual_kawase";
strength = 10;
background = false;
background-frame = false;
background-fixed = false;
};
blur-kern = "3x3box";
# xprop | grep -i 'class'
opacity-rule = [
"90:class_g = 'neovide'"
"90:class_g = 'code-oss'"
"90:class_g = 'discord'"
"90:class_g = 'Emacs'"
"90:class_g = 'TelegramDesktop'"
"90:class_g = 'Spotify'"
"90:class_g = 'easyeffects'"
"90:class_g = 'kitty'"
"90:class_g = 'Nemo'"
"97:class_g = 'firefox'"
];
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
"_GTK_FRAME_EXTENTS@:c"
];
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
unredir-if-possible = false;
detect-transient = true;
detect-client-leader = true;
use-damage = true;
window-shader-fg-rule = [
# "black_to_transparent.frag:class_g = 'stalonetray'",
# "black_to_transparent.frag:class_g = 'Minecraft 1.7.10'",
# "black_to_transparent.frag:class_g = 'i3lock'"
# "black_to_transparent.frag:focused = true",
# "black_to_transparent.frag:focused != true",
#"sphere.glsl:focused != true"
#"nordify.glsl:class_g = 'miru'"
];
};
# backend = "glx";
#
# shadow = true;
# shadowOpacity = 0.2;
# shadowOffsets = [1 1];
#
# shadowExclude = [
# "name = 'Notification'"
# "class_g = 'Conky'"
# "_GTK_FRAME_EXTENTS@:c"
# "override_redirect = 1 && !WM_CLASS@:s"
# "class_g ?= 'Dmenu'"
# "class_g ?= 'Dunst'"
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
# "_GTK_FRAME_EXTENTS@:c"
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
# "class_g ?= 'i3-frame'"
# "class_g = 'Rofi'"
# ];
#
# fade = true;
# fadeSteps = [0.08 0.05];
#
# vSync = true;
#
# settings = {
# shadow = {
# radius = 3;
# };
#
# corner-radius = 9;
# rounder-corners-exclude = [
# "window_type = 'dock'"
# "window_type = 'desktop'"
# "class_g = 'Dunst'"
# ];
#
# blur = {
# method = "dual_kawase";
# strength = 10;
# background = false;
# background-frame = false;
# background-fixed = false;
# };
#
# blur-kern = "3x3box";
#
# # xprop | grep -i 'class'
# opacity-rule = [
# "90:class_g = 'neovide'"
# "90:class_g = 'code-oss'"
# "90:class_g = 'discord'"
# "90:class_g = 'Emacs'"
# "90:class_g = 'TelegramDesktop'"
# "90:class_g = 'Spotify'"
# "90:class_g = 'easyeffects'"
# "90:class_g = 'kitty'"
# "90:class_g = 'Nemo'"
# "97:class_g = 'firefox'"
# ];
#
# # Exclude conditions for background blur.
# # blur-background-exclude = []
# blur-background-exclude = [
# "window_type = 'dock'"
# "window_type = 'desktop'"
# "_GTK_FRAME_EXTENTS@:c"
# ];
#
# mark-wmwin-focused = true;
# mark-ovredir-focused = true;
# detect-rounded-corners = true;
# detect-client-opacity = true;
# unredir-if-possible = false;
# detect-transient = true;
# detect-client-leader = true;
# use-damage = true;
#
# window-shader-fg-rule = [
# # "black_to_transparent.frag:class_g = 'stalonetray'",
# # "black_to_transparent.frag:class_g = 'Minecraft 1.7.10'",
# # "black_to_transparent.frag:class_g = 'i3lock'"
# # "black_to_transparent.frag:focused = true"
# # "black_to_transparent.frag:focused != true",
# #"sphere.glsl:focused != true"
# #"nordify.glsl:class_g = 'miru'"
# ];
# };
};
}

View File

@@ -79,7 +79,7 @@
owner = "eRgo35";
repo = "dwm";
rev = "main";
hash = "sha256-jTjyai7qLs9v6PnWhLUgM+OC8Kq3VXrMhoIZhyY0JbA=";
hash = "sha256-lAiw8mqB7iAzKNO2BiXhnRV0WLYwwfyZfFQ/epgBLdo=";
};
};
};