Mises à jour diverses

This commit is contained in:
Breizh 2021-04-05 17:09:57 +02:00
parent 397b0a6b76
commit feca6ab12f
7 changed files with 23 additions and 17 deletions

View File

@ -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

View File

@ -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}

View File

@ -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=

View File

@ -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)

View File

@ -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="<i>Arrêt</i>"

View File

@ -325,7 +325,7 @@ centered_cursor = yes
#
## Available values: classic, alternative.
##
#user_interface = classic
user_interface = alternative
#
#data_fetching_delay = yes
#

View File

@ -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'