diff --git a/.Xresources b/.Xresources index 9926133..5caeeeb 100644 --- a/.Xresources +++ b/.Xresources @@ -63,9 +63,9 @@ URxvt.font: xft:xos4 Terminus:pixelsize=16,xft:DejaVu Sans Mono:antialias=false: !URxvt.depth: 32 !URxvt.background: [100]#000000 -!URxvt.iconFile: /usr/share/icons/Vertex-Icons/apps/symbolic/utilities-terminal-symbolic.svg +URxvt.iconFile: /usr/share/icons/Vertex-Icons/apps/symbolic/utilities-terminal-symbolic.svg !URxvt.iconFile: /usr/share/icons/Adwaita/scalable/apps/utilities-terminal-symbolic.svg -URxvt.iconFile: /usr/share/icons/gnome/16x16/apps/terminal.png +!URxvt.iconFile: /usr/share/icons/gnome/16x16/apps/terminal.png URxvt*scrollBar: true URxvt*mouseWheelScrollPage: false diff --git a/.config/yt-dlp/config b/.config/yt-dlp/config index 56b7cdd..4691a62 100644 --- a/.config/yt-dlp/config +++ b/.config/yt-dlp/config @@ -13,7 +13,7 @@ --hls-use-mpegts --compat-options no-keep-subs --download-archive ".yt-dlp_archive" --N 1 +#-N 4 #--netrc # For 429 errors diff --git a/.i3blocks/internet b/.i3blocks/internet index 33a8f28..010c1b0 100755 --- a/.i3blocks/internet +++ b/.i3blocks/internet @@ -12,7 +12,7 @@ then fi # https://atlas.ripe.net/anchors/about/ # fr-rns-as204092.anchors.atlas.ripe.net -elif ping -c 1 2a00:5884:822c::1 -W 1 &>/dev/null || ping -c 1 80.67.190.218 -W 1 &>/dev/null +elif ping -c 4 2a00:5884:822c::1 -W 1 &>/dev/null || ping -c 4 80.67.190.218 -W 1 &>/dev/null then color="#99CC99" if [ -f /dev/shm/claws_offline ] @@ -21,7 +21,7 @@ then rm /dev/shm/claws_offline fi # test-debit.free.fr -elif ping -c 1 2a01:e0c:1:1598::3 -W 1 &>/dev/null || ping -c 1 212.27.42.153 -W 1 &>/dev/null +elif ping -c 4 2a01:e0c:1:1598::3 -W 1 &>/dev/null || ping -c 4 212.27.42.153 -W 1 &>/dev/null then color="#FFCC66" else diff --git a/.i3blocks/toggle-sink b/.i3blocks/toggle-sink index 24ca629..f74fcdf 100755 --- a/.i3blocks/toggle-sink +++ b/.i3blocks/toggle-sink @@ -1,7 +1,6 @@ #!/bin/bash -#SINK="alsa_output.pci-0000_2b_00.3.3.analog-stereo" -SINK="alsa_output.pci-0000_2b_00.3.analog-stereo" +SINK="$(pactl get-default-sink)" currentport=$(pactl list sinks | grep -Po "Active Port: analog.*") diff --git a/.local/bin/music-convert b/.local/bin/music-convert index 71e802d..25587c0 100755 --- a/.local/bin/music-convert +++ b/.local/bin/music-convert @@ -68,7 +68,7 @@ do ( echo " ${dir#./}$file" - ffmpeg -n -loglevel error -i "file:$file" -c:a libopus -b:a 256K "file:${dstdir}${dstfile}" && \ + ffmpeg -n -loglevel error -i "file:$file" -c:a libopus -b:a 128K "file:${dstdir}${dstfile}" && \ loudgain -S -r -k -q -s e "${dstdir}${dstfile}" &>/dev/null && \ echo "[${green} OK ${reset}] ${dir#./}$file" || \ echo "[${red}FAIL${reset}] ${dir#./}$file"