aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
blob: 3df28de68e6ad7fca7e820fd9559f55c9a829221 (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
#!/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 &