Add missing user-full-name, and set send-mail-function
[~bandali/configs] / x / .xprofile
1 #!/bin/sh
2 #
3 # ~/.xinitrc
4 #
5 # Executed by startx (run your window manager from here)
6
7 if [ -d /etc/X11/xinit/xinitrc.d ]; then
8 for f in /etc/X11/xinit/xinitrc.d/*; do
9 [ -x "$f" ] && . "$f"
10 done
11 unset f
12 fi
13
14 # workaround for some java apps, when running a non-reparenting window manager
15 export _JAVA_AWT_WM_NONREPARENTING=1
16
17 xrdb -merge ~/.Xresources
18 # xrdb -merge ~/.base16-tomorrow.dark.256.xresources
19 xrdb -merge ~/.gotham.xresources
20 # xrdb -merge ~/.hybrid.xresources
21 # xrdb -merge ~/.dawn.xresources
22 # xrdb -merge ~/.zenburn.xresources
23 # xrdb -merge ~/.solarized-dark.xresources
24
25 # set the cursor icon
26 # xsetroot -cursor_name left_ptr &
27
28 # set the wallpaper
29 # sh ~/.fehbg &
30
31 # font stuff
32 # xset +fp /usr/share/fonts/local
33 # xset +fp ~/.fonts
34 # xset fp rehash
35 # xset b off
36
37 # the compositor
38 #compton &
39
40 # xbacklight -set 50
41
42 # synaptics (touchpad) configs
43 #synclient TapButton2=3
44 #synclient TapButton3=2
45 synclient TapButton1=1
46 synclient TapButton2=0
47 synclient TapButton3=0
48 synclient HorizTwoFingerScroll=1
49 synclient VertScrollDelta=-237
50 synclient HorizScrollDelta=-237
51
52 # swap caps lock and esc
53 setxkbmap -option caps:swapescape
54
55 # MPD daemon start (if no other instance exists)
56 [ -z $(pidof mpd) ] && mpd &
57
58 # screen powersave
59 # xset +dpms
60 # xset dpms 0 0 300
61
62 # lock the screen using lightdm after 5 minutes
63 # xautolock -time 5 -locker "slimlock" &
64
65 # adjust the keypress delays
66 xset r rate 200 20
67
68 # exec gnome-session
69 # exec startkde
70 # exec startxfce4
71 # ...or the Window Manager of your choice
72 # source ~/.profile
73 xfsettingsd &
74 xfdesktop --disable-wm-check &
75 xfce4-panel --disable-wm-check &
76 bspwm &
77 sxhkd &
78 #emacs --daemon &
79 sleep 2 && pnmixer &
80 # panel &
81
82 # DEFAULTSESSION=bspwm
83 # case "$1" in
84 # i3) exec i3;;
85 # bspwm) exec bspwm;;
86 # *) exec $DEFAULTSESSION ;;
87 # esac