diff --git a/.config/fish/functions/clcache.fish b/.config/fish/functions/clcache.fish new file mode 100644 index 0000000..a2af7c1 --- /dev/null +++ b/.config/fish/functions/clcache.fish @@ -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 diff --git a/.config/fish/functions/cl.fish b/.config/fish/functions/clhistory.fish similarity index 83% rename from .config/fish/functions/cl.fish rename to .config/fish/functions/clhistory.fish index 5bcff23..ebc441f 100644 --- a/.config/fish/functions/cl.fish +++ b/.config/fish/functions/clhistory.fish @@ -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 diff --git a/.xinitrc b/.xinitrc index abce223..e329712 100644 --- a/.xinitrc +++ b/.xinitrc @@ -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