diff --git a/config.yaml b/config.yaml index 9ca4f1b..5a29122 100644 --- a/config.yaml +++ b/config.yaml @@ -25,12 +25,30 @@ dotfiles: d_sxhkd: dst: ~/.config/sxhkd src: config/sxhkd + f_c3check: + dst: ~/.bin/c3check + src: bin/c3check + f_c3cp: + dst: ~/.bin/c3cp + src: bin/c3cp + f_c3kdenlive: + dst: ~/.bin/c3kdenlive + src: bin/c3kdenlive + f_c3l: + dst: ~/.bin/c3l + src: bin/c3l + f_c3mpv: + dst: ~/.bin/c3mpv + src: bin/c3mpv f_compton.conf: dst: ~/.config/compton/compton.conf src: config/compton/compton.conf f_fehbg: dst: ~/.fehbg src: fehbg + f_mount_c3voc: + dst: ~/.bin/mount_c3voc + src: bin/mount_c3voc f_powerlevel9krc: actions: - powerlevel9k-theme @@ -81,3 +99,9 @@ profiles: - f_ssh-agent.service - f_compton.conf - f_rofi_config + - f_c3cp + - f_mount_c3voc + - f_c3l + - f_c3kdenlive + - f_c3mpv + - f_c3check diff --git a/dotfiles/bin/c3check b/dotfiles/bin/c3check new file mode 100755 index 0000000..641fcb8 --- /dev/null +++ b/dotfiles/bin/c3check @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +if [[ -z "$1" ]] || [[ -z "$2" ]]; then + echo "Usage: $0 " + echo "e.g.: $0 35c3 9766" + exit 1 +fi + +mediainfo /video/video/encoded/$1/$2-hd.mp4 + +read -p "Press any key to continue... " -n1 -s + +vlc /video/video/encoded/$1/$2-hd.mp4 diff --git a/dotfiles/bin/c3cp b/dotfiles/bin/c3cp new file mode 100755 index 0000000..8b8b2da --- /dev/null +++ b/dotfiles/bin/c3cp @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +if [[ -z "$1" ]]; then + echo "Filepath missing." + exit 1 +fi + +rsync --verbose --progress --inplace $1 /tmp/ diff --git a/dotfiles/bin/c3kdenlive b/dotfiles/bin/c3kdenlive new file mode 100755 index 0000000..28430e7 --- /dev/null +++ b/dotfiles/bin/c3kdenlive @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [[ -z "$1" ]] || [[ -z "$2" ]]; then + echo "Usage: $0 " + echo "e.g.: $0 35c3 9766" + exit 1 +fi + +kdenlive /video/fuse/$1/*/$2/project.kdenlive diff --git a/dotfiles/bin/c3l b/dotfiles/bin/c3l new file mode 100755 index 0000000..ac0e3f0 --- /dev/null +++ b/dotfiles/bin/c3l @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [[ -z "$1" ]] || [[ -z "$2" ]]; then + echo "Usage: $0 " + echo "e.g.: $0 35c3 9766" + exit 1 +fi + +ls -lah --color=tty /video/fuse/$1/*/$2/ diff --git a/dotfiles/bin/c3mpv b/dotfiles/bin/c3mpv new file mode 100755 index 0000000..c53a4e4 --- /dev/null +++ b/dotfiles/bin/c3mpv @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [[ -z "$1" ]] || [[ -z "$2" ]]; then + echo "Usage: $0 " + echo "e.g.: $0 35c3 9766" + exit 1 +fi + +mpv /video/fuse/$1/*/$2/uncut.ts diff --git a/dotfiles/bin/mount_c3voc b/dotfiles/bin/mount_c3voc new file mode 100755 index 0000000..f3f9fe5 --- /dev/null +++ b/dotfiles/bin/mount_c3voc @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [[ $UID -ne 0 ]]; then + echo "You have to run this script as root!" + exit 1 +fi + +mount.cifs //storage.lan.c3voc.de/fuse /video/fuse -o rw,guest -o uid=phg +mount.cifs //storage.lan.c3voc.de/video /video/video -o rw,guest -o uid=phg diff --git a/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Bold.ttf b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Bold.ttf new file mode 100644 index 0000000..4506f17 Binary files /dev/null and b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Bold.ttf differ diff --git a/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Light.ttf b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Light.ttf new file mode 100644 index 0000000..6f57e46 Binary files /dev/null and b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Light.ttf differ diff --git a/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Regular.ttf b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Regular.ttf new file mode 100644 index 0000000..c5a2f67 Binary files /dev/null and b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Regular.ttf differ diff --git a/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Thin.ttf b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Thin.ttf new file mode 100644 index 0000000..990cad7 Binary files /dev/null and b/dotfiles/local/share/fonts/yanone-kaffeesatz-zerohack/YanoneKaffeesatzZeroHack-Thin.ttf differ diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 309c587..0fa5891 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -90,6 +90,11 @@ source $ZSH/oh-my-zsh.sh # User configuration +if [ -d "$HOME/.bin" ] ; then + PATH="$HOME/.bin:$PATH" +fi + + # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment