Compare commits

...

8 Commits

8 changed files with 27 additions and 11 deletions
+3
View File
@@ -8,13 +8,16 @@ gnu-sed
htop htop
imagemagick imagemagick
ipcalc ipcalc
iperf3
mtr mtr
neovim neovim
newsboat newsboat
parallel parallel
ranger
ripgrep ripgrep
rsync rsync
tmux tmux
tree tree
wget wget
zoxide
zsh zsh
+1 -1
View File
@@ -14,7 +14,7 @@ keep-open=yes
# Always save the current playback position on exit # Always save the current playback position on exit
save-position-on-quit=yes save-position-on-quit=yes
ontop=yes # ontop=yes
# Geometry settings # Geometry settings
geometry=50%:50% geometry=50%:50%
+1
View File
@@ -278,3 +278,4 @@ golang
Cisco Packet Tracer 8.0.0 Cisco Packet Tracer 8.0.0
.local/bin/kubectl .local/bin/kubectl
.rustup .rustup
.local/tss-sdk
+1 -1
View File
@@ -611,7 +611,7 @@ function main() {
command_start install_prettier command_start install_prettier
command_start install_google_cloud_sdk command_start install_google_cloud_sdk
command_start install_bgpreader command_start install_bgpreader
command_start install_fonts_terminess command_start install_font_terminess
command_start install_zsh_addons command_start install_zsh_addons
command_start install_brew_programs command_start install_brew_programs
} }
+1 -1
View File
@@ -6,7 +6,7 @@ export QT_IM_MODULE=ibus
KERNEL=$(uname -sr) KERNEL=$(uname -sr)
[[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@" [[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox "$@" [[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox "$@"
[[ $KERNEL =~ "Darwin" ]] && open -a firefox -u "$2" [[ $KERNEL =~ "Darwin" ]] && open -a Firefox\ Nightly "$@"
#[[ $KERNEL =~ "gentoo" ]] && __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 GDK_DPI_SCALE="1.2" firefox "$@" #[[ $KERNEL =~ "gentoo" ]] && __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 GDK_DPI_SCALE="1.2" firefox "$@"
# Firefox # Firefox
+8
View File
@@ -2,14 +2,17 @@
FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav" FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav"
FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub" FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub"
FOLDER_PIANO="/Volumes/Music/Jellyfin/Playlist-Piano"
# Check if folder exists # Check if folder exists
[ ! -d $FOLDER_DUB ] && exit 1 [ ! -d $FOLDER_DUB ] && exit 1
[ ! -d $FOLDER_FAV ] && exit 1 [ ! -d $FOLDER_FAV ] && exit 1
[ ! -d $FOLDER_PIANO ] && exit 1
# Remove old files # Remove old files
rm -rfv $FOLDER_DUB/errors.txt rm -rfv $FOLDER_DUB/errors.txt
rm -rfv $FOLDER_FAV/errors.txt rm -rfv $FOLDER_FAV/errors.txt
rm -rfv $FOLDER_PIANO/errors.txt
# Download new files for DUB # Download new files for DUB
cd $FOLDER_DUB || exit 1 cd $FOLDER_DUB || exit 1
@@ -38,10 +41,15 @@ rsync -h --progress --recursive --ignore-existing \
rsync -h --progress --recursive --ignore-existing \ rsync -h --progress --recursive --ignore-existing \
$FOLDER_FAV/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Fav $FOLDER_FAV/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Fav
rsync -h --progress --recursive --ignore-existing \
$FOLDER_PIANO/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Piano
# Generate playlist # Generate playlist
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Dub; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u" ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Dub; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Fav; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u" ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Fav; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Piano; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
# Fix permissions # Fix permissions
ssh docker-de -t 'chown docker-user: /mnt/HC_Volume_34966154/jellifin -R' ssh docker-de -t 'chown docker-user: /mnt/HC_Volume_34966154/jellifin -R'
+1
View File
@@ -2,3 +2,4 @@
KERNEL=$(uname -sr) KERNEL=$(uname -sr)
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@" [[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@" [[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
[[ $KERNEL =~ "Darwin" ]] && osascript -e "display notification \"$*\""
+3
View File
@@ -225,6 +225,9 @@ alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k"
alias irc="ssh mikrus -t 'screen -r'" alias irc="ssh mikrus -t 'screen -r'"
alias neofetch=fastfetch alias neofetch=fastfetch
# Zoxide
[ -f $(which zoxide) ] && {eval "$(zoxide init zsh)"; alias cd='z'}
# GoLang # GoLang
alias go-mod="go mod edit -go $(go version | grep -oE 'go[0-9]*\.[0-9]*\.[0-9]*' | sed 's/go//g'); go get -u; go mod verify; go get -x -v; go mod verify; go mod tidy" alias go-mod="go mod edit -go $(go version | grep -oE 'go[0-9]*\.[0-9]*\.[0-9]*' | sed 's/go//g'); go get -u; go mod verify; go get -x -v; go mod verify; go mod tidy"