diff --git a/.config/compton.conf b/.config/compton.conf index 21b1d59..cd5cb72 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -17,7 +17,7 @@ shadow-ignore-shaped = false; # Avoid drawing shadow on all shaped windows # Opacity menu-opacity = 0.9; # The opacity for menus. (default 1.0) -inactive-opacity = 0.8; # Default opacity of inactive windows. (0.0 - 1.0) +inactive-opacity = 0.7; # Default opacity of inactive windows. (0.0 - 1.0) active-opacity = 1.0; # Default opacity for active windows. (0.0 - 1.0) frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0) inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacity' overrides @@ -28,15 +28,16 @@ opacity-rule = [ alpha-step = 0.02; # XRender backend: Step size for alpha pictures. Increasing # it may result in less X resource usage, # Yet f ading may look bad. + +# Blurring +blur-method = "dual_kawase"; +blur-strength = 5; blur-background = true; # Blur background of transparent windows. blur-background-exclude = [ "class_g = 'Peek'", "class_g = 'Onboard'", "class_g = 'slop'" ]; -blur-background-frame = false; # Blur background of opaque windows with transparent +blur-background-frame = true; # Blur background of opaque windows with transparent # frames as well. blur-background-fixed = false; # Do not let blur radius adjust based on window opacity. # Exclude conditions for background blur. -blur-kern = "5,5,0.894839,0.932912,0.945959,0.932912,0.894839,0.932912,0.972604,0.986207,0.972604,0.932912,0.945959,0.986207,0.986207,0.945959,0.932912,0.972604,0.986207,0.972604,0.932912,0.894839,0.932912,0.945959,0.932912,0.894839" - -# python compton-convgen.py --dump-compton gaussian 9 -f=sigma=10 # Fading fading = true; # Fade windows during opacity changes. diff --git a/.config/i3/config b/.config/i3/config index 0a54ffe..ac002d3 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -172,10 +172,9 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 5 && pkill -RTMIN+12 i3bloc exec --no-startup-id ~/.config/i3/disable-standby-fs.py exec --no-startup-id "ip monitor | while read; do pkill -RTMIN+15 i3blocks; done" exec --no-startup-id feh --no-fehbg --no-xinerama --bg-fill ~/pictures/lakesidesunrise.jpg -exec --no-startup-id xautolock -time 5 -locker ~/.config/i3/lock.sh -nocloseout -nocloseerr +exec --no-startup-id xautolock -time 5 -locker 'dm-tool lock' -nocloseout -nocloseerr # startup programs -exec --no-startup-id pulseaudio exec --no-startup-id nextcloud exec --no-startup-id nm-applet exec --no-startup-id blueman-applet diff --git a/.config/i3/lock.png b/.config/i3/lock.png deleted file mode 100644 index 67a15f6..0000000 Binary files a/.config/i3/lock.png and /dev/null differ diff --git a/.config/i3/lock.sh b/.config/i3/lock.sh deleted file mode 100755 index 43c383c..0000000 --- a/.config/i3/lock.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash - -icon="$HOME/.config/i3/lock.png" -tmpbg='/tmp/screen.png' - -(( $# )) && { icon=$1; } - -PX=0 -PY=0 -# lockscreen image info -R=$(file $icon | grep -o '[0-9]* x [0-9]*') -RX=$(echo $R | cut -d' ' -f 1) -RY=$(echo $R | cut -d' ' -f 3) - -RES=$(xrandr --query | grep ' connected primary' | cut -f4 -d' ') - -# monitor position/offset -SRX=$(echo $RES | cut -d'x' -f 1) # x pos -SRY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 1) # y pos -SROX=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 2) # x offset -SROY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 3) # y offset -PX=$(($SROX + $SRX/2 - $RX/2)) -PY=$(($SROY + $SRY/2 - $RY/2)) - -# screenshot, pixelise and overlay -maim | convert - -scale 5% -scale 2000% $icon -geometry +$PX+$PY -composite -matte $tmpbg - -if command mpc 2>&1 1>/dev/null; then - playing=$(mpc status | grep playing | wc -l) - [[ $playing == 1 ]] && mpc pause -fi - -i3lock -i "$tmpbg" -n -e - -if command mpc 2>&1 1>/dev/null; then - [[ $playing == 1 ]] && mpc play -fi - - -rm "$tmpbg" diff --git a/.config/systemd/user/sockets.target.wants/pulseaudio.socket b/.config/systemd/user/sockets.target.wants/pulseaudio.socket new file mode 120000 index 0000000..b166523 --- /dev/null +++ b/.config/systemd/user/sockets.target.wants/pulseaudio.socket @@ -0,0 +1 @@ +/usr/lib/systemd/user/pulseaudio.socket \ No newline at end of file