aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
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