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