summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/picom.conf126
-rw-r--r--.config/x11/xinitrc9
2 files changed, 67 insertions, 68 deletions
diff --git a/.config/picom.conf b/.config/picom.conf
index f4afb05..bf0256f 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -3,7 +3,7 @@
backend = "glx";
paint-on-overlay = true;
vsync = true;
-unredir-if-possible = false;
+unredir-if-possible = true;
no-use-damage = true;
# Inactive windows diming
@@ -25,42 +25,42 @@ no-use-damage = true;
# Enabled client-side shadows on windows.
shadow = false;
# The blur radius for shadows. (default 12)
-shadow-radius = 12;
+# shadow-radius = 12;
# The left offset for shadows. (default -15)
-shadow-offset-x = -12;
+# shadow-offset-x = -12;
# The top offset for shadows. (default -15)
-shadow-offset-y = -12;
+# shadow-offset-y = -12;
# The translucency for shadows. (default .75)
-shadow-opacity = 0.8;
+# shadow-opacity = 0.8;
# Set if you want different colour shadows
-shadow-red = 0.0;
-shadow-green = 0.0;
-shadow-blue = 0.0;
+# shadow-red = 0.0;
+# shadow-green = 0.0;
+# shadow-blue = 0.0;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
-shadow-exclude = [
- "! name~=''",
- "name = 'Notification'",
- "name = 'Docky'",
- "name = 'Kupfer'",
- "name = 'xfce4-notifyd'",
- "name *= 'compton'",
- "name *= 'picom'",
- "name *= 'cpt_frame_window'",
- "name *= 'wrapper-2.0'",
- "name *= 'tint2'",
- "class_g = 'Plank'",
- "class_g = 'Conky'",
- "class_g = 'Kupfer'",
- "class_g = 'Synapse'",
- "class_g ?= 'Notify-osd'",
- "class_g ?= 'Cairo-dock'",
- "_GTK_FRAME_EXTENTS@:c",
- "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
-];
+# shadow-exclude = [
+# "! name~=''",
+# "name = 'Notification'",
+# "name = 'Docky'",
+# "name = 'Kupfer'",
+# "name = 'xfce4-notifyd'",
+# "name *= 'compton'",
+# "name *= 'picom'",
+# "name *= 'cpt_frame_window'",
+# "name *= 'wrapper-2.0'",
+# "name *= 'tint2'",
+# "class_g = 'Plank'",
+# "class_g = 'Conky'",
+# "class_g = 'Kupfer'",
+# "class_g = 'Synapse'",
+# "class_g ?= 'Notify-osd'",
+# "class_g ?= 'Cairo-dock'",
+# "_GTK_FRAME_EXTENTS@:c",
+# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
+# ];
inactive-opacity = 1;
active-opacity = 1;
@@ -70,49 +70,49 @@ inactive-opacity-override = false;
# Fade windows during opacity changes.
fading = false;
# The time between steps in a fade in milliseconds. (default 10).
-fade-delta = 3;
-# Opacity change between steps while fading in. (default 0.028).
-fade-in-step = 0.04;
-# Opacity change between steps while fading out. (default 0.03).
-fade-out-step = 0.04;
-# Fade windows in/out when opening/closing
-no-fading-openclose = true;
+# fade-delta = 10;
+# # Opacity change between steps while fading in. (default 0.028).
+# fade-in-step = 0.04;
+# # Opacity change between steps while fading out. (default 0.03).
+# fade-out-step = 0.04;
+# # Fade windows in/out when opening/closing
+# no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];
xinerama-shadow-crop = true;
-wintypes:
-{
- tooltip =
- {
- # fade: Fade the particular type of windows.
- fade = true;
- # shadow: Give those windows shadow
- shadow = false;
- # opacity: Default opacity for the type of windows.
- opacity = 0.85;
- # focus: Whether to always consider windows of this type focused.
- focus = true;
- };
- dock = { shadow = true; }
- dnd = { shadow = false; }
- popup_menu = {
- opacity = 1.0;
- shadow = false;
- fade = false;
- }
- dropdown_menu = {
- opacity = 1.0;
- fade = false;
- }
-};
+# wintypes:
+# {
+# tooltip =
+# {
+# # fade: Fade the particular type of windows.
+# fade = true;
+# # shadow: Give those windows shadow
+# shadow = false;
+# # opacity: Default opacity for the type of windows.
+# opacity = 0.85;
+# # focus: Whether to always consider windows of this type focused.
+# focus = true;
+# };
+# dock = { shadow = true; }
+# dnd = { shadow = false; }
+# popup_menu = {
+# opacity = 1.0;
+# shadow = false;
+# fade = false;
+# }
+# dropdown_menu = {
+# opacity = 1.0;
+# fade = false;
+# }
+# };
#blur: {
# method = "dual_kawase";
# strength = 8;
#};
-blur-background-exclude = [
- "! class_g = 'Alacritty'"
-];
+# blur-background-exclude = [
+# "! class_g = 'Alacritty'"
+# ];
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 54dc1b4..81ab0e4 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -3,7 +3,7 @@
case $(hostname -s) in
mother)
icon=" "
- sleep="sleep 1"
+ sleep="sleep 0.1"
ping="ping -c1 -w1 9.9.9.9 >/dev/null 2>&1"
host="mother"
doas mkdir /var/run/jozan && doas chown -v jozan: /var/run/jozan
@@ -73,10 +73,9 @@ $sleep
startif pipewire-pulse
$sleep
startif wireplumber
-$sleep
-startif nm-applet
-$sleep
-startif blueman-applet
+startif picom
+[ $host = "po-rbo" ] && startif nm-applet
+[ $host = "po-rbo" ] && startif blueman-applet
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
start_apps &