diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-12-05 23:00:42 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-12-14 22:06:38 +0530 |
| commit | 07f13ef6e86d72c48ba760ba353e17d441881160 (patch) | |
| tree | 63fc3ed1856920f3eaf682d5fa80a7eba3435945 /scripts | |
| parent | e8252676414aa387a337282e4af7c49d465d3936 (diff) | |
| download | nixos-config-07f13ef6e86d72c48ba760ba353e17d441881160.tar.gz nixos-config-07f13ef6e86d72c48ba760ba353e17d441881160.zip | |
Cleanup
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/commands/:monitor-off | 3 | ||||
| -rwxr-xr-x | scripts/commands/:monitor-on | 3 | ||||
| -rwxr-xr-x | scripts/music/yt-music.sh | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/scripts/commands/:monitor-off b/scripts/commands/:monitor-off new file mode 100755 index 0000000..1eb1523 --- /dev/null +++ b/scripts/commands/:monitor-off @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +exec ~/scripts/monitor.sh off diff --git a/scripts/commands/:monitor-on b/scripts/commands/:monitor-on new file mode 100755 index 0000000..fb2d9a1 --- /dev/null +++ b/scripts/commands/:monitor-on @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +exec ~/scripts/monitor.sh on left-of diff --git a/scripts/music/yt-music.sh b/scripts/music/yt-music.sh index abf2fac..c117972 100755 --- a/scripts/music/yt-music.sh +++ b/scripts/music/yt-music.sh @@ -21,7 +21,7 @@ yt_download() { return 0; fi - yt-dlp -x --audio-format mp3 \ + yt-dlp -x --audio-format flac --audio-quality 8 \ --embed-metadata --embed-thumbnail \ --parse-metadata "playlist_index:%(track_number)s" --add-metadata \ -o "$MUSIC_DIR/%(artist|Others)s/%(album,playlist)s/%(playlist_index)02d - %(title)s.%(ext)s" \ |
