-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xsession
executable file
·49 lines (36 loc) · 1.04 KB
/
.xsession
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
49
#!/bin/sh
# Swap keys
setxkbmap -option caps:ctrl_modifier
# Disable access control
xhost +SI:localuser:$USER
# Set background color
# xsetroot -solid "#000F14"
xsetroot -solid "#172030"
# Fallback cursor
xsetroot -cursor_name left_ptr
# Keyboard repeat rate
xset r rate 200 60
# Merge resources
xrdb -merge ~/.Xresources
# Disable screensaver and display power management
xset s off
xset s noblank
xset dpms 0 0 0
xset -dpms
# Fonts
fc-cache -rv
xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))
# Setup Java
export JAVA18_PACKAGE="openjdk@18"
export JAVA18_PATH="$(guix build ${JAVA18_PACKAGE} | grep -- '-jdk$')"
# Make Java applications aware this is a non-reparenting window manager.
export _JAVA_AWT_WM_NONREPARENTING=1
# Remove outdated compiled files
bin/remove-go-files
# Start Shepherd if not started already
if [[ ! -S ${XDG_RUNTIME_DIR-$HOME/.cache}/shepherd/socket ]]; then
shepherd
fi
export SBCL_HOME=$(dirname $(which sbcl))/../lib/sbcl/
exec /home/enzuru/bin/stumpwm-boot
#exec openbox-session