diff --git a/.Xresources b/.Xresources index 5caeeeb..f13dbd4 100644 --- a/.Xresources +++ b/.Xresources @@ -58,7 +58,9 @@ XTerm*reverseVideo: on XTerm*selectToClipboard: true URxvt.font: xft:xos4 Terminus:pixelsize=16,xft:DejaVu Sans Mono:antialias=false:pixelsize=16,xft:Noto Sans Mono:pixelsize=16:antialias=false -!URxvt.font: xft:IBM Plex Mono:pixelsize=14,xft:DejaVu Sans Mono:antialias=false:pixelsize=14,xft:Noto Sans Mono:pixelsize=14:antialias=true +!URxvt.boldFont: +!URxvt.italicFont: +!URxvt.boldItalicFont: !URxvt.letterSpace: 0 !URxvt.depth: 32 !URxvt.background: [100]#000000 @@ -146,11 +148,11 @@ URxvt*cursorUnderline: true ! URxvt*pointerColor2: color ! URxvt*borderColor: color ! URxvt*iconFile: file -! URxvt*font: xft:Latin Modern Mono -! URxvt*boldFont: xft:Latin Modern Mono:size=12,xft:xos4 Terminus -! URxvt*italicFont: xft:Latin Modern Mono:size=12,xft:xos4 Terminus -!URxvt.letterSpace: -1 -! URxvt*boldItalicFont: xft:Latin Modern Mono:size=12,xft:xos4 Terminus +! URxvt*font: +! URxvt*boldFont: +! URxvt*italicFont: +! URxvt*boldItalicFont: +! URxvt.letterSpace: -1 ! URxvt*intensityStyles: true ! URxvt*inputMethod: name ! URxvt*preeditType: style diff --git a/.bash_profile b/.bash_profile index fdd5a5b..b6f3f98 100644 --- a/.bash_profile +++ b/.bash_profile @@ -10,6 +10,9 @@ export EDITOR=vim export PAGER=less export PATH=~/.local/bin:$PATH +# Passe -P -i à groff, pour passer -i à grotty pour afficher du vrai italique +export MANROFFOPT="-P -i" + export HASTE_SERVER="https://haste.breizh.pm" export MPD_HOST="$HOME/.mpd/socket" export MAGICK_TMPDIR="$HOME/.cache/ImageMagick/" diff --git a/.bashrc b/.bashrc index fd9755d..d6cf044 100644 --- a/.bashrc +++ b/.bashrc @@ -96,13 +96,14 @@ On_White='\e[47m' # White # On_IWhite='\e[0;107m' # White # Less colors -export LESS_TERMCAP_mb=$(tput blink) -export LESS_TERMCAP_md=$(tput bold) -export LESS_TERMCAP_me=$(tput sgr0) -export LESS_TERMCAP_so=$(tput smso) -export LESS_TERMCAP_se=$(tput rmso) -export LESS_TERMCAP_us=$(tput sitm) -export LESS_TERMCAP_ue=$(tput sgr0) +#export LESS_TERMCAP_mb=$(tput blink) +#export LESS_TERMCAP_md=$(tput bold) +#export LESS_TERMCAP_me=$(tput sgr0) +#export LESS_TERMCAP_so=$(tput smso) +#export LESS_TERMCAP_se=$(tput rmso) +#export LESS_TERMCAP_us=$(tput smul) +#export LESS_TERMCAP_ZH=$(tput sitm) +#export LESS_TERMCAP_ue=$(tput sgr0) export LESS="-RI" diff --git a/.config/cava/config b/.config/cava/config index b27352c..76a7fc2 100644 --- a/.config/cava/config +++ b/.config/cava/config @@ -1,4 +1,5 @@ -## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. +## Configuration file for CAVA. +# Remove the ; to change parameters. [general] @@ -7,7 +8,7 @@ ; mode = normal # Accepts only non-negative values. -; framerate = 240 +; framerate = 60 # 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off # new as of 0.6.0 autosens of low values (dynamic range) @@ -19,7 +20,7 @@ # 200 means double height. Accepts only non-negative values. ; sensitivity = 100 -# The number of bars (0-200). 0 sets it to auto (fill up console). +# The number of bars (0-512). 0 sets it to auto (fill up console). # Bars' width and space between bars in number of characters. ; bars = 0 ; bar_width = 2 @@ -27,12 +28,14 @@ # bar_height is only used for output in "noritake" format ; bar_height = 32 -bar_width=1 - # For SDL width and space between bars is in pixels, defaults are: ; bar_width = 20 ; bar_spacing = 5 +# sdl_glsl have these default values, they are only used to calulate max number of bars. +; bar_width = 1 +; bar_spacing = 0 + # Lower and higher cutoff frequencies for lowest and highest bars # the bandwidth of the visualizer. @@ -50,20 +53,27 @@ bar_width=1 [input] # Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem' -# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# Defaults to 'pulse', 'pipewire', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# On windows this is automatic and no input settings are needed. # # All input methods uses the same config variable 'source' # to define where it should get the audio. # -# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink # (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). # +# For piepwire 'source' will be the object name or object.serial of the device to capture from. +# Both input and output devices are supported. +# # For alsa 'source' will be the capture device. # For fifo 'source' will be the path to fifo-file. # For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address ; method = pulse ; source = auto +method = pipewire +source = auto + ; method = alsa ; source = hw:Loopback,1 @@ -81,7 +91,8 @@ bar_width=1 [output] -# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake' or 'sdl'. +# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl' +# or 'sdl_glsl'. # 'noncurses' uses a custom framebuffer technique and prints only changes # from frame to frame in the terminal. 'ncurses' is default if supported. # @@ -93,8 +104,16 @@ bar_width=1 # in graphic mode. It only support the 3000 series graphical VFDs for now. # # 'sdl' uses the Simple DirectMedia Layer to render in a graphical context. +# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or +# use one of the predefined ones. ; method = ncurses +# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'. +# Default is 'bottom'. Other orientations are only supported on sdl and ncruses +# output. Note: many fonts have weird glyphs for 'top' and 'right' characters, +# which can make ncurses not look right. +; orientation = bottom + # Visual channels. Can be 'stereo' or 'mono'. # 'stereo' mirrors both channels with low frequencies in center. # 'mono' outputs left to right lowest to highest frequencies. @@ -127,36 +146,51 @@ bar_width=1 ; sdl_x = -1 ; sdl_y= -1 +# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none' +# 'frequency' displays the lower cut off frequency of the bar above. +# Only supported on ncurses and noncurses output. +; xaxis = none + +# enable alacritty synchronized updates. 1 = on, 0 = off +# removes flickering in alacritty terminal emulator. +# defaults to off since the behaviour in other terminal emulators is unknown +; alacritty_sync = 0 + +# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders +; vertex_shader = pass_through.vert +; fragment_shader = bar_spectrum.frag + +; for glsl output mode, keep rendering even if no audio +; continuous_rendering = 0 + [color] # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires -# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt. -# if supported, ncurses mode will be forced on if user defined colors are used. +# a terminal that can change color definitions such as Gnome-terminal or rxvt. # default is to keep current terminal color ; background = default ; foreground = default -# SDL only support hex code colors, these are the default: +# SDL and sdl_glsl only support hex code colors, these are the default: ; background = '#111111' -; foreground = '#33cccc' +; foreground = '#33ffff' -# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported, -# background must also be defined in hex or remain commented out. 1 = on, 0 = off. +# Gradient mode, only hex defined colors are supported, +# 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 = 3 -gradient_color_1 = '#008080' -gradient_color_2 = '#D58E00' -gradient_color_3 = '#D50000' +; gradient = 0 +; gradient_count = 8 +; gradient_color_1 = '#59cc33' +; gradient_color_2 = '#80cc33' +; gradient_color_3 = '#a6cc33' +; gradient_color_4 = '#cccc33' +; gradient_color_5 = '#cca633' +; gradient_color_6 = '#cc8033' +; gradient_color_7 = '#cc5933' +; gradient_color_8 = '#cc3333' + [smoothing] @@ -180,19 +214,17 @@ gradient_color_3 = '#D50000' # DEPRECATED as of 0.8.0 ; ignore = 0 -# Noise reduction, float 0 - 1. default 0.77 +# Noise reduction, int 0 - 100. default 77 # the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth -# 1 will be very slow and smooth, 0 will be fast but noisy. -; noise_reduction = 0.77 +# 100 will be very slow and smooth, 0 will be fast but noisy. +; noise_reduction = 77 [eq] # This one is tricky. You can have as much keys as you want. -# Remember to uncomment more then one key! More keys = more precision. +# Remember to uncomment more than one key! More keys = more precision. # Look at readme.md on github for further explanations and examples. -# DEPRECATED as of 0.8.0 can be brought back by popular request, open issue at: -# https://github.com/karlstav/cava ; 1 = 1 # bass ; 2 = 1 ; 3 = 1 # midtone diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 83f0aa5..ad5f644 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -21,14 +21,14 @@ set base0D 6699CC set base0E CC99CC set base0F D27B53 -set -x LESS_TERMCAP_mb (tput blink) -set -x LESS_TERMCAP_md (tput bold) -set -x LESS_TERMCAP_me (tput sgr0) -set -x LESS_TERMCAP_so (tput smso) -set -x LESS_TERMCAP_se (tput rmso) -set -x LESS_TERMCAP_us (tput sitm) -set -x LESS_TERMCAP_ue (tput sgr0) - +#set -x LESS_TERMCAP_mb (tput blink) +#set -x LESS_TERMCAP_md (tput bold) +#set -x LESS_TERMCAP_me (tput sgr0) +#set -x LESS_TERMCAP_so (tput smso) +#set -x LESS_TERMCAP_se (tput rmso) +#set -x LESS_TERMCAP_us (tput smul) +#set -x LESS_TERMCAP_ZH (tput sitm) +#set -x LESS_TERMCAP_ue (tput sgr0) #if status --is-interactive if test "$XDG_CURRENT_DESKTOP" = "i3" diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 1db3897..0e94c21 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -37,10 +37,12 @@ prefetch-playlist=yes # Autre input-ipc-server=/tmp/mpvsocket -hr-seek-framedrop=yes +hr-seek-framedrop=no title=${?chapter:${chapter-metadata/by-key/title} | }${media-title} | mpv #osd-msg3=${media-title}${?chapter:\n ${chapter-metadata/by-key/title}}\n${time-pos} / ${playtime-remaining} #osd-font-size=25 osc=no screenshot-directory=~/Images/Screenshots/MPV +# TV Free +rtsp-transport=lavf diff --git a/.config/pikaur.conf b/.config/pikaur.conf index 7d86763..a131e4f 100644 --- a/.config/pikaur.conf +++ b/.config/pikaur.conf @@ -1,6 +1,6 @@ [sync] -develpkgsexpiration = 30 alwaysshowpkgorigin = yes +develpkgsexpiration = 30 upgradesorting = versiondiff showdownloadsize = yes ignoreoutofdateaurupgrades = no @@ -9,14 +9,14 @@ ignoreoutofdateaurupgrades = no keepbuilddir = yes keepdevbuilddir = yes keepbuilddeps = no -skipfailedbuild = no -ignorearch = no gpgdir = /etc/pacman.d/gnupg +skipfailedbuild = no dynamicusers = root +ignorearch = no [review] -donteditbydefault = no noedit = yes +donteditbydefault = no nodiff = no gitdiffargs = --ignore-space-change,--ignore-all-space diffpager = auto @@ -37,7 +37,6 @@ reversesearchsorting = yes warnaboutpackageupdates = [misc] -sudoloopinterval = 30 pacmanpath = pacman privilegeescalationtool = sudo privilegeescalationtarget = pikaur @@ -45,7 +44,7 @@ userid = 0 [network] aururl = https://aur.archlinux.org -newsurl = https://archlinux.org/feeds/news/ +newsurl = https://www.archlinux.org/feeds/news/ socks5proxy = aurhttpproxy = aurhttpsproxy = diff --git a/.i3blocks/toggle-sink b/.i3blocks/toggle-sink index f74fcdf..06fc34a 100755 --- a/.i3blocks/toggle-sink +++ b/.i3blocks/toggle-sink @@ -2,7 +2,7 @@ SINK="$(pactl get-default-sink)" -currentport=$(pactl list sinks | grep -Po "Active Port: analog.*") +currentport=$(pactl list sinks | grep -Po "Active Port: analog-output-.*") if [[ -n "$button" ]] then diff --git a/.local/bin/SVPManager b/.local/bin/SVPManager deleted file mode 120000 index 8d38d71..0000000 --- a/.local/bin/SVPManager +++ /dev/null @@ -1 +0,0 @@ -/home/breizh/.local/opt/svp/SVPManager \ No newline at end of file diff --git a/.local/bin/music-convert b/.local/bin/music-convert index 6dfc01c..f4271c4 100755 --- a/.local/bin/music-convert +++ b/.local/bin/music-convert @@ -79,7 +79,7 @@ do else # Copie les autres types de fichiers echo "[${green}COPY${reset}] ${dir#./}$file" - cp -n --reflink=auto "${file}" "${dstdir}/" || true + cp -n --reflink=auto "${file}" "${dstdir}/" fi done wait diff --git a/.local/bin/music-video-convert b/.local/bin/music-video-convert index bf4455b..e69d986 100755 --- a/.local/bin/music-video-convert +++ b/.local/bin/music-video-convert @@ -76,7 +76,7 @@ do else # Copie les autres types de fichiers echo "[${green}COPY${reset}] ${dir#./}$file" - cp -n --reflink=auto "${file}" "${dstdir}/" || true + cp -n --reflink=auto "${file}" "${dstdir}/" fi done done diff --git a/.local/bin/yt-dlp-playlist b/.local/bin/yt-dlp-playlist new file mode 100755 index 0000000..d753004 --- /dev/null +++ b/.local/bin/yt-dlp-playlist @@ -0,0 +1,3 @@ +#!/bin/bash + +yt-dlp -o"%(playlist_title)s/%(playlist_index)s.%(title)s.%(ext)s" "$@"