diff --git a/.config/picom/.launch.sh.un~ b/.config/picom/.launch.sh.un~ new file mode 100755 index 0000000..5627df1 Binary files /dev/null and b/.config/picom/.launch.sh.un~ differ diff --git a/.config/picom/kill.sh b/.config/picom/kill.sh new file mode 100755 index 0000000..85c36a5 --- /dev/null +++ b/.config/picom/kill.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +killall -q picom diff --git a/.config/picom/launch.sh b/.config/picom/launch.sh new file mode 100755 index 0000000..c9590b7 --- /dev/null +++ b/.config/picom/launch.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +# Terminate already running picom instances +killall -q picom + +# Wait until the processes have been shut down +while pgrep -u $UID -x picom > /dev/null; do sleep 1; done + +picom --config ~/.config/picom/picom.conf -b + +echo "Compton launched..." diff --git a/.config/picom/launch.sh~ b/.config/picom/launch.sh~ new file mode 100755 index 0000000..9db5ee1 --- /dev/null +++ b/.config/picom/launch.sh~ @@ -0,0 +1,12 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch bar1 and bar2 +polybar bar1 & + +echo "Bars launched..." diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..3f8806c --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,53 @@ +shadow = false; +no-dnd-shadow = false; +no-dock-shadow = false; +clear-shadow = false; +shadow-radius = 7; +shadow-offset-x = -7; +shadow-offset-y = -7; +shadow-opacity = 0.7; +shadow-red = 0.0; +shadow-green = 0.0; +shadow-blue = 0.0; +shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ]; +shadow-ignore-shaped = false; +xinerama-shadow-crop = false; +menu-opacity = 1.0; +inactive-opacity = 1.0; +active-opacity = 1.0; +frame-opacity = 0.7; +inactive-opacity-override = false; +alpha-step = 0.06; +inactive-dim = 0.0; +blur-kern = "3x3box"; +blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; +fading = false; +fade-in-step = 0.03; +fade-out-step = 0.03; +fade-exclude = [ ]; +backend = "glx"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = false; +dbe = false; +paint-on-overlay = true; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +glx-copy-from-front = false; +glx-swap-method = "undefined"; +wintypes : +{ + tooltip : + { + fade = true; + shadow = false; + opacity = 0.75; + focus = true; + }; +}; +blur-background = true;