Compare commits
8 Commits
0c8cd8f76a
...
93d3b4440c
Author | SHA1 | Date | |
---|---|---|---|
93d3b4440c | |||
f5ded6a5e6 | |||
c9ac5f42ab | |||
819de0e9ae | |||
19dcc18963 | |||
311e2003b5 | |||
cc21679185 | |||
f279b82081 |
@ -8,13 +8,16 @@ gnu-sed
|
||||
htop
|
||||
imagemagick
|
||||
ipcalc
|
||||
iperf3
|
||||
mtr
|
||||
neovim
|
||||
newsboat
|
||||
parallel
|
||||
ranger
|
||||
ripgrep
|
||||
rsync
|
||||
tmux
|
||||
tree
|
||||
wget
|
||||
zoxide
|
||||
zsh
|
||||
|
@ -14,7 +14,7 @@ keep-open=yes
|
||||
|
||||
# Always save the current playback position on exit
|
||||
save-position-on-quit=yes
|
||||
ontop=yes
|
||||
# ontop=yes
|
||||
|
||||
# Geometry settings
|
||||
geometry=50%:50%
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -278,3 +278,4 @@ golang
|
||||
Cisco Packet Tracer 8.0.0
|
||||
.local/bin/kubectl
|
||||
.rustup
|
||||
.local/tss-sdk
|
||||
|
@ -611,7 +611,7 @@ function main() {
|
||||
command_start install_prettier
|
||||
command_start install_google_cloud_sdk
|
||||
command_start install_bgpreader
|
||||
command_start install_fonts_terminess
|
||||
command_start install_font_terminess
|
||||
command_start install_zsh_addons
|
||||
command_start install_brew_programs
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ export QT_IM_MODULE=ibus
|
||||
KERNEL=$(uname -sr)
|
||||
[[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
|
||||
[[ $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 "$@"
|
||||
|
||||
# Firefox
|
||||
|
@ -2,14 +2,17 @@
|
||||
|
||||
FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav"
|
||||
FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub"
|
||||
FOLDER_PIANO="/Volumes/Music/Jellyfin/Playlist-Piano"
|
||||
|
||||
# Check if folder exists
|
||||
[ ! -d $FOLDER_DUB ] && exit 1
|
||||
[ ! -d $FOLDER_FAV ] && exit 1
|
||||
[ ! -d $FOLDER_PIANO ] && exit 1
|
||||
|
||||
# Remove old files
|
||||
rm -rfv $FOLDER_DUB/errors.txt
|
||||
rm -rfv $FOLDER_FAV/errors.txt
|
||||
rm -rfv $FOLDER_PIANO/errors.txt
|
||||
|
||||
# Download new files for DUB
|
||||
cd $FOLDER_DUB || exit 1
|
||||
@ -38,10 +41,15 @@ rsync -h --progress --recursive --ignore-existing \
|
||||
rsync -h --progress --recursive --ignore-existing \
|
||||
$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
|
||||
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/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
|
||||
ssh docker-de -t 'chown docker-user: /mnt/HC_Volume_34966154/jellifin -R'
|
||||
|
@ -2,3 +2,4 @@
|
||||
KERNEL=$(uname -sr)
|
||||
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
||||
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
||||
[[ $KERNEL =~ "Darwin" ]] && osascript -e "display notification \"$*\""
|
||||
|
3
.zshrc
3
.zshrc
@ -225,6 +225,9 @@ alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k"
|
||||
alias irc="ssh mikrus -t 'screen -r'"
|
||||
alias neofetch=fastfetch
|
||||
|
||||
# Zoxide
|
||||
[ -f $(which zoxide) ] && {eval "$(zoxide init zsh)"; alias cd='z'}
|
||||
|
||||
# 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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user