diff --git a/.bashrc b/.bashrc index 59ec0d8..8738eaa 100644 --- a/.bashrc +++ b/.bashrc @@ -175,4 +175,21 @@ function syncSubSessionCloud() { rsync -av --delete /media/HDD1/NextcloudSS/Sub-Session/ "/media/raghnarok/SubSession$disk/cloud/" } +function pdfcompress(){ + if [ -z ${3+x} ]; + then + quality=printer + else + case $3 in + ebook | screen | printer | prepress | default ) + quality=$3 + ;; + *) + quality='default' + ;; + esac + fi + gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$quality -dNOPAUSE -dQUIET -dBATCH -sOutputFile="$2" "$1" +} + export PATH="$HOME/.cargo/bin:$PATH" diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index b2cdbdb..576eb34 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -51,7 +51,7 @@ conky.text = [[ ${color0}${font sans-serif:bold:size=8}DATE ${hr 2}$color ${alignc}${voffset 10}${alignc}${font Trebuchet MS:size=28}${time %H:%M:%S}${font} ${alignc}${alignc}${font Trebuchet MS:size=8}${time %a %d %b %Y} -${alignc}Volume: ${exec ~/.config/conky/conky-volume.sh}% +#${alignc}Volume: ${exec ~/.config/conky/conky-volume.sh}% #% ${execbar ~/.config/conky/conky-volume.sh} ############################################## #SYSTEM diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml index ad2ab98..f138080 100644 --- a/.config/qutebrowser/autoconfig.yml +++ b/.config/qutebrowser/autoconfig.yml @@ -38,6 +38,7 @@ settings: '*://www.deepl.com/*': true '*://www2.yggtorrent.se/*': true content.media.audio_capture: + https://discord.com: true https://kmeet.infomaniak.com: true https://visio.inubo.ch: true content.media.audio_video_capture: diff --git a/.config/qutebrowser/quickmarks b/.config/qutebrowser/quickmarks index bf47267..e543e0c 100644 --- a/.config/qutebrowser/quickmarks +++ b/.config/qutebrowser/quickmarks @@ -42,3 +42,7 @@ framalistes mail liste https://framalistes.org/sympa/my borg backup performance https://lapineige.fr/wp/blog/2020/10/borg-backup-et-compression-performances-comparees-des-differentes-possibilites/ postfix admin https://vulgarisons.info/adminmail/login.php zefix registre commerce https://www.zefix.ch/fr/search/entity/welcome +rich jeff bezos comparaison argent https://mkorostoff.github.io/1-pixel-wealth/ +culture calculateur production https://parcel-app.org/ +postit framemo memo outil https://postit.colibris-outilslibres.org/ +electricity map live statistiques https://www.electricitymap.org/map