From 7a700d9768237ef52f256766f7b1de10350612a9 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 31 Mar 2019 10:05:21 +0200 Subject: [PATCH] Update. --- confs/abcde.conf | 3 ++- confs/lgogdownloader.cfg | 36 ++++++++++++++++++++++++++++++++ confs/mopidy.conf | 2 +- meta/configs/lgogdownloader.yaml | 4 ++++ meta/github/oh-my-zsh | 2 +- vim/vim/keybindings.vim | 10 +++++++++ zsh/custom/aliases.zsh | 3 +++ zsh/zshenv | 7 +++++++ zsh/zshrc | 17 +++++++++++++++ 9 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 confs/lgogdownloader.cfg create mode 100644 meta/configs/lgogdownloader.yaml diff --git a/confs/abcde.conf b/confs/abcde.conf index 6c41fa0..30ed93b 100644 --- a/confs/abcde.conf +++ b/confs/abcde.conf @@ -369,6 +369,7 @@ ACTIONS=cddb,read,encode,tag,move,clean,getalbumart,playlist # It can be defined as a singletrack flac file, but since it might change from # file to file it makes little sense to define it here. #CDROM=/dev/cdrom +CDROM=/dev/sr0 # If we are using the IDE bus, we need CDPARANOIACDROMBUS defined as "d" # If we are using the ide-scsi emulation layer, we need to define a "g" #CDPARANOIACDROMBUS="d" @@ -403,7 +404,7 @@ OUTPUTTYPE=flac OUTPUTFORMAT='${ARTISTFILE}/${YEAR} - ${ALBUMFILE}/${TRACKNUM} - ${ARTISTFILE} - ${ALBUMFILE} - ${TRACKFILE}' # Like OUTPUTFORMAT but for Various Artists discs. -VAOUTPUTFORMAT='Various - ${ARTISTFILE}/${YEAR} - ${ALBUMFILE}/${TRACKNUM} - ${ARTISTFILE} - ${ALBUMFILE} - ${TRACKFILE}' +VAOUTPUTFORMAT='Various Artists/${YEAR} - ${ALBUMFILE}/${TRACKNUM} - ${ARTISTFILE} - ${ALBUMFILE} - ${TRACKFILE}' # Like OUTPUTFORMAT and VAOUTPUTFORMAT but for the ONEFILE rips. ONETRACKOUTPUTFORMAT=$OUTPUTFORMAT diff --git a/confs/lgogdownloader.cfg b/confs/lgogdownloader.cfg new file mode 100644 index 0000000..1b484d3 --- /dev/null +++ b/confs/lgogdownloader.cfg @@ -0,0 +1,36 @@ +automatic-xml-creation = false +cache-valid = 2880 +chunk-size = 10 +curl-verbose = false +directory = /home/jeff/Téléchargements/jeux/ +dlc-list = https://raw.githubusercontent.com/Sude-/lgogdownloader-lists/master/game_has_dlc.txt +exclude = covers +include = all +insecure = false +language = fr +limit-rate = 0 +lowspeed-rate = 200 +lowspeed-timeout = 30 +no-color = false +no-duplicate-handling = false +no-remote-xml = false +no-subdirectories = false +no-unicode = false +platform = linux +progress-interval = 100 +retries = 3 +save-changelogs = false +save-serials = false +secret = 7af9c1e88972ed65a9f7859616d9c0a837856140 +subdir-dlc = dlc/%dlcname% +subdir-extras = extras +subdir-game = %gamename% +subdir-installers = +subdir-language-packs = languagepacks +subdir-patches = patches +threads = 4 +timeout = 10 +token = 8e643606d2b3747a5f7221e7f0b58f4a614c84e7 +use-cache = false +verbose = false +wait = 0 diff --git a/confs/mopidy.conf b/confs/mopidy.conf index 41bf991..37a82ca 100644 --- a/confs/mopidy.conf +++ b/confs/mopidy.conf @@ -55,7 +55,7 @@ zeroconf = Mopidy MPD server on $hostname default_playlist_scheme = m3u [http] -enabled = false +enabled = true #hostname = 127.0.0.1 #port = 6680 #static_dir = diff --git a/meta/configs/lgogdownloader.yaml b/meta/configs/lgogdownloader.yaml new file mode 100644 index 0000000..aa8dd5f --- /dev/null +++ b/meta/configs/lgogdownloader.yaml @@ -0,0 +1,4 @@ +- link: + ~/.config/lgogdownloader/config.cfg: + create: true + path: confs/lgogdownloader.cfg diff --git a/meta/github/oh-my-zsh b/meta/github/oh-my-zsh index 3320658..9509fd6 160000 --- a/meta/github/oh-my-zsh +++ b/meta/github/oh-my-zsh @@ -1 +1 @@ -Subproject commit 3320658f30e0556bae0844629a265ae71f807cc1 +Subproject commit 9509fd6a9193e32e5c2d460786253ba0e98fd741 diff --git a/vim/vim/keybindings.vim b/vim/vim/keybindings.vim index 81063ad..52b3a0a 100644 --- a/vim/vim/keybindings.vim +++ b/vim/vim/keybindings.vim @@ -7,6 +7,16 @@ " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" +" Custom +" + +" +" NERDTree +" +" Trigger configuration +map :NERDTreeToggle + " " UltiSnips " diff --git a/zsh/custom/aliases.zsh b/zsh/custom/aliases.zsh index 7b51e7e..993c56e 100644 --- a/zsh/custom/aliases.zsh +++ b/zsh/custom/aliases.zsh @@ -57,3 +57,6 @@ hash -d dot="$HOME/Dotfiles" alias ec="emacsclient -t" alias emacs="emacsclient-oneframe.sh" alias ltxmk="latexmk $1 && latexmk -c $1" + +# Other +alias open="xdg-open $1" diff --git a/zsh/zshenv b/zsh/zshenv index 2efe875..6bc26ce 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -12,5 +12,12 @@ fi # set PATH so it includes miniconda bin dir if it exists path=(~/miniconda3/bin $path[@]) +# set PATH for nvm +export NVM_DIR="$HOME/nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + # environment variables export EDITOR=nano +export XDG_CURRENT_DESKTOP= +# export DESKTOP_SESSION= diff --git a/zsh/zshrc b/zsh/zshrc index ce15797..321a615 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -98,3 +98,20 @@ export LANG=fr_FR.UTF-8 # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" + + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/jeff/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/jeff/miniconda3/etc/profile.d/conda.sh" ]; then + . "/home/jeff/miniconda3/etc/profile.d/conda.sh" + else + export PATH="/home/jeff/miniconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +