From 770a68512c6963772b171484c446c4d687926a98 Mon Sep 17 00:00:00 2001 From: Breizh Date: Thu, 31 Dec 2020 11:14:20 +0100 Subject: [PATCH] =?UTF-8?q?m=C3=A0j=20diverses?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .Xresources | 2 +- .config/fish/fish_variables | 1 + .config/htop/htoprc | 5 ++--- .config/i3/config | 5 ++++- .config/i3blocks/config | 5 +++++ .config/pikaur.conf | 5 ++++- .config/youtube-dl/config | 3 ++- .i3blocks/beep | 4 ++-- .i3blocks/bepo | 25 ++++++++----------------- .i3blocks/cpu_usage | 2 +- .i3blocks/internet | 2 +- .i3blocks/keyindicator | 2 ++ .i3blocks/load_average | 2 +- .i3blocks/memory | 2 +- .i3blocks/toggle-sink | 10 +++++----- .i3blocks/updates | 6 +++--- .i3blocks/vpn | 6 +++--- .local/bin/pik | 8 -------- .local/bin/pikaur | 1 - .local/bin/toggle-beep | 4 ++-- .ncmpcpp/config | 3 +-- .vim/.netrwhist | 4 ++-- .xinitrc | 1 - .xscreensaver | 20 ++++++++++---------- 24 files changed, 61 insertions(+), 67 deletions(-) delete mode 100755 .local/bin/pik delete mode 120000 .local/bin/pikaur diff --git a/.Xresources b/.Xresources index daf2dcf..522f79c 100644 --- a/.Xresources +++ b/.Xresources @@ -77,7 +77,7 @@ URxvt*saveLines: 0 ! for 'fake' transparency (without Compton) uncomment the following three lines URxvt*inheritPixmap: true URxvt*transparent: true -URxvt*shading: 30 +URxvt*shading: 25 !URxvt*blurRadius: 24x24 ! other possible settings: diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index a355de2..08a5519 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -5,6 +5,7 @@ SETUVAR __fish_init_2_39_8:\x1d SETUVAR __fish_init_2_3_0:\x1d SETUVAR __fish_initialized:3100 SETUVAR _fish_abbr_S:sudo\x20systemctl +SETUVAR _fish_abbr_pik:pikaur SETUVAR _fish_abbr_s:systemctl SETUVAR _fish_abbr_sa:ssh\x2dadd SETUVAR fish_color_autosuggestion:555\x1ebrblack diff --git a/.config/htop/htoprc b/.config/htop/htoprc index 8698f55..812742c 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -1,7 +1,7 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. fields=0 17 18 48 49 39 113 109 110 46 47 2 1 -sort_key=46 +sort_key=47 sort_direction=1 hide_threads=0 hide_kernel_threads=1 @@ -12,7 +12,7 @@ show_program_path=1 highlight_base_name=1 highlight_megabytes=1 highlight_threads=1 -tree_view=1 +tree_view=0 header_margin=1 detailed_cpu_time=1 cpu_count_from_zero=0 @@ -27,4 +27,3 @@ left_meters=LeftCPUs2 Blank CPU Memory Swap Blank Tasks left_meter_modes=1 2 1 1 1 2 2 right_meters=RightCPUs2 Blank CPU Memory LoadAverage Blank Clock Uptime right_meter_modes=1 2 2 2 2 2 2 2 -vim_mode=0 diff --git a/.config/i3/config b/.config/i3/config index 01a779a..281305e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -105,6 +105,7 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id button=4 ${HOME}/.i3blocks/vol bindsym XF86AudioLowerVolume exec --no-startup-id button=5 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks bindsym XF86AudioMute exec --no-startup-id button=2 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks bindsym XF86AudioMicMute exec --no-startup-id button=2 instance=mic ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks +bindsym XF86HomePage exec --no-startup-id button=2 instance=mic ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks # Media controls bindsym XF86AudioNext exec --no-startup-id mpc next @@ -357,9 +358,11 @@ exec --no-startup-id redshift-gtk exec --no-startup-id sudo radeontop -d /dev/shm/radeontop exec --no-startup-id nm-applet exec --no-startup-id steam-native -silent -noverifyfiles -language french -exec --no-startup-id SVPManager +#exec --no-startup-id SVPManager exec --no-startup-id hp-systray -x exec --no-startup-id mpv "$HOME/Musique/WELCOME BACK.wav" +exec --no-startup-id xscreensaver -nosplash +exec --no-startup-id variety # Start i3bar to display a workspace bar (plus the system information i3status if available) bar { diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 4d8d3a1..ff9915a 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -215,3 +215,8 @@ signal=12 [time] interval=1 markup=none +# +#[steam] +#full_text= +#command=i3-msg -q exec "steam-native -no-browser +open steam://open/minigameslist" +#interval=0 diff --git a/.config/pikaur.conf b/.config/pikaur.conf index 819a5ad..6c289e5 100644 --- a/.config/pikaur.conf +++ b/.config/pikaur.conf @@ -1,6 +1,6 @@ [sync] alwaysshowpkgorigin = no -develpkgsexpiration = -1 +develpkgsexpiration = 30 upgradesorting = versiondiff showdownloadsize = yes ignoreoutofdateaurupgrades = no @@ -29,6 +29,9 @@ versiondiffnew = 9 requireenterconfirm = yes printcommands = no reversesearchsorting = yes +aursearchsorting = hottest +displaylastupdated = no +groupbyrepository = yes [misc] sudoloopinterval = 50 diff --git a/.config/youtube-dl/config b/.config/youtube-dl/config index 3b7806c..cfb538d 100644 --- a/.config/youtube-dl/config +++ b/.config/youtube-dl/config @@ -4,8 +4,9 @@ --sub-lang fr,en --embed-subs --write-sub -#--write-auto-sub +--write-auto-sub -i #--hls-prefer-ffmpeg #--external-downloader aria2c -f "((bestvideo[container=webm][height=1080]/bestvideo[ext=webm][height=1080]/bestvideo[height=1080]/bestvideo[container=webm][height>=?720]/bestvideo[ext=webm][height>=?720]/bestvideo[height>=?720]/bestvideo)+(bestaudio[container=webm]/bestaudio[ext=webm]/bestaudio))/best" +--add-metadata diff --git a/.i3blocks/beep b/.i3blocks/beep index d5cad44..3137866 100755 --- a/.i3blocks/beep +++ b/.i3blocks/beep @@ -7,8 +7,8 @@ fi if [[ -e /dev/input/by-path/platform-pcspkr-event-spkr ]] then - echo "beep" + echo "bip" else - echo "beep" + echo "bip" fi diff --git a/.i3blocks/bepo b/.i3blocks/bepo index 3d7434f..5e9622c 100755 --- a/.i3blocks/bepo +++ b/.i3blocks/bepo @@ -3,21 +3,12 @@ runtime="${XDG_RUNTIME_DIR}/i3blocks" [[ ! -d "$runtime" ]] && mkdir -p "$runtime" -if [[ -n "$button" ]] -then - if [[ -f "$runtime/oss" ]] - then - setxkbmap fr bepo_afnor - rm "$runtime/oss" - else - setxkbmap fr oss - touch "$runtime/oss" - fi -fi +[[ ! -f "$runtime/keyboard" ]] && button=1 -if [[ -f "$runtime/oss" ]] -then - echo "oss " -else - echo "bépo" -fi +case $button in + 1) setxkbmap fr bepo_afnor; echo "bépo" > "$runtime/keyboard";; + 3) setxkbmap fr oss; echo "oss " > "$runtime/keyboard";; + 2) setxkbmap fr us; echo "qwer" > "$runtime/keyboard";; +esac + +cat "$runtime/keyboard" diff --git a/.i3blocks/cpu_usage b/.i3blocks/cpu_usage index 7510423..5a85c53 100755 --- a/.i3blocks/cpu_usage +++ b/.i3blocks/cpu_usage @@ -19,4 +19,4 @@ else color="#66cccc" fi # Affichage -printf "cpu%3d%%\n" "$color" "$used" +printf "uct%3d%%\n" "$color" "$used" diff --git a/.i3blocks/internet b/.i3blocks/internet index bc3a684..3ddc1f0 100755 --- a/.i3blocks/internet +++ b/.i3blocks/internet @@ -28,4 +28,4 @@ else fi fi -echo "wan" +echo "re" diff --git a/.i3blocks/keyindicator b/.i3blocks/keyindicator index ab8b39b..91b102d 100755 --- a/.i3blocks/keyindicator +++ b/.i3blocks/keyindicator @@ -11,4 +11,6 @@ else color="#747369" fi +instance=${instance//Caps/Maj} + echo "${instance,*}" diff --git a/.i3blocks/load_average b/.i3blocks/load_average index 21269e7..8b3fdd1 100755 --- a/.i3blocks/load_average +++ b/.i3blocks/load_average @@ -51,4 +51,4 @@ else fi #printf "load %4.4s %4.4s %4.4s\n" ${load} ${load5} ${load15} -printf "load %4.4s\n" ${load} +printf "charge %4.4s\n" ${load} diff --git a/.i3blocks/memory b/.i3blocks/memory index 4b9918f..bafe19f 100755 --- a/.i3blocks/memory +++ b/.i3blocks/memory @@ -16,7 +16,7 @@ TYPE="${BLOCK_INSTANCE:-mem}" -echo -n "${TYPE//mem/ram} " +echo -n "${TYPE} " | sed 's/mem/mev/g;s/swap/éch/g' awk -v type=$TYPE ' /^MemTotal:/ { diff --git a/.i3blocks/toggle-sink b/.i3blocks/toggle-sink index b6a8beb..5080081 100755 --- a/.i3blocks/toggle-sink +++ b/.i3blocks/toggle-sink @@ -1,24 +1,24 @@ #!/bin/bash -currentport=$(pacmd list-sinks | grep -Po "active port:.*") +currentport=$(pacmd list-sinks | grep -Po "active port: " ]] then pacmd set-sink-port "alsa_output.pci-0000_0b_00.3.analog-stereo" "analog-output-headphones" - echo "head" + echo "casque" else pacmd set-sink-port "alsa_output.pci-0000_0b_00.3.analog-stereo" "analog-output-lineout" - echo "line" + echo "front " fi pkill -RTMIN+10 i3blocks else if [[ "$currentport" == "active port: " ]] then - echo "line" + echo "front " else - echo "head" + echo "casque" fi fi diff --git a/.i3blocks/updates b/.i3blocks/updates index 131a68d..19d6ca9 100755 --- a/.i3blocks/updates +++ b/.i3blocks/updates @@ -5,7 +5,7 @@ runtime="${XDG_RUNTIME_DIR}/i3blocks" if [[ -f ${runtime}/claws_offline ]] then - echo "updt" + echo "màj" exit fi @@ -20,9 +20,9 @@ total=$((${#avail[@]} + ${#aur[@]})) if [[ $total -eq 0 ]] then - echo "updt" + echo "màj" else - echo "updt" + echo "màj" if [[ $(cat ${runtime}/updates) -lt $total ]] || [[ -n "$BLOCK_BUTTON" ]] then [[ $total -eq 1 ]] && dunstify -r "57453" "1 mise à jour disponible" "$(for item in ${avail[@]} ${aur[@]}; do echo -n $item; done)" diff --git a/.i3blocks/vpn b/.i3blocks/vpn index 094c2fe..5bbc292 100755 --- a/.i3blocks/vpn +++ b/.i3blocks/vpn @@ -2,13 +2,13 @@ if nmcli dev | grep tun0 | cut -f3 | grep " connecté" &>/dev/null then - echo "vpn" + echo "rpv" [[ ! -f /dev/shm/vpn ]] && echo 1 > /dev/shm/vpn else - echo "vpn" + echo "rpv" if [[ -f /dev/shm/vpn ]] then - notify-send -u critical "VPN" "Déconnecté" + notify-send -u critical "RPV" "Déconnecté" rm /dev/shm/vpn fi diff --git a/.local/bin/pik b/.local/bin/pik deleted file mode 100755 index 3bdd5c2..0000000 --- a/.local/bin/pik +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if [[ "$#" -eq 0 ]] -then - exec /usr/bin/pikaur -Syu -else - exec /usr/bin/pikaur "$@" -fi diff --git a/.local/bin/pikaur b/.local/bin/pikaur deleted file mode 120000 index ec0b95b..0000000 --- a/.local/bin/pikaur +++ /dev/null @@ -1 +0,0 @@ -pik \ No newline at end of file diff --git a/.local/bin/toggle-beep b/.local/bin/toggle-beep index 1c4ebcd..1f9806f 100755 --- a/.local/bin/toggle-beep +++ b/.local/bin/toggle-beep @@ -7,7 +7,7 @@ if [[ -z "$result" ]] then sudo modprobe -v pcspkr &>/dev/null sleep .5 - dunstify -u low -r "$dunstid" Beep Activé + dunstify -u low -r "$dunstid" Bipeur Activé else - dunstify -u low -r "$dunstid" Beep Désactivé + dunstify -u low -r "$dunstid" Bipeur Désactivé fi diff --git a/.ncmpcpp/config b/.ncmpcpp/config index ae14887..e87a917 100644 --- a/.ncmpcpp/config +++ b/.ncmpcpp/config @@ -353,8 +353,7 @@ progressbar_look = "▄▄▄" # #lines_scrolled = 2 # -#lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet -lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo +lyrics_fetchers = azlyrics, genius, sing365, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, zeneszoveg # follow_now_playing_lyrics = yes # diff --git a/.vim/.netrwhist b/.vim/.netrwhist index cce082c..d67007a 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,5 +1,6 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhistcnt =0 +let g:netrw_dirhistcnt =1 +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' let g:netrw_dirhist_8='/home/breizh/aur' @@ -9,4 +10,3 @@ 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' -let g:netrw_dirhist_1='/home/breizh/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Config' diff --git a/.xinitrc b/.xinitrc index 0413deb..8ac4634 100644 --- a/.xinitrc +++ b/.xinitrc @@ -52,6 +52,5 @@ urxvtd -q -f -o [ -f $HOME/.fehbg ] && $HOME/.fehbg [ -f $HOME/.screenlayout/home.sh ] && $HOME/.screenlayout/home.sh -setxkbmap fr bepo_afnor exec i3 #--shmlog-size=26214400 diff --git a/.xscreensaver b/.xscreensaver index 155d373..59309b1 100644 --- a/.xscreensaver +++ b/.xscreensaver @@ -1,10 +1,10 @@ # XScreenSaver Preferences File -# Written by xscreensaver-demo 5.44 for breizh on Thu Nov 5 18:53:27 2020. +# Written by xscreensaver-demo 5.44 for breizh on Tue Nov 17 23:23:30 2020. # https://www.jwz.org/xscreensaver/ timeout: 0:15:00 cycle: 0:03:00 -lock: True +lock: False lockTimeout: 0:30:00 passwdTimeout: 0:00:30 visualID: default @@ -17,22 +17,22 @@ demoCommand: xscreensaver-demo prefsCommand: xscreensaver-demo -prefs nice: 10 memoryLimit: 0 -fade: False +fade: True unfade: False fadeSeconds: 0:00:03 fadeTicks: 20 captureStderr: True ignoreUninstalledPrograms:False font: *-medium-r-*-140-*-m-* -dpmsEnabled: False +dpmsEnabled: True dpmsQuickOff: False -dpmsStandby: 2:00:00 -dpmsSuspend: 2:00:00 -dpmsOff: 4:00:00 +dpmsStandby: 1:00:00 +dpmsSuspend: 1:00:00 +dpmsOff: 1:00:00 grabDesktopImages: True grabVideoFrames: False chooseRandomImages: True -imageDirectory: /home/breizh/.config/variety +imageDirectory: /home/breizh/.config/variety/Downloaded mode: random selected: -1 @@ -41,7 +41,7 @@ textMode: program textLiteral: mepuʁkwaikskrinseivøʁdekonotãavεkl'yteεfɥit textFile: textProgram: /home/breizh/.local/bin/screensaver -textURL: https://breizh.pm +textURL: http://feeds.feedburner.com/bashfr?format=xml programs: \ maze -root \n\ @@ -215,7 +215,7 @@ programs: \ substrate -root \n\ wormhole -root \n\ - GL: antmaze -root \n\ - GL: boing -root \n\ +- GL: boing -root \n\ boxfit -root \n\ GL: carousel -root -no-titles \n\ celtic -root \n\