aboutsummaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-05-10 10:27:21 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-05-10 10:27:21 +0530
commit3b9f0cb7c805b8a5f384d6d89cf6e3f9674a8e03 (patch)
treea546a8336cc3ea685481be3c753ff48aa7d2a0dd /.xprofile
parent0b0013bc88603d22b0ec1ad28e352f46cab00e75 (diff)
did stuff
Diffstat (limited to '.xprofile')
-rwxr-xr-x.xprofile34
1 files changed, 22 insertions, 12 deletions
diff --git a/.xprofile b/.xprofile
index 0977341..837554b 100755
--- a/.xprofile
+++ b/.xprofile
@@ -4,25 +4,35 @@
[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv
# makes gnome-keyring work
-dbus-update-activation-environment --all &
+# dbus-update-activation-environment --all &
# autostart apps for both xmonad and any other DE
-emacs --daemon &
+# emacs --daemon &
#virtual_mic.sh &
+nitrogen --restore &
+
+# turn on the red danger light on the side
+# so i know it's turned on without opening the lid
+brightnessctl --device hp::hddprotect set 100%
+
# autostart apps only for XMonad
-if [[ "$DESKTOP_SESSION" = "xmonad" ]]; then
- screensetup.sh &
+if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
+ # screensetup.sh &
# autostart apps
- nitrogen --restore &
- picom &
- dunst &
- udiskie &
+ # picom &
+ # dunst &
+ # udiskie &
# glava -dm radial &
- polystart &
- nm-applet &
- blueman-applet &
- flameshot &
+ # polystart &
+ # nm-applet &
+ # blueman-applet &
+ # flameshot &
+
+ while :; do
+ xsetroot -name "BAT: $(acpi | awk '{print $4}' | sed s/,//) | $(date '+%Y-%m-%d %H:%M:%S')"
+ sleep 1
+ done &
fi