blob: 0ad8de44b6de4af9e2b34d3aef62660606049392 (
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
|
#!/bin/zsh
# zprofile contents
[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
# set screen layout
# this would fail when on integrated graphics
# that's the desired behaviour
xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output eDP-1-1 --primary --mode 1920x1080 --pos 1920x749 --rotate normal
# makes gnome-keyring work
dbus-update-activation-environment --all
# keyboard layout
xmodmap /home/zt/.Xmodmap &
# autostart apps
blueman-applet &
picom &
dunst &
emacs --daemon &
# udiskie messes up something in my system
# idk what it is but it's pretty bad
# basically it's temporarily disabled
# until I decide to troubleshoot it (I'm lazy)
# udiskie &
nitrogen --restore &
polystart &
|