Mises à jour diverses
This commit is contained in:
parent
ff9b09310b
commit
3628f4d64d
13 changed files with 22 additions and 23 deletions
|
@ -21,7 +21,7 @@ if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
|||
export XDG_CURRENT_DESKTOP=i3
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export BROWSER="systemd-run --user --scope -p MemoryMax=2G firefox"
|
||||
export BROWSER="systemd-run --user --scope -p MemoryMax=2G -E MOZ_X11_EGL=1 firefox"
|
||||
export TERMINAL=urxvtc
|
||||
startx
|
||||
logout
|
||||
|
|
4
.bashrc
4
.bashrc
|
@ -270,13 +270,11 @@ alias fixit='sudo rm -f /var/lib/pacman/db.lck'
|
|||
alias inst='yaourt -S'
|
||||
alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
|
||||
alias ll='ls -l --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
|
||||
alias rm='rm --preserve-root -I -v'
|
||||
alias rm='rm --preserve-root -I'
|
||||
alias mirrors='sudo pacman-mirrors -g'
|
||||
alias printer='system-config-printer'
|
||||
alias update='yaourt -Syua'
|
||||
alias mk='vim makefile'
|
||||
alias mv='amv -gi'
|
||||
alias cp='acp -gir'
|
||||
alias n='vim'
|
||||
alias diff='icdiff'
|
||||
alias f='fuck'
|
||||
|
|
|
@ -78,6 +78,9 @@ ${color2}${font2}Capteurs $hr$font$color${voffset 2}
|
|||
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color}
|
||||
Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8686-isa-0a60"."room"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8686-isa-0a60"."room"."temp2_input"' | cut -d. -f1}°C${color}
|
||||
|
||||
${color2}${font2}Sylvexplorer $hr$font$color${voffset 2}
|
||||
${texeci 3600 /home/breizh/.config/conky/sylv.sh}
|
||||
|
||||
${color2}${font2}Notes $hr$font$color${voffset 2}
|
||||
${catp /home/breizh/notes}
|
||||
]]
|
||||
|
|
|
@ -44,6 +44,6 @@ function config
|
|||
end
|
||||
|
||||
function rm
|
||||
/usr/bin/rm -vI $argv
|
||||
/usr/bin/rm -I --preserve-root $argv
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Defined in - @ line 1
|
||||
function cp --description 'alias cp advcp -g'
|
||||
advcp -g --reflink=auto $argv;
|
||||
# Defined via `source`
|
||||
function cp --description 'alias cp cp --reflink=auto'
|
||||
command cp --reflink=auto $argv;
|
||||
end
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in - @ line 1
|
||||
function mv --description 'alias mv advmv -g'
|
||||
advmv -g $argv;
|
||||
end
|
|
@ -1,4 +1,4 @@
|
|||
function transfer -d "Upload to transfer.sh" -a file name
|
||||
function transfer -d "Upload to t.breizh.pm" -a file name
|
||||
|
||||
getopts $argv | while read -l 1 2
|
||||
switch "$1"
|
||||
|
@ -48,9 +48,9 @@ function transfer -d "Upload to transfer.sh" -a file name
|
|||
echo "transfer: can not read the file." > /dev/stderr
|
||||
return 1
|
||||
end
|
||||
curl --progress-bar --upload-file $file https://transfer.sh/$name >> $tmp
|
||||
curl --progress-bar --upload-file $file https://t.breizh.pm/$name >> $tmp
|
||||
else
|
||||
curl --progress-bar --upload-file - https://transfer.sh/$name >> $tmp
|
||||
curl --progress-bar --upload-file - https://t.breizh.pm/$name >> $tmp
|
||||
end
|
||||
|
||||
cat $tmp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Settings]
|
||||
gtk-application-prefer-dark-theme=false
|
||||
gtk-application-prefer-dark-theme=true
|
||||
gtk-theme-name=Vertex-Dark
|
||||
gtk-icon-theme-name=Vertex-Icons
|
||||
gtk-font-name=IBM Plex Sans 10
|
||||
|
|
|
@ -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 111 109 110 46 47 2 1
|
||||
sort_key=111
|
||||
sort_key=46
|
||||
sort_direction=1
|
||||
tree_sort_key=0
|
||||
tree_sort_direction=1
|
||||
|
@ -18,7 +18,7 @@ highlight_changes_delay_secs=5
|
|||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=0
|
||||
tree_view=1
|
||||
tree_view=0
|
||||
tree_view_always_by_pid=0
|
||||
header_margin=1
|
||||
detailed_cpu_time=1
|
||||
|
|
|
@ -6,8 +6,8 @@ showdownloadsize = yes
|
|||
ignoreoutofdateaurupgrades = no
|
||||
|
||||
[build]
|
||||
keepbuilddir = yes
|
||||
keepdevbuilddir = yes
|
||||
keepbuilddir = no
|
||||
keepdevbuilddir = no
|
||||
keepbuilddeps = no
|
||||
skipfailedbuild = no
|
||||
alwaysusedynamicusers = no
|
||||
|
|
|
@ -180,6 +180,7 @@ ext cbz, has zathura, X, flag f = zathura -- "$@"
|
|||
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
|
||||
mime ^image/svg, has display, X, flag f = display -- "$@"
|
||||
|
||||
mime ^image, has viewnior, X, flag f = viewnior -- "$@"
|
||||
mime ^image, has imv, X, flag f = imv -- "$@"
|
||||
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
|
||||
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
|
||||
|
|
|
@ -5,13 +5,14 @@ DUNST_ID=$(sum <<<"mpd" | cut -d' ' -f1)
|
|||
|
||||
runtime="${XDG_RUNTIME_DIR}/i3blocks"
|
||||
[[ ! -d "$runtime" ]] && mkdir -p "$runtime"
|
||||
[[ ! -f "$runtime/mpd" ]] && touch "$runtime/mpd"
|
||||
|
||||
while true
|
||||
do
|
||||
systemctl --user is-active mpd.service &>/dev/null || exit 1
|
||||
timeout 5 mpc -w current
|
||||
onelineinfos="$(mpc -f '[%artist%§|%name%§]%title%|[%file%]' current)"
|
||||
if [[ "$onelineinfos" != "$(<${runtime}/mpd)" ]]
|
||||
if [[ -f "$runtime/mpd" && "$onelineinfos" != "$(<${runtime}/mpd)" ]]
|
||||
then
|
||||
echo "$onelineinfos" > ${runtime}/mpd
|
||||
echo "$(<${runtime}/mpd) " > ${runtime}/mpd-scroll
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhistcnt =2
|
||||
let g:netrw_dirhistcnt =3
|
||||
let g:netrw_dirhist_3='/home/breizh/.config/fish'
|
||||
let g:netrw_dirhist_2='/usr/lib/python3.9/site-packages/variety'
|
||||
let g:netrw_dirhist_1='/usr/lib/modules/5.9.8-arch1-1/build/drivers/ipack/devices'
|
||||
let g:netrw_dirhist_0='/home/breizh'
|
||||
|
@ -9,4 +10,3 @@ let g:netrw_dirhist_7='/home/breizh/.ncmpcpp'
|
|||
let g:netrw_dirhist_6='/home/breizh/.config/fish'
|
||||
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'
|
||||
|
|
Loading…
Reference in a new issue