Merge branch 'dev' into thesis

dwm: make pinentry-gtk-3 floating window
        fix fonts declaration
status: fix spaces + icons
alias: removed unused ones + add useful others
mail: add tags for univ
This commit is contained in:
David JULIEN 2022-11-07 10:03:42 +01:00
commit 401ae37067
5 changed files with 51 additions and 23 deletions

View File

@ -1,25 +1,35 @@
# a file containing all my aliases
# sourced at launch
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias rsync='rsync --progress'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -lah'
alias bulkrename='\ls | $EDITOR - -c ":%s/.*/mv -i & &/g"'
# Verbosity
alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -vI"
alias bc="bc -ql"
alias mkd="mkdir -pv"
alias yt-dlp="yt-dlp --embed-metadata -iv"
alias rsync="rsync --progress"
# Colors
alias diff="diff --color=auto"
alias grep="grep --color=auto"
alias ip="ip -color=auto"
alias ls="ls --color=auto"
# Handy stuff
alias abcde="abcde -c $XDG_CONFIG_HOME/abcde/config"
alias abook="abook --config $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook"
alias backup='rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /'
alias printenv='printenv | sort'
alias gu='git fetch upstream && git merge upstream/master'
alias unimatrix='unimatrix -a -f -s=95'
alias untar='tar -zxvf'
alias root@site='ssh root@davidjulien.xyz'
alias swytch@site='ssh swytch@davidjulien.xyz'
alias dotfiles='/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME'
alias abcde='abcde -c $XDG_CONFIG_HOME/abcde/config'
alias abook='abook --config $XDG_CONFIG_HOME/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook'
alias pip-upgrade="pip freeze --user | cut -d'=' -f1 | xargs -n1 pip install -U"
alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts"
alias dotfiles="/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME"
alias irssi="irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_DATA_HOME/irssi"
alias ll="ls -lh"
alias la="ls -lah"
alias pip-upgrade="pip freeze --user | cut -d'=' -f1 | xargs -n1 pip install -U"
alias podget="podget --dir_config $XDG_CONFIG_HOME/podget"
alias printenv="printenv | sort"
alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts"
alias yta="yt-dlp -x -f ogg/6"
# Website
alias root@site="ssh root@davidjulien.xyz"
alias swytch@site="ssh swytch@davidjulien.xyz"

18
.config/notmuch/tags/univ Normal file
View File

@ -0,0 +1,18 @@
# vim: filetype=none
# !filters will be applied top to bottom
# mailbox
#+univ -- path:univ/
+teaching/X11I020 -inbox subject:x11i020
+teaching/X11I040 -inbox subject:x11i040
+publications -inbox subject:[hal]
+forge -inbox from:gitlab@univ-nantes.fr
+velo -inbox subject:[ls2n-velo]
+login -inbox from:login@univ-nantes.fr
+admin -inbox from:virginie.dupont or from alexiane.brard or from emmanuelle.sale
+thesis -inbox from:benoit.delahaye or from:guillaume.cantin or from:gilles.ardourel

View File

@ -14,7 +14,7 @@
ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')"
state="$(wpa_cli status | grep -i ^wpa_state | sed -e 's/.*=//')"
case "$state" in
COMPLETED) str="$(printf " %s" $ssid)" ;;
COMPLETED) str="$(printf " %s" $ssid)" ;;
INTERFACE_DISABLED) str="WIFI DOWN" ;;
*) str="$(printf "NO WIFI")";;
esac

View File

@ -24,4 +24,4 @@ do
done
[ -n "$unread" ] && unread="$(echo "$unread" | cut -c 2-)" || exit
printf " %s%s " "$unread" "$icon"
printf " %s%s " "$unread" "$icon"

@ -1 +1 @@
Subproject commit 89d751ef3abec67adcdf1dbed7c2361795d7f550
Subproject commit 4af8e137098783c0c17305bae7b9b440bd6571b7