switch to gotham for emacs and urxvt
[~bandali/configs] / x / .xprofile
CommitLineData
3aeeb20d
AB
1#!/bin/sh
2#
3# ~/.xinitrc
4#
5# Executed by startx (run your window manager from here)
6
7if [ -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
12fi
13
73cd9ce5 14# workaround for some java apps, when running a non-reparenting window manager
22611512
AB
15export _JAVA_AWT_WM_NONREPARENTING=1
16
3aeeb20d 17xrdb -merge ~/.Xresources
7b898004 18# xrdb -merge ~/.base16-tomorrow.dark.256.xresources
af393530
AB
19xrdb -merge ~/.gotham.xresources
20# xrdb -merge ~/.zenburn.xresources
73cd9ce5
AB
21
22# set the cursor icon
dcbfb16d 23# xsetroot -cursor_name left_ptr &
73cd9ce5
AB
24
25# set the wallpaper
dcbfb16d 26# sh ~/.fehbg &
73cd9ce5
AB
27
28# font stuff
dcbfb16d
AB
29# xset +fp /usr/share/fonts/local
30# xset +fp ~/.fonts
31# xset fp rehash
32# xset b off
73cd9ce5
AB
33
34# the compositor
3af214ef 35compton &
73cd9ce5
AB
36
37# xbacklight -set 50
38
39# synaptics (touchpad) configs
3aeeb20d
AB
40synclient TapButton2=3
41synclient TapButton3=2
42synclient HorizTwoFingerScroll=1
43synclient VertScrollDelta=-237
44synclient HorizScrollDelta=-237
73cd9ce5
AB
45
46# swap caps lock and esc
d0c8be2e 47setxkbmap -option caps:swapescape
3aeeb20d 48
faafd14a
AB
49# MPD daemon start (if no other instance exists)
50[ -z $(pidof mpd) ] && mpd &
51
3aeeb20d 52# screen powersave
dcbfb16d
AB
53# xset +dpms
54# xset dpms 0 0 300
73cd9ce5
AB
55
56# lock the screen using lightdm after 5 minutes
dcbfb16d 57# xautolock -time 5 -locker "slimlock" &
73cd9ce5 58
3aeeb20d
AB
59
60# exec gnome-session
61# exec startkde
73cd9ce5 62# exec startxfce4
3aeeb20d 63# ...or the Window Manager of your choice
dcbfb16d 64# source ~/.profile
47babb65 65bspwm &
de2c0972 66sxhkd &
dcbfb16d
AB
67sleep 1 && pnmixer &
68# panel &
69
70# DEFAULTSESSION=bspwm
71# case "$1" in
72# i3) exec i3;;
73# bspwm) exec bspwm;;
74# *) exec $DEFAULTSESSION ;;
75# esac
76