Maarten van Gompel
7fbc1d347a
st alias no longer needed now we use sxmo_terminal.sh explicitly
4 years ago
Maarten van Gompel
198462764f
small patch to reconcile the last two commits
4 years ago
noneofyourbusiness
1121e29b3e
replace "st -e" with sxmo_terminal.sh and edit it to use st -e instead of st
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Anjandev Momi
358d79894e
sxmo_files: add "open in st" for current directory
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Anjandev Momi
30e8dfdc88
aerc: reopen menu after archiving or viewing next part
4 years ago
Anjandev Momi
eda812b1fa
aerc: archive flat, add close tab, and clarify open as xdg-open
4 years ago
Anjandev Momi
0615306072
added context menu for aerc
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
13bdc0e415
Remove polkit rules as it is now in pmOs package
...
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2197/diffs?commit_id=5886e238babe8fd19428b4e05f89a371ed1ef4f6
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
18892aa181
Fix default dir to HOME
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Stacy Harper
4df27b1e81
Unify window killing
4 years ago
Maarten van Gompel
88a5079072
ensure there is always an $EDITOR set
...
It could occur that a user does not have an $EDITOR set when logging in
via SSH.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Maarten van Gompel
eb34a970cb
TERMMODE was used but not set in sxmo_modemtext.sh + sanity check for sxmo_terminal
...
(fixed the shellcheck problem)
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Stacy Harper
0b79710cb5
Fix and simplify the pipecomplete svkbd managing
4 years ago
Nguyễn Gia Phong
d8e19504f6
Use Super as dwm modifier key
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Stacy Harper
200ecfa1a7
Fix the statusbar battery icon
...
We hardcode the file path as it is now configurable
4 years ago
noneofyourbusiness
500a227d05
Add an automated way to configure a hostspot network
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
noneofyourbusiness
f361cf7139
replace if/elif in sxmo_network.sh with case
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Stacy Harper
c183530b38
Fix rotation while simplifying id detection.
...
We hardcode the default pinephone screen input id as we now can override
it by device.
4 years ago
Clayton Craft
989e36336b
deviceprofiles/librem5: set BACKLIGHT var to correct device
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Clayton Craft
d42c4f58d4
programs/sxmo_setpinebacklight: drop unused application
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Clayton Craft
921ab1773a
sxmo_brightness.sh: write brightness val directly to sysfs
...
This removes the dependency on an external compiled app for writing the
brightness value to sysfs, and just echoes it directly to the backlight
sysfs node.
In addition, if the write fails, the script exits instead of sending a
misleading notification.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Clayton Craft
4c3e6044ce
sxmo_brightness: add support for overriding backlight device
...
This uses the BACKLIGHT env var to override the device used for
controlling the backlight. My intention was to keep the default behavior
if it's unset, use the backlight/backlight path if that exists then fall
back to backlight/edp-backlight.
Finally, this changes the script to return immediately if no backlight
device is found with the given options.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Alex O
5741f0692c
Wileyfox Swift rotate and autorotate fix
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
4 years ago
Maarten van Gompel
f60ef805bc
added quit option in context menu for less
4 years ago
Maarten van Gompel
c77a54857a
added some links back to st menu
4 years ago
Maarten van Gompel
ad586b6b58
add some vim shortcuts to the generic hotkey menu (vim context menu is not always properly detected)
4 years ago
Maarten van Gompel
9795992d8a
added Close Tab option for firefox in context menu
4 years ago
Alex O
b2fad74052
Wileyfox Swift battery level icon fix
...
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Timotej Lazar
51815acb0a
smxo_appmenu: replace if/grep with case in programchoicesinit
...
On a PinePhone, this function took ~90 ms before the change and ~45 ms
after.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Stacy Harper
7fe317c71b
Also give WMNAME to user inputhandlers to handle terminals
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Stacy Harper
c81940a74e
fix a bug as WMCLASS can be '"gl", "mpv"'
...
I took the WMCLASS linecode from the appmenu where we do not strip the
full line
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Jochen Sprickerhof
cafd100d28
Alias busybox pgrep/pkill only if apples are available
...
The Debian busybox does not provide those applets. This makes no
difference for PostmarketOS as they are an alias to busybox.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
50f58e9ec3
fixed stderr redirect in sxmo_open
4 years ago
Stacy Harper
59fe5977b4
Add a shortcut to list message from contact menu
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
2c47c5e55f
List unknown numbers when adding contact
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
cc81deeb10
fix a bug when you add a contact after edition
...
The number variable was already used so it is not empty where we need it
to be.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
ed220b34d7
Make bluetooth menu killeable with gesture
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
457aa3e1b0
Open the selected file then the nexts preserving the order
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Stacy Harper
f37de20a0d
Make sxmo_file killeable with gesture
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Jochen Sprickerhof
7239b2c362
Use pkill -f for $KEYBOARD
...
Some pkill implementations match on /proc/pid/stat which is limited to
15 characters [1]. $KEYBOARD defaults to svkbd-mobile-intl which is more
then 15 characters, so use -f to match the full string. Note that sxmo
uses busybox pkill by default which does not have this limit.
[1] https://manpages.debian.org/buster/procps/pgrep.1.en.html (Notes)
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Jochen Sprickerhof
06a6d472d7
Don't pass parameters when souring scripts
...
Passing additional parameters when sourcing scripts is not specified in
POSIX [1]. For example dash simply ignores it and proposes to use set
instead [2]. This is needed to use sxmo on top of Debian.
[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713805#10
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Anjandev Momi
5e327629d9
badge: only show status for commits
4 years ago
Anjandev Momi
161cc52091
Clarify Lagrange submenu not firefox
4 years ago
Stacy Harper
94613e5ae7
Add lagrange shortcuts in appmenu
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Nguyễn Gia Phong
401ca22d46
Add gomuks to apps launcher
...
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
4 years ago
Maarten van Gompel
906226a4ed
added gesture to close less/mless (swipe to left edge or left along bottom edge)
4 years ago
Anjandev Momi
b87be17a64
Revert "Log dwm to CACHEDIR not XDG_CACHE_HOME/sxmo"
...
This reverts commit 472ad269cb
.
double quotes are annoying
4 years ago
Anjandev Momi
472ad269cb
Log dwm to CACHEDIR not XDG_CACHE_HOME/sxmo
...
It's the same directory but we might want to change CACHEDIR in the
future
4 years ago
Clayton Craft
355f68652e
sxmo_lisgdstart: log output to file
...
Useful when identifying/debugging lisgd crashes, and other strange behavior.
The log location is the same place where dwm logs to, so this seemed
appropriate.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago
Stacy Harper
bbece6a657
Use toprightcorner to open user script menu
...
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
4 years ago