Compare commits
3 commits
5a6ea6f20a
...
78f7d99b09
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | 78f7d99b09 | ||
Geoffrey Frogeye | d11416ad19 | ||
Geoffrey Frogeye | d47a53794d |
13
bashrc
13
bashrc
|
@ -31,7 +31,11 @@ export VISUAL=vim
|
|||
export BROWSER=/usr/bin/qutebrowser
|
||||
export TZ=/usr/share/zoneinfo/Europe/Paris
|
||||
|
||||
export PATH="$PATH:$HOME/.gem/ruby/2.3.0/bin/"
|
||||
export PATH="$PATH"
|
||||
$(which ls) $HOME/.gem/ruby | while read rubyVer; do
|
||||
export PATH="$PATH:$HOME/.gem/ruby/$rubyVer/bin/"
|
||||
done
|
||||
export PATH="$(echo "$PATH" | sed 's|:|\n|g' | sort | uniq | tr '\n' ':' | sed 's|:$||')"
|
||||
export LANG=fr_FR.utf8
|
||||
export HISTSIZE=10000
|
||||
export HISTFILESIZE=${HISTSIZE}
|
||||
|
@ -107,8 +111,11 @@ if [ "$TERM" = "linux" ]; then
|
|||
fi
|
||||
|
||||
# Utils
|
||||
alias fuck='eval $(thefuck $(fc -ln -1))'
|
||||
alias FUCK='fuck'
|
||||
if which thefuck &> /dev/null; then
|
||||
alias fuck='TF_CMD=$(TF_ALIAS=fuck PYTHONIOENCODING=utf-8 TF_SHELL_ALIASES=$(alias) thefuck $(fc -ln -1)) && eval $TF_CMD && history -s $TF_CMD'
|
||||
alias FUCK='fuck'
|
||||
fi
|
||||
|
||||
|
||||
# Command not found
|
||||
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && . /usr/share/doc/pkgfile/command-not-found.bash
|
||||
|
|
|
@ -7,6 +7,6 @@ if [ $? -ne 0 ]; then
|
|||
}
|
||||
trap revert SIGHUP SIGINT SIGTERM
|
||||
xset dpms 5 5 5
|
||||
i3lock --nofork --color 648901 --ignore-empty-password
|
||||
i3lock --nofork --color 648901 --image=$HOME/.config/i3/lock.png --tiling --ignore-empty-password
|
||||
revert
|
||||
fi
|
||||
|
|
BIN
config/i3/lock.png
Normal file
BIN
config/i3/lock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 524 B |
1
config/i3/lock.svg
Normal file
1
config/i3/lock.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" height="50" width="50"><path fill="#82a401" d="M0 50h50V0H0z"/><path d="M0 0l50 50H25L0 25zm50 0v25L25 0z" fill="#466c01"/></svg>
|
After Width: | Height: | Size: 189 B |
|
@ -97,6 +97,11 @@ function install-arch {
|
|||
# Disable predictable network names
|
||||
sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
|
||||
|
||||
# TLP
|
||||
# sudo pacman -S tlp
|
||||
# sudo systemctl enable tlp.service tlp-sleep.service
|
||||
# sudo systemctl disable systemd-rfkill
|
||||
|
||||
# TODO
|
||||
# make -j8 in MAKEPKG
|
||||
# time
|
||||
|
|
Loading…
Reference in a new issue