-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.xinitrc
37 lines (29 loc) · 801 Bytes
/
.xinitrc
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
36
37
#!/usr/bin/env bash
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
xset +fp /usr/share/fonts/local
xset fp rehash # Something else for the fonts
#xset dpms force on
xset s 300 300
fc-cache
xset m 1/1 0 # No Mouse Acceleration
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
xsetroot -cursor_name left_ptr
export GPG_TTY=$(tty)
/usr/bin/gpg-connect-agent updatestartuptty /bye &>/dev/null
export WINIT_X11_SCALE_FACTOR=1
#monitor &
#xmodmap ~/.xmodmap &
#xinput --set-prop 8 'libinput Accel Profile Enabled' 0, 1
#setxkbmap -option altwin:swap_lalt_lwin
#sxhkd &
#exec bspwm
if [[ $REASON == "steam" ]]
then
exec openbox
else
exec 2bwm >| .cache/2bwm.log
fi
# vim: ft=sh ts=4 sw=4 tw=0 fdm=marker foldlevel=0 :