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

14 lines
372 B
Bash

#!/bin/sh
. $HOME/.profile
xrdb -load $HOME/.Xresources
xsetroot -solid '#101010'
backlight 10
mixer vol.mute=1
xkbcomp -w0 -I"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" -R"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" keymap/acp $DISPLAY
if test -x "$(command -v onedrive)"
then
pgrep -U $(id -u) onedrive || nice onedrive --synchronize &
fi
exec /usr/local/bin/icewm-session