From ce114c6292426debef4f90f9e2936512d5f1172c Mon Sep 17 00:00:00 2001 From: Breizh Date: Mon, 5 Apr 2021 17:09:57 +0200 Subject: [PATCH] =?UTF-8?q?Mises=20=C3=A0=20jour=20diverses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/cava/config | 20 +++++++++++--------- .config/conky/conkyrc2 | 1 - .config/mpv/mpv.conf | 7 ++++++- .i3blocks/mpd | 2 +- .local/bin/mpd-notif | 4 ++-- .ncmpcpp/config | 2 +- .vim/.netrwhist | 4 ++-- 7 files changed, 23 insertions(+), 17 deletions(-) diff --git a/.config/cava/config b/.config/cava/config index 6321d22..ceb3f22 100644 --- a/.config/cava/config +++ b/.config/cava/config @@ -123,14 +123,17 @@ method = ncurses # background must also be defined in hex or remain commented out. 1 = on, 0 = off. # You can define as many as 8 different colors. They range from bottom to top of screen gradient = 1 -gradient_count = 6 -gradient_color_1 = '#6699CC' -gradient_color_2 = '#6699CC' -gradient_color_3 = '#CC99CC' -gradient_color_4 = '#CC99CC' -gradient_color_5 = '#F2777A' -gradient_color_6 = '#F2777A' - +; gradient_count = 6 +; gradient_color_1 = '#6699CC' +; gradient_color_2 = '#6699CC' +; gradient_color_3 = '#CC99CC' +; gradient_color_4 = '#CC99CC' +; gradient_color_5 = '#F2777A' +; gradient_color_6 = '#F2777A' +gradient_count = 3 +gradient_color_1 = '#008080' +gradient_color_2 = '#D58E00' +gradient_color_3 = '#D50000' [smoothing] @@ -148,7 +151,6 @@ monstercat = 1 ; gravity = 100 gravity = 200 - # In bar height, bars that would have been lower that this will not be drawn. ; ignore = 0 diff --git a/.config/conky/conkyrc2 b/.config/conky/conkyrc2 index 516f5fd..981bd3c 100644 --- a/.config/conky/conkyrc2 +++ b/.config/conky/conkyrc2 @@ -75,7 +75,6 @@ $alignc${addrs tun0} $alignc${scroll left 39 2 1 ${v6addrs tun0 -n -s}} ${endif} ${color2}${font2}Capteurs $hr$font$color${voffset 2} -Disque dur${goto 140}${if_match ${hddtemp}>50}${color F2777A}$endif${hddtemp}°C$color CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color} Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"' | cut -d. -f1}°C${color} diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index a61728a..c06c022 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -6,6 +6,9 @@ video-sync=display-resample interpolation tscale=oversample +# Audio +audio-channels=stereo + # Misc cache-pause input-ipc-server=/tmp/mpvsocket @@ -25,10 +28,12 @@ hwdec-codecs=all # Language alang=fr,fre,fra -slang=fr,fre,fra +#slang=fr,fre,fra +slang=en,eng,fr,fre,fra # Network cache=yes demuxer-max-bytes=256MiB demuxer-readahead-secs=20 ytdl-format="((bestvideo[vcodec^=av01][height<=?1080][width<=?1920]/bestvideo[vcodec=vp9][height<=?1080][width<=?1920]/bestvideo[height<=?1080][width<=?1920]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio))/best" +# ytdl-raw-options=ignore-config= diff --git a/.i3blocks/mpd b/.i3blocks/mpd index 33af231..957d200 100755 --- a/.i3blocks/mpd +++ b/.i3blocks/mpd @@ -54,7 +54,7 @@ if [[ "$origstatus" != "stop" ]] && [[ "$origstatus" != "off" ]] then if [[ ! -f $runtime/mpd ]] then - mpc -f '[[%artist%§]%title%|[%file%]' current > ${runtime}/mpd + mpc -f '[[%artist%§|%name%§]%title%|[%file%]' current > ${runtime}/mpd fi song=$(<${runtime}/mpd) diff --git a/.local/bin/mpd-notif b/.local/bin/mpd-notif index 77c9c0b..6ca861a 100755 --- a/.local/bin/mpd-notif +++ b/.local/bin/mpd-notif @@ -10,12 +10,12 @@ while true do systemctl --user is-active mpd.service &>/dev/null || exit 1 timeout 5 mpc -w current - onelineinfos="$(mpc -f '[%artist%|%name%§]%title%|[%file%]' current)" + onelineinfos="$(mpc -f '[%artist%§|%name%§]%title%|[%file%]' current)" if [[ "$onelineinfos" != "$(<${runtime}/mpd)" ]] then echo "$onelineinfos" > ${runtime}/mpd echo "$(<${runtime}/mpd) " > ${runtime}/mpd-scroll - infos=$(mpc -f '[[%artist%|%name%\n]%title%[\n%album%]]|[%file%]' current) + infos=$(mpc -f '[[%artist%\n|%name%\n]%title%[\n%album%]]|[%file%]' current) if [[ -z "$infos" ]] then infos="Arrêt" diff --git a/.ncmpcpp/config b/.ncmpcpp/config index 11b8509..3314113 100644 --- a/.ncmpcpp/config +++ b/.ncmpcpp/config @@ -325,7 +325,7 @@ centered_cursor = yes # ## Available values: classic, alternative. ## -#user_interface = classic +user_interface = alternative # #data_fetching_delay = yes # diff --git a/.vim/.netrwhist b/.vim/.netrwhist index d67007a..1d28efd 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,5 +1,6 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhistcnt =1 +let g:netrw_dirhistcnt =2 +let g:netrw_dirhist_2='/usr/lib/python3.9/site-packages/variety' let g:netrw_dirhist_1='/usr/lib/modules/5.9.8-arch1-1/build/drivers/ipack/devices' let g:netrw_dirhist_0='/home/breizh' let g:netrw_dirhist_9='/home/breizh/.local/share' @@ -9,4 +10,3 @@ let g:netrw_dirhist_6='/home/breizh/.config/fish' let g:netrw_dirhist_5='/home/breizh/.config/i3' let g:netrw_dirhist_4='/home/breizh/.config/fish' let g:netrw_dirhist_3='/home/breizh/.cache/dmenu-recent' -let g:netrw_dirhist_2='/home/breizh/.mozilla/firefox/5i4s6px2.tmp'