add screenfetch to .bashrc as PostTrtFct
This commit is contained in:
parent
15c843106e
commit
92c52d9d41
6 changed files with 24 additions and 25 deletions
|
@ -69,11 +69,6 @@ function showConfigMenu () {
|
|||
enableTmpRAM
|
||||
pressKey
|
||||
;;
|
||||
"screenfetch")
|
||||
clear
|
||||
addScreenfetchBashrc
|
||||
pressKey
|
||||
;;
|
||||
"historyTS")
|
||||
clear
|
||||
enableHistoryTS
|
||||
|
|
|
@ -69,11 +69,6 @@ function showConfigMenu () {
|
|||
enableTmpRAM
|
||||
pressKey
|
||||
;;
|
||||
"screenfetch")
|
||||
clear
|
||||
addScreenfetchBashrc
|
||||
pressKey
|
||||
;;
|
||||
"historyTS")
|
||||
clear
|
||||
enableHistoryTS
|
||||
|
|
|
@ -1144,7 +1144,18 @@ gcc8;gcc8_PostTrtFct
|
|||
ruby-dev;ruby-dev_PostTrtFct
|
||||
virtualbox-6.1;virtualbox-6.1_PostTrtFct
|
||||
gufw;gufw_PostTrtFct
|
||||
numlockx;numlockx_PostTrtFct"
|
||||
numlockx;numlockx_PostTrtFct
|
||||
screenfetch;screenfetch_PostTrtFct"
|
||||
|
||||
#
|
||||
# screenfetch in .bashrc
|
||||
#
|
||||
function screenfetch_PostTrtFct () {
|
||||
runCmd "touch /home/$myHomedir/.bashrc" \
|
||||
"creating .bashrc file if necessary"
|
||||
runCmd "echo 'screenfetch -t' | tee -a /home/$myHomedir/.bashrc" \
|
||||
"adding screenfetch to .bashrc"
|
||||
}
|
||||
|
||||
#
|
||||
# numlockx
|
||||
|
|
|
@ -1024,7 +1024,18 @@ flatpak;flatpak_PostTrtFct
|
|||
ruby-dev;ruby-dev_PostTrtFct
|
||||
virtualbox;virtualbox_PostTrtFct
|
||||
gufw;gufw_PostTrtFct
|
||||
numlockx;numlockx_PostTrtFct"
|
||||
numlockx;numlockx_PostTrtFct
|
||||
screenfetch;screenfetch_PostTrtFct"
|
||||
|
||||
#
|
||||
# screenfetch in .bashrc
|
||||
#
|
||||
function screenfetch_PostTrtFct () {
|
||||
runCmd "touch /home/$myHomedir/.bashrc" \
|
||||
"creating .bashrc file if necessary"
|
||||
runCmd "echo 'screenfetch -t' | tee -a /home/$myHomedir/.bashrc" \
|
||||
"adding screenfetch to .bashrc"
|
||||
}
|
||||
|
||||
#
|
||||
# numlockx
|
||||
|
|
|
@ -21,17 +21,6 @@ function enableTmpRAM () {
|
|||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# add screenfetch exec in .bashrc
|
||||
#
|
||||
function addScreenfetchBashrc () {
|
||||
checkAndInstallDep apt screenfetch screenfetch
|
||||
runCmd "touch /home/$myHomedir/.bashrc" \
|
||||
"creating .bashrc file if necessary"
|
||||
runCmd "echo 'screenfetch -t' | tee -a /home/$myHomedir/.bashrc" \
|
||||
"adding screenfetch to .bashrc"
|
||||
}
|
||||
|
||||
#
|
||||
# cli history cmd timestamp enable
|
||||
#
|
||||
|
|
|
@ -100,7 +100,6 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,w,g,j,k,p" option; do
|
|||
installAppsFromList webcam
|
||||
updateMicrocode
|
||||
msg "Applying system customizations"
|
||||
addScreenfetchBashrc
|
||||
enableHistoryTS
|
||||
msg "Installing external apps"
|
||||
installViber
|
||||
|
@ -141,7 +140,6 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,w,g,j,k,p" option; do
|
|||
updateMicrocode
|
||||
installAppsFromList cardreader
|
||||
msg "Applying system customizations"
|
||||
addScreenfetchBashrc
|
||||
enableHistoryTS
|
||||
installAppsFromList unbound
|
||||
msg "Installing additional themes/icons"
|
||||
|
|
Loading…
Reference in a new issue