moby: sxmo: configure defaults

This commit is contained in:
Colin 2023-05-24 09:37:26 +00:00
parent 67a23c01e9
commit 4550299bdb

View File

@ -1,4 +1,4 @@
{ ... }:
{ sane-lib, ... }:
{
sane.gui.sxmo = {
settings = {
@ -7,4 +7,17 @@
# vol and power are detected correctly by upstream
};
};
# TODO: only populate this if sxmo is enabled?
sane.user.fs.".config/sxmo/profile" = sane-lib.fs.wantedText ''
# sourced by sxmo_init.sh
. sxmo_common.sh
export SXMO_SWAY_SCALE=1.5
export SXMO_ROTATION_GRAVITY=12800
export DEFAULT_COUNTRY=US
export BROWSER=librewolf
export SXMO_BG_IMG="$(xdg_data_path sxmo/background.jpg)"
'';
}