Add fish functions and update .xinitrc file

This commit is contained in:
adrien 2021-04-24 21:54:25 +02:00
parent efba522b56
commit a8d9d84b5b
3 changed files with 10 additions and 4 deletions

View File

@ -0,0 +1,6 @@
function clcache
/usr/bin/yay -Scc --noconfirm
/usr/bin/yay -Sc --noconfirm
/usr/bin/gem cleanup --silent
/usr/bin/go clean -modcache -cache -testcache
end

View File

@ -1,7 +1,6 @@
function cl
function clhistory
/usr/bin/cat /dev/null > ~/.cache/rofi-2.sshcache
/usr/bin/cat /dev/null > ~/.python_history
/usr/bin/cat /dev/null > ~/.bash_history
/usr/bin/cat /dev/null > ~/.ssh/known_hosts
echo "Garbage cleared!"
end

View File

@ -15,13 +15,14 @@ fi
/usr/bin/numlockx
# fire up xautolock in case of inactivity under X
/usr/bin/xautolock -time 3 -locker slock &
# the `-corners 000-` flag allows you to disable autolock when cursor is located at bottom right (e.g. when looking video)
/usr/bin/xautolock -time 2 -locker slock -corners 000-
# set the backgroup
~/.fehbg
# launch dunst
/usr/bin/dunst &
#/usr/bin/dunst &
# launch spectrwm
exec spectrwm