aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
blob: bb476bcb65ef4574b1df57d89f5564e21b78f8e1 (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
#!/bin/zsh

# set .zshenv
[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv

# keyboard layout
xmodmap /home/zt/.Xmodmap &

# makes gnome-keyring work
dbus-update-activation-environment --all &

# autostart apps for both xmonad and any other DE
emacs --daemon &
# mpd & # now started by systemd
#virtual_mic.sh &

# autostart apps for both xmonad and dwm
if [[ "$DESKTOP_SESSION" = "xmonad" || "$DESKTOP_SESSION" = "dwm" ]]; then
  screensetup.sh

  # autostart apps
  nitrogen --restore &
  picom &
  dunst &
  udiskie &

  # glava -dm radial &
fi

# autostart apps just for xmonad
if [[ "$DESKTOP_SESSION" = "xmonad" ]]; then
  polystart &
  nm-applet &
  blueman-applet &
fi