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 \ -i \
-l 10 \ -l 10 \
-p dmenu \ -p dmenu \
-fn SFMono-10 \ -fn SFMono-11 \
-nb "#2f383e" \ -nb "#2f383e" \
-nf "#d3c6aa" \ -nf "#d3c6aa" \
-sb "#93b259" \ -sb "#93b259" \
@@ -163,8 +163,9 @@ exec --no-startup-id discord
exec_always --no-startup-id feh --bg-fill ~/cloud/images/wallpaper/wallpaper exec_always --no-startup-id feh --bg-fill ~/cloud/images/wallpaper/wallpaper
# schicky micky # schicky micky
exec --no-startup-id picom \ exec_always --no-startup-id pkill picom && picom \
--corner-radius 20 \ --shadow \
--corner-radius 12 \
--rounded-corners-exclude 'class_g = "dmenu"' \ --rounded-corners-exclude 'class_g = "dmenu"' \
--rounded-corners-exclude 'class_g = "i3bar"' --rounded-corners-exclude 'class_g = "i3bar"'
gaps inner 5 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)" do names="$names $(xprop -id $id| grep WM_CLASS |tr -d '" '|cut -d "=" -f2|awk -F "," '{print $NF}')($id)"
done 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 # Show Open window class names as a dmenu option
target=$(echo $names | tr " " "\n" | dmenu $flags | grep -Eo "\(.*\)" | tr -d "()" ) target=$(echo $names | tr " " "\n" | dmenu $flags | grep -Eo "\(.*\)" | tr -d "()" )