picom: add shadow and adjust corner radius

This commit is contained in:
Marco Thomas
2023-02-08 18:32:54 +01:00
parent 35700fde8c
commit d9a8de62b1
2 changed files with 5 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ bindsym $mod+space exec --no-startup-id dmenu_run \
-i \
-l 10 \
-p dmenu \
-fn SFMono-10 \
-fn SFMono-11 \
-nb "#2f383e" \
-nf "#d3c6aa" \
-sb "#93b259" \
@@ -163,8 +163,9 @@ exec --no-startup-id discord
exec_always --no-startup-id feh --bg-fill ~/cloud/images/wallpaper/wallpaper
# schicky micky
exec --no-startup-id picom \
--corner-radius 20 \
exec_always --no-startup-id pkill picom && picom \
--shadow \
--corner-radius 12 \
--rounded-corners-exclude 'class_g = "dmenu"' \
--rounded-corners-exclude 'class_g = "i3bar"'
gaps inner 5

View File

@@ -7,7 +7,7 @@ for id in $ids
do names="$names $(xprop -id $id| grep WM_CLASS |tr -d '" '|cut -d "=" -f2|awk -F "," '{print $NF}')($id)"
done
flags='-m 0 -i -l 10 -p window -fn SFMono-10 -nb #2f383e -nf #d3c6aa -sb #93b259 -sf #2f383e'
flags='-m 0 -i -l 10 -p window -fn SFMono-11 -nb #2f383e -nf #d3c6aa -sb #93b259 -sf #2f383e'
# Show Open window class names as a dmenu option
target=$(echo $names | tr " " "\n" | dmenu $flags | grep -Eo "\(.*\)" | tr -d "()" )