[vim] save file as root with <leader>w
[~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
18# xrdb -merge ~/.base16-tomorrow.dark.256.xresources
19xrdb -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
38compton &
39
40# xbacklight -set 50
41
42# synaptics (touchpad) configs
43synclient TapButton2=3
44synclient TapButton3=2
45synclient HorizTwoFingerScroll=1
46synclient VertScrollDelta=-237
47synclient HorizScrollDelta=-237
48
49# swap caps lock and esc
50setxkbmap -option caps:swapescape
51
52# MPD daemon start (if no other instance exists)
53[ -z $(pidof mpd) ] && mpd &
54
55# screen powersave
56# xset +dpms
57# xset dpms 0 0 300
58
59# lock the screen using lightdm after 5 minutes
60# xautolock -time 5 -locker "slimlock" &
61
62# adjust the keypress delays
63xset r rate 200 20
64
65# exec gnome-session
66# exec startkde
67# exec startxfce4
68# ...or the Window Manager of your choice
69# source ~/.profile
70bspwm &
71sxhkd &
72sleep 2 && pnmixer &
73# panel &
74
75# DEFAULTSESSION=bspwm
76# case "$1" in
77# i3) exec i3;;
78# bspwm) exec bspwm;;
79# *) exec $DEFAULTSESSION ;;
80# esac
81