aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
blob: 78539853f344a1dae775371d490ac9ebb18cd636 (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 &
nitrogen --restore &
polystart &