add more transparency

This commit is contained in:
davidovski 2024-05-04 01:15:19 +01:00
parent 2596f818e0
commit 416cb1a8dd
17 changed files with 362 additions and 239 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
feh --bg-fill ~/.config/bg.png
feh --no-xinerama --bg-fill ~/.config/bg.png
exit
setbg="feh --force-aliasing --bg-tile "

View file

@ -1,2 +1,2 @@
#!/bin/sh
bspc rule -a \* -o state=floating && $TERMINAL -e bc -l
bspc rule -a \* -o state=floating && $TERMINAL -e bc -lq

View file

@ -6,5 +6,5 @@ v=$1
if [ $# -ne 0 ]; then
xrandr --output $MAIN_DP --gamma $(paste -d" " <(xrandr | grep " connected" | cut -f1 -d " ") <(xrandr --current --verbose | grep "Gamma" | cut -f7 -d" " | cut -f1 -d":" | xargs -I % echo "1/%") | grep $MAIN_DP | cut -d" " -f2 | xargs -I % echo "%*$v" | bc -l)
else
xrandr --output $MAIN_DP --gamma 1.1
xrandr --output $MAIN_DP --gamma 1
fi

View file

@ -1,5 +1,7 @@
#!/bin/sh
query=${1}
cd ~/music
find . -iname "*$query*" -type f | while read -r line; do echo "$line"; mpc insert "${line#./}"; done
mpc -f "%title%[\t\t%artist%][\t\t%album%]\t\t%file%" listall | grep -i "${query}" | rev | cut -f1 -d' ' | rev | while read -r track; do
echo "$track"
mpc insert "$track"
done

View file

@ -1,7 +1,7 @@
#!/bin/sh
# add recently added files to the playlist
count=${1:-25}
count=${1:-10}
cd ~/music
find . -type f -print0 | xargs -0 stat -c"%Y %n" | sort -n | tail -${count} |cut -d' ' -f2- | while read -r line; do mpc insert "${line#./}"; done
find . -type f -print0 | xargs -0 stat -c"%Y %n" | sort -n | tail -${count} |cut -d' ' -f2- | while read -r line; do printf "%s\n" "$line" ; mpc insert "${line#./}"; done

View file

@ -14,6 +14,6 @@ position=+$(echo $geom | cut -d'+' -f2- | sed "s/+/,/g")
filename=$(date +"$HOME/pics/screenshot/%F_%T.mp4")
echo $size and $position
ffmpeg -y -f x11grab -video_size $size -i $position $filename
ffmpeg -y -f x11grab -video_size $size -i $position -f pulse -i default $filename
rm $info

5
scripts/reload_gtk_theme Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
gsettings set org.gnome.desktop.interface gtk-theme ''
sleep 1
gsettings set org.gnome.desktop.interface gtk-theme $theme