fix shebangs

This commit is contained in:
2026-08-07 15:30:04 +02:00
parent 03baa33bb8
commit e0d2c8f5b0
9 changed files with 5 additions and 20 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
dir="${1:-.}" find . -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
find "$dir" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
xargs -0 -P"$(nproc)" -I{} sh -c ' xargs -0 -P"$(nproc)" -I{} sh -c '
if ! ffprobe -v quiet -show_entries format_tags \ if ! ffprobe -v quiet -show_entries format_tags \
-of default=nw=1:nk=1 "$1" 2>/dev/null | -of default=nw=1:nk=1 "$1" 2>/dev/null |
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
update_count=$(paru -Qu | wc -l) update_count=$(paru -Qu | wc -l)
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Can parse 'max_length=SOME_INTEGER' as argument # Can parse 'max_length=SOME_INTEGER' as argument
# (example: ./now-playing max_lentgh=40) # (example: ./now-playing max_lentgh=40)
-2
View File
@@ -1,3 +1 @@
#!/usr/bin/env bash
mpc --host=/home/user/.config/mpd/socket next mpc --host=/home/user/.config/mpd/socket next
-1
View File
@@ -1,2 +1 @@
#!/bin/sh
pw-play --volume=10.0 ~/.local/share/sounds/notification.wav pw-play --volume=10.0 ~/.local/share/sounds/notification.wav
-2
View File
@@ -1,3 +1 @@
#!/usr/bin/env bash
mpc --host=/home/user/.config/mpd/socket prev mpc --host=/home/user/.config/mpd/socket prev
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Directory containing wallpapers # Directory containing wallpapers
wallpaper_dir=~/Pictures/Wallpapers wallpaper_dir=~/Pictures/Wallpapers
+1 -3
View File
@@ -1,8 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
dir="${1:-.}" find . -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
find "$dir" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
xargs -0 -P"$(nproc)" -I{} bash -c ' xargs -0 -P"$(nproc)" -I{} bash -c '
if ffprobe -v quiet -show_entries format_tags \ if ffprobe -v quiet -show_entries format_tags \
-of default=nw=1:nk=1 "$1" 2>/dev/null | -of default=nw=1:nk=1 "$1" 2>/dev/null |
-6
View File
@@ -1,6 +0,0 @@
#!/bin/sh
awww query
if [ $? -eq 1 ] ; then
awww-daemon
fi