#!/bin/zsh # set .zshenv [[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv # makes gnome-keyring work # dbus-update-activation-environment --all & # autostart apps for both xmonad and any other DE # 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" = "dwm" ]]; then # screensetup.sh & # autostart apps # picom & # dunst & # udiskie & # glava -dm radial & # 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