sxmo_hook_apps.sh: add gnome sound recorder and use vlc icon
Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_hook_apps.sh: add localsend
Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_hook_apps.sh: add supertuxkart
Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_hook_apps.sh: add luanti (formerly minetest)
Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_hook_apps.sh: add gnome calls
Signed-off-by: Anjandev Momi <anjan@momi.ca>
sxmo_bg.service: fix restart loop on dwm wm
feh --bg exits after setting up the background image, then superd
restarts the service.
We should just not restart the service if the process exited
successfully.
sxmo_bg.sh: log when the WM is not supported yet
Do not resume all player before reseting audio after outgoing calls
This was caused by an issue here. We was trigerring the discarded hook
on outgoing calls, because we did not check the .initiatedcall file,
and so considered this as a discard.
Prevent the ring noise to be hear while starting the call
There was no guarantee the ring was really stopped before the call.
Adding waits on the ring hook make it to exit after mpv stopped.
Adding wait on sxmo_jobs.sh stop make it to exit when the job id
stopped.
Pause all player on pickup too
We already do so when we start ringing, but if the user disable the ring
(vibrate only), then we never pause the players. Doing it on both hooks
does not cause issues because both can cumulate paused players to the
list.
Pause all player on outgoing calls too
We already do so when the phone rings
sxmo_bluetoothmenu.sh: allow to select the default controller
Being able to select between multiple controller become necessary
when you connect a bluetooth dongle to any devices wich already have an
internal bluetooth hardware. Atm we use the default controller, which is
completely random, and based on which one the daemons detected first.
To do so, we re-implement most of the bluetoothctl command using expect.
It is lighter and smarter than spaming the bluetoothctl commands. It
also simplify the scanning jobs, because we can do both scanning and
connecting with the same bluetoothctl interactive client.
And it also become necessary to allow the users to select the controller they
want. Because the bluetoothctl command only allow to run one command. We can not
chain "select $ctn" and "connect $dev" by example.
Also contains some minor code improvements.
Try to simplify the terminal wrapping
The ending wrapping with sxmo_terminal.sh is ugly and difficult to
extend. I struggle in my own hook to extend it so I guess it could
probably is made better.
tailtextlog: add missing whitespaces before "today" or "yersterday"
sxmo_hook_apps.sh: change checking for SXMO_WM to WAYLAND_DISPLAY.
This allows the check to not need updating if a user is using another WM instead
of sway or dwm.
Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Aren Moynihan <aren@peacevolution.org>
desktop mode: enlarge the workspace wrapping
For the same reason we setup a larger date format, we wrap the workspace
wrapping to 10.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Aren Moynihan <aren@peacevolution.org>
desktop mode: do not disable features by default
While it is true that on most desktops, thoses features would be
useless. Some of them can still have a modem, a touchscreen, or hardware
buttons.
I think we should let the user disable them if necessary on their
profile script, or disable them more specifically. By example
SXMO_NO_VIRTUAL_KEYBOARD is mostly usefull on keyboard attached mobile
devices.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Aren Moynihan <aren@peacevolution.org>