@@ -142,6 +142,10 @@ alias nnn='nnn -xE' | |||||
alias do-xbind='xbindkeys -f $HOME/Source/configs/xbindkeysrc' | alias do-xbind='xbindkeys -f $HOME/Source/configs/xbindkeysrc' | ||||
alias get-rndnum='head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8' | alias get-rndnum='head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8' | ||||
alias music="ncmpcpp" | alias music="ncmpcpp" | ||||
alias chat="irssi" | |||||
alias t="task" | |||||
alias record-window='recordmydesktop --full-shots --windowid $(xwininfo | grep "id: 0x" | | |||||
grep -Eo "0x[a-z0-9]+")' | |||||
# Programming | # Programming | ||||
@@ -14,7 +14,21 @@ messages() { | |||||
'.uidvalidity' -type f | grep -vE ',[^,]*S[^,]*$'| wc -l)" | '.uidvalidity' -type f | grep -vE ',[^,]*S[^,]*$'| wc -l)" | ||||
} | } | ||||
DELAY=10m | |||||
volume() { | |||||
v="$(pactl list sinks | grep '^[[:space:]]Volume:' | head -n 1 | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,')" | |||||
if [ $v -eq 0 ]; then | |||||
i="ﱝ" | |||||
elif [ $v -le 50 ]; then | |||||
i="" | |||||
else | |||||
i="墳" | |||||
fi | |||||
printf "$i $v" | |||||
} | |||||
DELAY=5m | |||||
while true; do | while true; do | ||||
mbsync -a | mbsync -a | ||||
@@ -22,25 +36,14 @@ while true; do | |||||
done & | done & | ||||
while true; do | while true; do | ||||
volume=$(amixer sget Master | awk -F"[][]" 'END{ print $2 }') | |||||
volume_amount=$(printf $volume | tr -d %) | |||||
if [ $volume_amount = 0 ]; then | |||||
volume_symbol=$speaker_muted | |||||
elif [ $volume_amount -lt 30 ]; then | |||||
volume_symbol=$speaker_low | |||||
elif [ $volume_amount -lt 70 ]; then | |||||
volume_symbol=$speaker_medium | |||||
else | |||||
volume_symbol=$speaker_high | |||||
fi | |||||
xsetroot -name "📧Messages $(messages) | | |||||
$volume_symbol$volume | $(date +"%c")" | |||||
xsetroot -name " Messages $(messages) \ | |||||
$(volume) \ | |||||
$(date +"%c")" | |||||
sleep $DELAY | sleep $DELAY | ||||
done & | done & | ||||
setxkbmap -option ctrl:swapcaps -option tilde:swapescape | setxkbmap -option ctrl:swapcaps -option tilde:swapescape | ||||
picom -b | |||||
picom -bfc | |||||
~/.fehbg | ~/.fehbg | ||||
xbindkeys -f $HOME/Source/configs/xbindkeysrc | xbindkeys -f $HOME/Source/configs/xbindkeysrc | ||||
@@ -54,7 +57,7 @@ do | |||||
if [ "$csum" != "$new_csum" ] | if [ "$csum" != "$new_csum" ] | ||||
then | then | ||||
csum=$new_csum | csum=$new_csum | ||||
dwm | |||||
awesome | |||||
else | else | ||||
exit 0 | exit 0 | ||||
fi | fi | ||||
@@ -16,3 +16,11 @@ feh | |||||
trash-cli | trash-cli | ||||
pulseaudio | pulseaudio | ||||
wmctrl | wmctrl | ||||
recordmydesktop | |||||
bc | |||||
rtorrent | |||||
lutris | |||||
dex | |||||
awesome | |||||
# copy awesme-copycats/* to /usr/share/awesome |
@@ -9,7 +9,6 @@ set nu rnu | |||||
set hidden | set hidden | ||||
set tabstop=4 | set tabstop=4 | ||||
set shiftwidth=4 | set shiftwidth=4 | ||||
runtime ftplugin/man.vim | |||||
set keywordprg=:Man | set keywordprg=:Man | ||||
let mapleader = "s" | let mapleader = "s" | ||||
set is | set is | ||||
@@ -22,7 +21,7 @@ set tgc "More terminal colours | |||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" | let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" | ||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" | let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" | ||||
let base16colorspace=256 | let base16colorspace=256 | ||||
colorscheme base16-mocha | |||||
colorscheme base16-nord | |||||
"Pymode stuff | "Pymode stuff | ||||
let g:pymode_folding = 0 | let g:pymode_folding = 0 | ||||
@@ -21,7 +21,7 @@ | |||||
Mod4 + a | Mod4 + a | ||||
"prompt search" | "prompt search" | ||||
Mod4 + r | |||||
Mod4 + F1 | |||||
"prompt pick" | "prompt pick" | ||||
Mod4 + n | Mod4 + n |