fix shebangs
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dir="${1:-.}"
|
||||
|
||||
find "$dir" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
|
||||
find . -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 '
|
||||
if ! ffprobe -v quiet -show_entries format_tags \
|
||||
-of default=nw=1:nk=1 "$1" 2>/dev/null |
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
update_count=$(paru -Qu | wc -l)
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Can parse 'max_length=SOME_INTEGER' as argument
|
||||
# (example: ./now-playing max_lentgh=40)
|
||||
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mpc --host=/home/user/.config/mpd/socket next
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
#!/bin/sh
|
||||
pw-play --volume=10.0 ~/.local/share/sounds/notification.wav
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mpc --host=/home/user/.config/mpd/socket prev
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Directory containing wallpapers
|
||||
wallpaper_dir=~/Pictures/Wallpapers
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dir="${1:-.}"
|
||||
|
||||
find "$dir" -type f \( -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.aiff" \) -print0 |
|
||||
find . -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 '
|
||||
if ffprobe -v quiet -show_entries format_tags \
|
||||
-of default=nw=1:nk=1 "$1" 2>/dev/null |
|
||||
|
||||
Reference in New Issue
Block a user