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
|
enableTmpRAM
|
||||||
pressKey
|
pressKey
|
||||||
;;
|
;;
|
||||||
"screenfetch")
|
|
||||||
clear
|
|
||||||
addScreenfetchBashrc
|
|
||||||
pressKey
|
|
||||||
;;
|
|
||||||
"historyTS")
|
"historyTS")
|
||||||
clear
|
clear
|
||||||
enableHistoryTS
|
enableHistoryTS
|
||||||
|
|
|
@ -69,11 +69,6 @@ function showConfigMenu () {
|
||||||
enableTmpRAM
|
enableTmpRAM
|
||||||
pressKey
|
pressKey
|
||||||
;;
|
;;
|
||||||
"screenfetch")
|
|
||||||
clear
|
|
||||||
addScreenfetchBashrc
|
|
||||||
pressKey
|
|
||||||
;;
|
|
||||||
"historyTS")
|
"historyTS")
|
||||||
clear
|
clear
|
||||||
enableHistoryTS
|
enableHistoryTS
|
||||||
|
|
|
@ -1144,7 +1144,18 @@ gcc8;gcc8_PostTrtFct
|
||||||
ruby-dev;ruby-dev_PostTrtFct
|
ruby-dev;ruby-dev_PostTrtFct
|
||||||
virtualbox-6.1;virtualbox-6.1_PostTrtFct
|
virtualbox-6.1;virtualbox-6.1_PostTrtFct
|
||||||
gufw;gufw_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
|
# numlockx
|
||||||
|
|
|
@ -1024,7 +1024,18 @@ flatpak;flatpak_PostTrtFct
|
||||||
ruby-dev;ruby-dev_PostTrtFct
|
ruby-dev;ruby-dev_PostTrtFct
|
||||||
virtualbox;virtualbox_PostTrtFct
|
virtualbox;virtualbox_PostTrtFct
|
||||||
gufw;gufw_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
|
# numlockx
|
||||||
|
|
|
@ -21,17 +21,6 @@ function enableTmpRAM () {
|
||||||
fi
|
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
|
# 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
|
installAppsFromList webcam
|
||||||
updateMicrocode
|
updateMicrocode
|
||||||
msg "Applying system customizations"
|
msg "Applying system customizations"
|
||||||
addScreenfetchBashrc
|
|
||||||
enableHistoryTS
|
enableHistoryTS
|
||||||
msg "Installing external apps"
|
msg "Installing external apps"
|
||||||
installViber
|
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
|
updateMicrocode
|
||||||
installAppsFromList cardreader
|
installAppsFromList cardreader
|
||||||
msg "Applying system customizations"
|
msg "Applying system customizations"
|
||||||
addScreenfetchBashrc
|
|
||||||
enableHistoryTS
|
enableHistoryTS
|
||||||
installAppsFromList unbound
|
installAppsFromList unbound
|
||||||
msg "Installing additional themes/icons"
|
msg "Installing additional themes/icons"
|
||||||
|
|
Loading…
Reference in a new issue