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