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

15 lines
368 B
Text
Raw Normal View History

2024-03-22 20:12:13 +00:00
#!/bin/sh
. $HOME/.profile
xrdb -load $HOME/.Xresources
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