This commit is contained in:
Never Gude 2026-01-15 01:58:32 +01:00
parent b0b4067a00
commit 449438fbcb
9 changed files with 35 additions and 60 deletions

Binary file not shown.

View file

@ -5,6 +5,7 @@ end
abbr --add ll ll -a
abbr --add adl album-dl.fish
abbr --add vv nvim
abbr --add tr gio trash
function mvi
mpv --config-dir=$HOME/.config/mvi/ $argv

View file

@ -13,8 +13,8 @@ function fish_mode_prompt --description 'Displays the current mode'
set_color --bold --reverse brblue
echo ' I '
case replace
set_color --bold --reverse brblue
echo ' I '
set_color --bold --reverse brred
echo ' R '
case visual
set_color --bold --reverse brgreen
echo ' V '

View file

@ -203,7 +203,8 @@ layout {
on
width 2
active-color "#ffc87f"
// active-color "#ffc87f"
active-color "#7fc8ff"
inactive-color "#505050"
// Color of the border around windows that request your attention.

1
.config/nvim-11 Submodule

@ -0,0 +1 @@
Subproject commit 612e96b78f52416513e413f186959991d8220930

7
.gitmodules vendored
View file

@ -1,9 +1,4 @@
[submodule ".config/quickshell/noctalia-shell"]
path = .config/quickshell/noctalia-shell
url = https://git.nevereverever.de/never/noctalia-shell.git
[submodule ".config/nvim"]
path = .config/nvim
url = https://git.nevereverever.de/never/kickstart.nvim.git
[submodule ".config/qutebrowser/qutebrowser-solarized"]
path = .config/qutebrowser/qutebrowser-solarized
url = https://github.com/harmtemolder/qutebrowser-solarized.git

View file

@ -1,12 +1,35 @@
#!/usr/bin/env fish
set options "󰐓 Clear Playlist" "󰌾 Lock"
function open_location
set options "󰈙 Documents" "󰝚 Music" "󰋩 Pictures" "󰕧 Videos" "󰇚 Downloads" "25_WiSe"
set input (menu $options)
switch $input
case $options[1]
alacritty --working-directory (xdg-user-dir)/Documents/
case $options[2]
alacritty --working-directory (xdg-user-dir)/Music/
case $options[3]
alacritty --working-directory (xdg-user-dir)/Pictures/
case $options[4]
alacritty --working-directory (xdg-user-dir)/Videos/
case $options[5]
alacritty --working-directory (xdg-user-dir)/Downloads/
case $options[6]
alacritty --working-directory /home/never/Documents/InNa/25_WiSe/
end
end
set options "󱂵 Open Location" "󰐓 Clear Playlist" "󰌾 Lock"
set input (menu $options)
switch $input
case $options[1]
mpc clear
case $options[1]
open_location
case $options[2]
exec swaylock
case $options[2]
mpc clear
case $options[3]
exec swaylock
end

View file

@ -1,13 +0,0 @@
#!/usr/bin/env bash
for file in *.opus; do
ffmpeg \
-hide_banner \
-i "${file}" -i "cover.jpg" \
-map_metadata 0:s:a:0 -disposition attached_pic \
-metadata date="$1" \
-c:a copy "0${file}"
rm "$file"
mv "0${file}" "${file#"0"}"
done

View file

@ -1,33 +0,0 @@
#!/usr/bin/env bash
url=$1
album=$(yt-dlp -I 1:1 --skip-download --print "%(album)s" ${url})
artist=$(yt-dlp -I 1:1 --skip-download --print "%(artists.0,artist)s" ${url})
date=$(yt-dlp -I 1:1 --skip-download --print "%(release_date,upload_date)s" ${url})
folder="${artist} - ${album}"
mkdir $folder
yt-dlp \
--parse-metadata "playlist_index:%(track_number)s" \
--parse-metadata "%(artists.0,artist)s:%(meta_artist)s" \
--parse-metadata "${date}:%(meta_date)s" \
--embed-metadata \
--extract-audio --audio-format opus \
-o "${folder}/%(playlist_index)s - %(title)s.%(ext)s" ${url}
yt-dlp -I 1:0 --write-thumbnail -o "${folder}/cover.jpg" ${url}
cd "${folder}"
for file in *.opus; do
ffmpeg \
-hide_banner \
-i "${file}" -i "cover.jpg" \
-map_metadata 0:s:a:0 -disposition attached_pic \
-c:a copy "0${file}"
rm "$file"
mv "0${file}" "${file#"0"}"
done