vim things, octopus and youtube2mp3
This commit is contained in:
parent
3cfdcb9925
commit
1e22528510
3 changed files with 19 additions and 2 deletions
10
Utils/youtube2mp3
Executable file
10
Utils/youtube2mp3
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
x=~/.youtube-dl-$RANDOM-$RANDOM.flv
|
||||
youtube-dl --output=$x --format=18 "$1"
|
||||
#ffmpeg -i $x -f ogg -acodec copy -ac 2 -ab 128k -vn -y "$2"
|
||||
#ffmpeg -threads 4 -i $x -f mp3 -vn -acodec copy "$2"
|
||||
#ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$2"
|
||||
#avconv -i $x -vn -ac 2 "$2"
|
||||
ffmpeg -i $x -acodec libmp3lame "$2" -threads 4
|
||||
rm $x
|
|
@ -21,7 +21,7 @@ set number
|
|||
set ts=8 "Un tab, huit espaces
|
||||
set noexpandtab "On veut pas remplacer tab -> espace
|
||||
set wrap "Une grande ligne continue à la ligne
|
||||
"set mouse=a
|
||||
set mouse=a
|
||||
|
||||
set hlsearch "On souligne les mots cherchés
|
||||
set incsearch "recherche peu à peu
|
||||
|
@ -148,3 +148,9 @@ autocmd BufNewFile,BufRead *.php set keywordprg=~/.vim/scripts/doc.php.sh
|
|||
|
||||
"JAVA
|
||||
iabbr syso System.out.println
|
||||
|
||||
|
||||
if bufwinnr(1)
|
||||
map + <C-W>>
|
||||
map - <C-W><
|
||||
endif
|
||||
|
|
3
xinitrc
3
xinitrc
|
@ -29,7 +29,8 @@ setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin
|
|||
# xmodmap ~/.Xmodmap
|
||||
#fi
|
||||
|
||||
$OCTOPUS init-all 1>&2 /dev/shm/Octopus_logs
|
||||
$OCTOPUS init-all 1>&2 /dev/shm/Octopus_logs &
|
||||
$OCTOPUS init-wifi 1>&2 /dev/shm/Octopus_logs &
|
||||
|
||||
while true; do
|
||||
$OCTOPUS refresh
|
||||
|
|
Loading…
Reference in a new issue