From 21287466f9113c7d1a92f6858e11103c87e4989b Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Fri, 31 Jan 2020 13:47:50 +0100 Subject: [PATCH] Picom --- .config/picom/.launch.sh.un~ | Bin 0 -> 11271 bytes .config/picom/kill.sh | 3 ++ .config/picom/launch.sh | 11 ++++++++ .config/picom/launch.sh~ | 12 ++++++++ .config/picom/picom.conf | 53 +++++++++++++++++++++++++++++++++++ 5 files changed, 79 insertions(+) create mode 100755 .config/picom/.launch.sh.un~ create mode 100755 .config/picom/kill.sh create mode 100755 .config/picom/launch.sh create mode 100755 .config/picom/launch.sh~ create mode 100644 .config/picom/picom.conf diff --git a/.config/picom/.launch.sh.un~ b/.config/picom/.launch.sh.un~ new file mode 100755 index 0000000000000000000000000000000000000000..5627df1171a22c92181e6903748def6ca27e42da GIT binary patch literal 11271 zcmeI2&ui2`6vxwAwY9eD>b43}hPDb)wxtzM1rN0z1P>x^k%H8?8@i#{WX*0?iztZt zKX~)3N6(@l#j{5bUQ~*B@umko)c2j8w~o=oUZ$scF#D3pWHbBy>~}KxvEbuobO20MUYDHH>Eh zSIYx8sDV?&m=O03^!8F2MTNB*R4^GtEY^u(nCz#*R-3<7^8-&bR%5RrN{N^(Usx2S z+iW{=cBbmJXTl^1=0!CU&A_8}vsey2MVQ^oKLdWWgjo&anFuF&gimJ>-UeBa#2HMLR9Npq1(QK!@8yxr@@^%nH(F7+9q%$x{u!XXk5?>VR>D*!!Y_2f1DgDp>I|#d zkDwXQtT?F#Tpq)@SFogo#%dVP1nrd$4btOuDlZ=7d=@oWlQjw&AOSB2PQr3KDy-93 z7E_s^y-q`8`Lmq{NL^>qG63>k7Mdwm-R~u6Z_?0sBcNs75>S@=gBCRh$u3Q6IabnC zCVKDF^e|4Mbguh(oRl>R8tUXaT2a7m)^bvco%kSVAJWiR{_JrQErzu20ibo7CWzTZ zg0`hY{XXfccyDge=fV>OItx-Z?E2FLOP+(6T7iBcrmz8W3D=YZBNu;U%< zghUg@%p&pXPxFF>F#buSDNMj}Q0oGaSxlNBW)}(5xQ+?Z0~1R2SO`dm&_V?O@~O{y zi&Zg}3ED&&8q5FBu@HO;T6e(CnoJYK>>}}+(s^xv(g9G1wax(|_LgC<%UB6hnZV8J z;Bb?J<%iKmCd5Vge7$qm(G9Cum{X@Vz&fIJ4IuFZ=s4;uJg8tY2;PDYj~}n{4CK^= zxZ=fiKXhB3aD&)$tLq|8!q5*_fl>Hjv*m^ruc>%~AD+Q;fUV`pY8cPNb1{$Si9DWZ zmSBf>UW%&Q;EF$ne1>PesZ=qRh~+h%Wp^?{N5sJTpWBtX3(-fAwDh3Fjs($Lk@R|g zUn1~ /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;