màj diverses

This commit is contained in:
Breizh 2020-12-31 11:14:20 +01:00
parent b899f68c30
commit d078897998
24 changed files with 61 additions and 67 deletions

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -7,8 +7,8 @@ fi
if [[ -e /dev/input/by-path/platform-pcspkr-event-spkr ]]
then
echo "<span foreground=\"#99CC99\">beep</span>"
echo "<span foreground=\"#99CC99\">bip</span>"
else
echo "<span foreground=\"#747369\">beep</span>"
echo "<span foreground=\"#747369\">bip</span>"
fi

View File

@ -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"

View File

@ -19,4 +19,4 @@ else color="#66cccc"
fi
# Affichage
printf "cpu<span foreground=\"%s\">%3d%%</span>\n" "$color" "$used"
printf "uct<span foreground=\"%s\">%3d%%</span>\n" "$color" "$used"

View File

@ -28,4 +28,4 @@ else
fi
fi
echo "<span foreground=\"$color\">wan</span>"
echo "<span foreground=\"$color\">re</span>"

View File

@ -11,4 +11,6 @@ else
color="#747369"
fi
instance=${instance//Caps/Maj}
echo "<span foreground=\"$color\">${instance,*}</span>"

View File

@ -51,4 +51,4 @@ else
fi
#printf "load <span foreground=\"$color\">%4.4s</span> <span foreground=\"$color5\">%4.4s</span> <span foreground=\"$color15\">%4.4s</span>\n" ${load} ${load5} ${load15}
printf "load <span foreground=\"$color\">%4.4s</span>\n" ${load}
printf "charge <span foreground=\"$color\">%4.4s</span>\n" ${load}

View File

@ -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:/ {

View File

@ -1,24 +1,24 @@
#!/bin/bash
currentport=$(pacmd list-sinks | grep -Po "active port:.*")
currentport=$(pacmd list-sinks | grep -Po "active port: <analog.*")
if [[ -n "$button" ]]
then
if [[ "$currentport" == "active port: <analog-output-lineout>" ]]
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: <analog-output-lineout>" ]]
then
echo "line"
echo "front "
else
echo "head"
echo "casque"
fi
fi

View File

@ -5,7 +5,7 @@ runtime="${XDG_RUNTIME_DIR}/i3blocks"
if [[ -f ${runtime}/claws_offline ]]
then
echo "<span foreground=\"#F2777A\">updt</span>"
echo "<span foreground=\"#F2777A\">màj</span>"
exit
fi
@ -20,9 +20,9 @@ total=$((${#avail[@]} + ${#aur[@]}))
if [[ $total -eq 0 ]]
then
echo "<span foreground=\"#99CC99\">updt</span>"
echo "<span foreground=\"#99CC99\">màj</span>"
else
echo "<span foreground=\"#FFCC66\">updt</span>"
echo "<span foreground=\"#FFCC66\">màj</span>"
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)"

View File

@ -2,13 +2,13 @@
if nmcli dev | grep tun0 | cut -f3 | grep " connecté" &>/dev/null
then
echo "<span foreground=\"#99CC99\">vpn</span>"
echo "<span foreground=\"#99CC99\">rpv</span>"
[[ ! -f /dev/shm/vpn ]] && echo 1 > /dev/shm/vpn
else
echo "<span foreground=\"#747369\">vpn</span>"
echo "<span foreground=\"#747369\">rpv</span>"
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

View File

@ -1,8 +0,0 @@
#!/bin/bash
if [[ "$#" -eq 0 ]]
then
exec /usr/bin/pikaur -Syu
else
exec /usr/bin/pikaur "$@"
fi

View File

@ -1 +0,0 @@
pik

View File

@ -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

View File

@ -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
#

View File

@ -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'

View File

@ -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

View File

@ -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\