about summary refs log tree commit diff
path: root/picom
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /picom
chore: init HEAD master
Diffstat (limited to '')
-rw-r--r--picom/.local/etc/picom.conf80
-rwxr-xr-xpicom/@install10
2 files changed, 90 insertions, 0 deletions
diff --git a/picom/.local/etc/picom.conf b/picom/.local/etc/picom.conf
new file mode 100644
index 0000000..0275835
--- /dev/null
+++ b/picom/.local/etc/picom.conf
@@ -0,0 +1,80 @@
+# Shadow.
+
+shadow = false
+
+shadow-radius = 7
+shadow-opacity = 0.7
+shadow-offset-x = 0
+shadow-offset-y = 0
+
+shadow-exclude =
+[
+    "_GTK_FRAME_EXTENTS@:c",
+    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
+    "class_g = 'slop'",
+    "name = 'oneko'",
+]
+
+# Fade.
+
+fading = false
+
+fade-delta = 3
+no-fading-openclose = false
+no-fading-destroyed-argb = false
+
+inactive-opacity = 1.0
+frame-opacity = 1.0
+active-opacity = 1.0
+
+inactive-dim = 0.0
+inactive-dim-fixed = 0.0
+
+# Opacity.
+
+opacity-rule = [
+    "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
+]
+
+# Corner.
+
+corner-radius = 0
+
+# Blur.
+
+blur-background = false
+
+# General.
+
+daemon = false
+
+backend = "glx"
+
+vsync = true
+
+refresh-rate = 0
+
+dbus = false
+
+log-level = "error"
+
+# Wintypes.
+
+wintypes:
+{
+    combo = {}
+    desktop = {}
+    dialog = {}
+    dnd = {}
+    dock = {}
+    dropdown_menu = {}
+    menu = {}
+    normal = {}
+    notification = {}
+    popup_menu = {}
+    splash = {}
+    toolbar = {}
+    tooltip = {}
+    unknown = {}
+    utility = {}
+}
diff --git a/picom/@install b/picom/@install
new file mode 100755
index 0000000..140ddac
--- /dev/null
+++ b/picom/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    picom

Consider giving Nix/NixOS a try! <3