mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
add some c3 voc helper scripts; add $HOME/bin to $PATH; Add yanone kaffeesatz zerohack font
This commit is contained in:
parent
15e477e2c3
commit
4b31c2e4cf
24
config.yaml
24
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
|
||||
|
|
13
dotfiles/bin/c3check
Executable file
13
dotfiles/bin/c3check
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||
echo "Usage: $0 <event> <talk-id>"
|
||||
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
|
8
dotfiles/bin/c3cp
Executable file
8
dotfiles/bin/c3cp
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Filepath missing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rsync --verbose --progress --inplace $1 /tmp/
|
9
dotfiles/bin/c3kdenlive
Executable file
9
dotfiles/bin/c3kdenlive
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||
echo "Usage: $0 <event> <talk-id>"
|
||||
echo "e.g.: $0 35c3 9766"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
kdenlive /video/fuse/$1/*/$2/project.kdenlive
|
9
dotfiles/bin/c3l
Executable file
9
dotfiles/bin/c3l
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||
echo "Usage: $0 <event> <talk-id>"
|
||||
echo "e.g.: $0 35c3 9766"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ls -lah --color=tty /video/fuse/$1/*/$2/
|
9
dotfiles/bin/c3mpv
Executable file
9
dotfiles/bin/c3mpv
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
|
||||
echo "Usage: $0 <event> <talk-id>"
|
||||
echo "e.g.: $0 35c3 9766"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mpv /video/fuse/$1/*/$2/uncut.ts
|
9
dotfiles/bin/mount_c3voc
Executable file
9
dotfiles/bin/mount_c3voc
Executable file
|
@ -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
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue