Maarten van Gompel
b857198eb0
fix for bottomleft corner lock gesture ( #361 )
...
Fixes https://todo.sr.ht/~mil/sxmo-tickets/361
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-09-11 01:26:39 -04:00
Maarten van Gompel
c831d26773
fixed gesture names; a lot of gestures were erronously named corner rather than edge
...
This causes us to have both a 'bottomleftcorner' and 'leftbottomcorner',
the latter is now 'leftbottomedge' and is interpreted as 'a left swipe
along the bottom edge' while 'bottomleftcorner' is 'diagonal swipe from
the bottom left corner'.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-09-11 01:26:39 -04:00
~baroque0
35b312c0b8
added scripts/core/sxmo_sws.sh sway window switcher
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-09-06 14:01:31 +02:00
Peter John Hartman (wart)
00e495374d
bump up the number of lines in sxmo_dmenu.sh (see patch to sxmo-dmenu)
2021-09-06 13:56:39 +02:00
Maxim Karasev
f7698e4a25
Move operating system detection to sxmo_common
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-09-05 10:07:27 +02:00
Maxim Karasev
2e965453c1
Add USB Hotspot
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-09-05 10:04:45 +02:00
Stacy Harper
a5799bf351
Add a check before toggeling wm
...
Currently on 1.5.1, sway is not installed nor setted up. This WM toggle
entry cause a tty soft lock !
This fix this with a very too simple check but that will prevent this
case.
2021-09-04 10:44:02 +02:00
Stacy Harper
3c3c5f5b45
Hide border on Sway when only one window is present
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-09-04 03:33:58 -04:00
Stacy Harper
4571330df4
Add and setup nclutter-xfixes
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-09-01 18:58:48 +02:00
Stacy Harper
f9976df021
Prevent already existing modifiers to prevent view change
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-09-01 18:57:29 +02:00
Stacy Harper
2e6ce5c810
Fix layout dwm regression
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-09-01 18:57:22 +02:00
baroque
5b705dc91b
reduce notification spam in volume/brightness
...
Added a second parameter to notifications (actually a first, "app-name"), so they can be *grouped* when there is more than one, reducing the clutter on the screen, using the mako config parameter " group-by=app-name "
with proper quotes (i hope), case and cute icon ;)
added "group-by = app-name" directive in mako config
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-31 20:45:42 +02:00
Maxim Karasev
2c4da8fa0b
Make led blink more noticable
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-31 19:57:37 +02:00
Maxim Karasev
e4cc9a90a2
Use type:touch instead of DEVICE in swayinputevent in sxmo_wm
...
This fixes handling input with locked screen on non-pinephone devices.
I think really nobody would connect second touchscreen to a phone, so we
can assume there's only one we need.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-31 19:55:31 +02:00
Maxim Karasev
905b69ebf1
Make inputhandler execute command even if blinkled failed
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-31 16:52:30 +02:00
Maxim Karasev
1e20a2223b
Rename sxmo_setpineled.sh to sxmo_setled.sh, add bq-paella support
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-31 16:52:30 +02:00
Stacy Harper
7f39de55f0
move sway input/output to a dedicated file
2021-08-31 16:42:37 +02:00
Maxim Karasev
85e18743bf
Clean up sway config and add BQ Aquaris X5 support
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-31 16:42:36 +02:00
baroque
8f900c29f8
moved flashlight to main menu, out of "configuration" (that is crowded already)
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:26:13 +02:00
baroque
80c656f3ad
added Marble in the apps.
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:25:58 +02:00
baroque
9e058e546d
added || pkill sway after pkill dwm in "logout"
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:25:53 +02:00
Stacy Harper
f86cc46d03
Add a bemenu control mode to access bemenu control with buttons
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-30 22:22:43 +02:00
Maxim Karasev
d430cce8ff
Fix non-eg25 modems in modemmonitortoggle
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-30 08:11:10 +02:00
Maxim Karasev
2f6d84a857
Add sudo permissions needed for modemmanagertoggle
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-30 08:11:10 +02:00
Sam Bowlby
657fbd85ba
added new appmenu items; tests for wm for some apps
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-30 08:04:20 +02:00
Sam Bowlby
ac34711bc3
fixed appmenu for Foot shortcuts
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-29 15:06:34 +02:00
Maxim Karasev
2f0eb4ffe6
Drop "BATTERY_DEVICE" property in deviceprofiles
...
Isn't needed anymore as we now have reliable and universal battery
autodetection.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-29 13:59:15 +02:00
Maxim Karasev
6c161a11ca
Reliably autodetect battery device in statusbar
...
Wireless devices have "Wireless" type, so we search for nodes with type
"Battery". We also may handle wireless devices that way, if anyone needs
that.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-29 13:59:15 +02:00
Stacy Harper
df11b22b51
Add no spacing to bemenu
2021-08-28 09:31:19 +02:00
Maxim Karasev
1a1f40cc81
Change shebang to '/usr/bin/env sh' in sxmo_workspace.sh
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-27 22:45:19 +02:00
Stacy Harper
56f5658cc9
Larger bemenu cause keyboard scale correctly on landscape
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-27 11:12:59 +02:00
Martin Vahlensieck
8cb2cd43ec
Replace tabs with spaces to line up usage
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-27 11:11:36 +02:00
Maarten van Gompel
d5139e4393
increased default font size for bemenu
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-27 07:37:41 +02:00
Stacy Harper
390a59c318
Fix sxmo_modemcall recent regressions
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-26 21:41:54 +02:00
Stacy Harper
103a6612f3
Fix autorotation script
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-26 20:42:51 +02:00
Stacy Harper
a1a6c3eb43
Set minimum brightness to 5%
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-26 12:40:47 +02:00
Stacy Harper
b94c16540f
Switch wm without rebooting
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-26 12:39:00 +02:00
Stacy Harper
c014c6bb92
Load user .profile after setting up default values
...
This allow the user .profile to switch case depending on the default
values. It is mandatory by example to setup custom wvkbd or svkbd,
depending on the wm we use.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-26 12:38:53 +02:00
Maarten van Gompel
1ca8672473
minor syntax fix, quote var
2021-08-25 23:35:35 +02:00
Stacy Harper
829f8241c7
Add Arch handlers to manager daemons in sxmo_modemmonitortoggle
2021-08-25 21:51:02 +02:00
Stacy Harper
af733083c0
Make sxmo_modemmonitortoggle reset ospotent
2021-08-25 19:29:11 +02:00
Peter John Hartman (wart)
a8693545a4
Dialer menu should be with keyboard (so you can enter number).
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-25 19:29:10 +02:00
Peter John Hartman (wart)
b46a347d85
if the keyboard is open, 7 lines in horizontal and 23 lines in vertical is too much in order to enter data. This especially affects the Dialer and Text menus. I lowered the numbers.
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-08-25 19:29:10 +02:00
Stacy Harper
9f6af8abcc
Fix appmenu.sh in ssh mode
...
We had issue in ssh mode and this new bemenu curses mode.
No issue on other sxmo menu that use successive bemnu but this appmenu
loop displaying some ~F char when you select a subentry.
I refactorised a little bit this script and now it works well. I'm not
stil not sure of what was causing this.
By the way I changed some echo for printf. I also added the wrap
argument for bemenu in ssh mode.
2021-08-25 13:29:59 +02:00
Maarten van Gompel
64e7140501
shellcheck fixes
2021-08-25 13:01:24 +02:00
Stacy Harper
f3511b149a
Remove now unused screen detection for lisgd
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-25 12:56:11 +02:00
Maarten van Gompel
a9ac024fe9
use --index instead of -idx for compatibility with bemenu, requires similar patch for dmenu
2021-08-24 23:11:58 +02:00
Maarten van Gompel
088fd0b593
fixed typo in dmenu option
2021-08-24 22:29:00 +02:00
Stacy Harper
28172aa675
Prevent more multikey hold chains
...
I enlarge the sleep on overflow by 2. But I make this check only
applicable for holded buttons.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-24 22:20:06 +02:00
Stacy Harper
8d2afc8e14
Simplify bemenu scroll up
...
The size was perfect to fit between keyboard and the status bar but then
it was hard to trigger page up without triggering lisgd gesture.
Make bemenu a little tinier to simplify this
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-08-24 22:18:29 +02:00