Add fish functions and update .xinitrc file
This commit is contained in:
parent
efba522b56
commit
a8d9d84b5b
6
.config/fish/functions/clcache.fish
Normal file
6
.config/fish/functions/clcache.fish
Normal 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
|
@ -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
|
5
.xinitrc
5
.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
|
||||
|
Loading…
Reference in New Issue
Block a user