aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2022-02-02 18:14:37 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2022-02-02 18:14:37 +0100
commit35361e56839119180e319bd1c6b94ddcc9d3fab1 (patch)
tree7561d1b9fedaacb6c173d89aff0190dd148eda75
parentcd0cf31e08fa031451db9630f0c047d8ecae016e (diff)
bashrc and xprofile updated
-rw-r--r--dot_bashrc2
-rw-r--r--dot_xprofile10
2 files changed, 10 insertions, 2 deletions
diff --git a/dot_bashrc b/dot_bashrc
index e21fc1e..4ccabd8 100644
--- a/dot_bashrc
+++ b/dot_bashrc
@@ -17,3 +17,5 @@ export HISTCONTROL=erasedups
PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
+
+figlet "$0" | lolcat -f -r -l -v 1 -h 1
diff --git a/dot_xprofile b/dot_xprofile
index f333e35..fe509a4 100644
--- a/dot_xprofile
+++ b/dot_xprofile
@@ -4,8 +4,14 @@
# If you use startx/xinit like a Chad, this file will also be sourced.
xset r rate 300 50 & # Speed xrate up
-unclutter & # Remove mouse when idle
-dunst & # dunst for notifications
+#unclutter & # Remove mouse when idle
+#dunst & # dunst for notifications
+
+autostart="xcompmgr dunst unclutter"
+
+for program in $autostart; do
+ pidof -s "$program" || setsid -f "$program"
+done >/dev/null 2>&1
sct 3500 &
xbacklight -set 25 &