transparent st

This commit is contained in:
davidovski 2024-04-04 18:04:16 +01:00
parent 51937c18e6
commit 54c6b0a122
14 changed files with 193 additions and 1083 deletions

View file

@ -2,4 +2,4 @@
query=${1}
cd ~/music
find . -iname "*$query*" -type f | while read -r line; do mpc insert "${line#./}"; done
find . -iname "*$query*" -type f | while read -r line; do echo "$line"; mpc insert "${line#./}"; done

View file

@ -1,7 +1,7 @@
#!/bin/sh
# add recently added files to the playlist
count=${1:-10}
count=${1:-25}
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

View file

@ -1,4 +1,7 @@
#!/bin/sh
#
#
# TODO make this list results in rofi/dmenu that would be coo
default_browser="links-launcher"
BROWSER=${BROWSER:-$default_browser}