blob: 7a00133735cd2d65e447d31e470f682e3208c84e (
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
|
#!/bin/zsh
# zprofile contents
[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
# makes optimus-manager work (probably)
# xrandr --setprovideroutputsource modesetting NVIDIA-0
# xrandr --auto
# makes gnome-keyring work
dbus-update-activation-environment --all
# keyboard layout
xmodmap /home/zt/.Xmodmap &
# autostart apps
secondmonitor.sh &
blueman-applet &
picom &
dunst &
emacs --daemon &
udiskie &
polystart &
nitrogen --restore &
|