summaryrefslogtreecommitdiffstats
path: root/files/.config/picom
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
commit45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch)
treeb564c1c43920def6641cd482a7b4dca453dbc043 /files/.config/picom
parent07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff)
downloaddotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz
dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to 'files/.config/picom')
-rw-r--r--files/.config/picom/picom.conf117
1 files changed, 117 insertions, 0 deletions
diff --git a/files/.config/picom/picom.conf b/files/.config/picom/picom.conf
new file mode 100644
index 0000000..0f3fe1d
--- /dev/null
+++ b/files/.config/picom/picom.conf
@@ -0,0 +1,117 @@
1# ____ _____
2# | _ \_ _| Derek Taylor (DistroTube)
3# | | | || | http://www.youtube.com/c/DistroTube
4# | |_| || | http://www.gitlab.com/dwt1/
5# |____/ |_|
6#
7# My config. Not much to see here; just some pretty standard stuff.
8
9# Enabled client-side shadows on windows. Note desktop windows
10# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
11# unless explicitly requested using the wintypes option.
12#
13shadow = true;
14
15# The blur radius for shadows, in pixels. (defaults to 12)
16shadow-radius = 8;
17
18# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
19shadow-opacity = .6
20
21# The left offset for shadows, in pixels. (defaults to -15)
22shadow-offset-x = -3;
23
24# The top offset for shadows, in pixels. (defaults to -15)
25shadow-offset-y = -3;
26
27# Specify a list of conditions of windows that should have no shadow.
28#
29# examples:
30# shadow-exclude = "n:e:Notification";
31#
32# shadow-exclude = []
33shadow-exclude = [
34 "name = 'Notification'",
35 "class_g = 'Conky'",
36 "class_g ?= 'Notify-osd'",
37 "class_g = 'Cairo-clock'",
38 "class_g = 'slop'",
39 "class_g = 'Polybar'",
40 "_GTK_FRAME_EXTENTS@:c"
41];
42
43
44# Fade windows in/out when opening/closing and when opacity changes,
45# unless no-fading-openclose is used.
46# fading = false
47fading = true;
48
49# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
50# fade-in-step = 0.028
51fade-in-step = 0.3;
52
53# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
54# fade-out-step = 0.03
55fade-out-step = 0.3;
56
57# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
58# fade-delta = 10
59
60# Specify a list of conditions of windows that should not be faded.
61# don't need this, we disable fading for all normal windows with wintypes: {}
62fade-exclude = [
63 "class_g = 'slop'" # maim
64]
65
66# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
67inactive-opacity = 0.9
68# inactive-opacity = 1.0;
69
70# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
71# frame-opacity = 1.0
72frame-opacity = 0.7;
73
74# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
75# menu-opacity = 1.0
76# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
77
78#If using these 2 below change their values in line 510 & 511 aswell
79popup_menu = { opacity = 0.8; }
80dropdown_menu = { opacity = 0.8; }
81
82
83# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
84# inactive-opacity-override = true
85inactive-opacity-override = false;
86
87# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
88active-opacity = 1.0;
89
90# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
91# inactive-dim = 0.0
92
93# Specify a list of conditions of windows that should always be considered focused.
94# focus-exclude = []
95focus-exclude = [
96 "class_g = 'Cairo-clock'",
97 "class_g = 'Bar'", # lemonbar
98 "class_g = 'slop'" # maim
99];
100
101opacity-rule = [
102 "100:class_g = 'XTerm'",
103 "100:class_g = 'URxvt'",
104 "100:class_g = 'firefox'",
105 "100:class_g = 'Thunderbird'"
106];
107
108wintypes:
109{
110 normal = { fade = false; shadow = true; }
111 tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
112 dock = { shadow = false; }
113 dnd = { shadow = true; }
114 popup_menu = { opacity = 0.8; }
115 dropdown_menu = { opacity = 0.8; }
116};
117