workstation/roles/home-gui/files/xsession-freebsd

19 lines
454 B
Text
Raw Normal View History

2024-03-22 20:12:13 +00:00
#!/bin/sh
. $HOME/.profile
xrdb -load $HOME/.Xresources
2024-04-22 14:31:14 +00:00
if test -r $HOME/.Xresources.local
then
xrdb -override $HOME/.Xresources.local
fi
2024-03-22 20:12:13 +00:00
xsetroot -solid '#101010'
backlight 10
2024-03-23 11:40:23 +00:00
mixer vol.mute=1
2024-03-22 20:12:13 +00:00
xkbcomp -w0 -I"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" -R"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" keymap/acp $DISPLAY
2024-04-02 20:45:58 +00:00
if test -x "$(command -v onedrive)"
then
2024-04-02 21:11:21 +00:00
pgrep -U $(id -u) onedrive || nice onedrive --monitor &
2024-04-02 20:45:58 +00:00
fi
2024-03-22 20:12:13 +00:00
exec /usr/local/bin/icewm-session