From 10fafaa47093022592890122d8cb6b2299cafc11 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Thu, 10 Sep 2020 10:29:25 +0200 Subject: [PATCH 1/3] [Conky] Fix date display when YYYY-MM-DD format --- .config/conky/conky.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index 32bc80c..329ac1a 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -131,11 +131,10 @@ ${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 ${color0}${font sans-serif:bold:size=8}MUSIC ${hr 2}$color $font${if_running cmus}${exec cmus-remote -Q 2>/dev/null | grep 'tag artist ' | cut -d " " -f 3-} $alignr ${exec ~/.config/conky/cmus-country.sh} ${scroll wait 53 3 1 ${exec cmus-remote -Q 2>/dev/null | grep 'tag genre ' | cut -d " " -f 3-}} -${exec cmus-remote -Q 2>/dev/null | grep 'date' | cut -d " " -f 3-} - ${exec cmus-remote -Q 2>/dev/null | grep 'tag album ' | cut -d " " -f 3-} +${exec cmus-remote -Q 2>/dev/null | grep ' date' | cut -d " " -f 3 | cut -d "-" -f 1} - ${exec cmus-remote -Q 2>/dev/null | grep 'tag album ' | cut -d " " -f 3-} ${exec cmus-remote -Q | grep tracknumber | cut -d " " -f 3}. ${exec cmus-remote -Q 2>/dev/null | grep 'title' | cut -d " " -f 3-} ${execbar ~/.config/conky/cmus-conky-timebar.sh}${color white} ${alignc}${exec cmus-remote -Q | grep 'position'| awk '{print strftime("%M:%S", $2, 1)}'} / ${exec cmus-remote -Q | grep 'duration' | awk '{print strftime("%M:%S", $2, 1)}'} ${else}$alignc Nothing is playing at the moment. ${endif} -${color DimGray}${execi 120 fortune -a -n 500 -s | fold -s -w54}$color ]] From 617679639b27e080d2f8f893b74176751e6a2f78 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Thu, 10 Sep 2020 10:43:19 +0200 Subject: [PATCH 2/3] [Conky] Fix the display length of the artists --- .config/conky/conky.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index 329ac1a..b2cdbdb 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -129,7 +129,7 @@ ${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 #Credit to Reddit user: /u/Rioku_jk ############################################## ${color0}${font sans-serif:bold:size=8}MUSIC ${hr 2}$color -$font${if_running cmus}${exec cmus-remote -Q 2>/dev/null | grep 'tag artist ' | cut -d " " -f 3-} $alignr ${exec ~/.config/conky/cmus-country.sh} +$font${if_running cmus}${scroll wait 33 3 1 ${exec cmus-remote -Q 2>/dev/null | grep 'tag artist ' | cut -d " " -f 3-}} $alignr ${exec ~/.config/conky/cmus-country.sh} ${scroll wait 53 3 1 ${exec cmus-remote -Q 2>/dev/null | grep 'tag genre ' | cut -d " " -f 3-}} ${exec cmus-remote -Q 2>/dev/null | grep ' date' | cut -d " " -f 3 | cut -d "-" -f 1} - ${exec cmus-remote -Q 2>/dev/null | grep 'tag album ' | cut -d " " -f 3-} ${exec cmus-remote -Q | grep tracknumber | cut -d " " -f 3}. ${exec cmus-remote -Q 2>/dev/null | grep 'title' | cut -d " " -f 3-} From 7c0ef7bdfec1312ad5ea27827faa58ac7ed85919 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Thu, 10 Sep 2020 10:43:46 +0200 Subject: [PATCH 3/3] [QB] Add some quickmarks --- .config/qutebrowser/quickmarks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/qutebrowser/quickmarks b/.config/qutebrowser/quickmarks index 310a0b4..47c1d96 100644 --- a/.config/qutebrowser/quickmarks +++ b/.config/qutebrowser/quickmarks @@ -22,3 +22,5 @@ windows nettoyage https://sebsauvage.net/wiki/doku.php?id=windows mail dovecot postfix configuration https://blog.cybiere.fr/post/mail_intro/ factorio blueprints https://factorioprints.com/ nfs smb sshfs nas performance https://blog.ja-ke.tech/2019/08/27/nas-performance-sshfs-nfs-smb.html +meteosuisse https://www.meteosuisse.admin.ch/home.html?tab=alarm +co2 calculateur empreinte https://ecolab.ademe.fr/apps/climat/