-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.xinitrc
executable file
·48 lines (37 loc) · 1.02 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh
# set left windows to context menu
# xmodmap -e "keycode 134 = 0xFF67"
# xmodmap -e "remove Lock = Caps_Lock"
# xmodmap -e "remove Control = Control_L"
# xmodmap -e "keysym Caps_Lock = Control_L"
# xmodmap -e "add Lock = Caps_Lock"
# xmodmap -e "add Control = Control_L"
xrandr --output eDP-1 --scale 1.5x1.5
# mouse speed
xset m 10 1
# compositing
compton -b
# run screensaver
xscreensaver &
# unity-settings-daemon &
### START EXWM
# Disable access control for the current user.
xhost +SI:localuser:$USER
# Make Java applications aware this is a non-reparenting window manager.
export _JAVA_AWT_WM_NONREPARENTING=1
# Set default cursor.
xsetroot -cursor_name left_ptr
# Set keyboard repeat rate.
xset r rate 200 50
# Uncomment the following block to use the exwm-xim module.
#export XMODIFIERS=@im=exwm-xim
#export GTK_IM_MODULE=xim
#export QT_IM_MODULE=xim
#export CLUTTER_IM_MODULE=xim
xmodmap ~/.xmodmap
export GTK_SCALE=2
export GDK_DPI_SCALE=2
export MOZ_USE_XINPUT2=1
# Finally start Emacs
exec emacs
### END EXWM