blob: 837554b362a32b0775ef4f7ae54adf54cf50aa1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/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
|