Commit Graph

10 Commits

Author SHA1 Message Date
Zach DeCook
96c0846e3e Screenshot: Fix custom directory
Signed-off-by: Peter John Hartman <peterjohnhartman@gmail.com>
2022-07-06 13:26:32 -05:00
Anjandev Momi
1123c0f072 Change license to AGPL-3.0-only 2022-03-15 08:00:00 -04:00
Zach DeCook
34d0188a1e appscripts: Create list automatically
This will allow other packages to add system-wide appscripts

Signed-off-by: Stacy Harper <contact@stacyharper.net>
2022-02-16 21:18:57 +01:00
Zach DeCook
6274f1f222 shebangs: change to /bin/sh
Any sane linux system will have a posix compliant shell at /bin/sh
This change will allow us to better detect running scripts using pgrep.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-12-20 14:29:25 +01:00
Stacy Harper
c446e9f23e Refactorise to simplify wm detection
We dont use guesswm and rely on a SXMO_WM env variable. We now use
guesswm for non wm action (from ssh, console, rtc wakes, etc). It will
try to setup needed variables.

This way, we avoid to run sxmo_wm.sh and to check variables everytime.

This allow the user to manage sxmo_screenlock.sh from ssh and to run a
desktop software with "sxmo_wm.sh exec foot" by example.

We remove the "ssh" wm cause it does not really make sense anyway.

The sxmo_rtcwake.sh dont try to setup variables anymore cause the user
must use "sxmo_wm.sh exec" if they want to start a destkop software
anyway.

We remove the "xorg" check everywhere cause that make no sense. We
keep the xorg prefixed methods for common xorgs cases.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-11-23 15:26:35 -05:00
Stacy Harper
10722874ac Typo, remove leading line 2021-10-21 11:58:32 +02:00
Stacy Harper
b22faa8300 Cleanup sxmo_screenshot 2021-10-21 11:54:46 +02:00
Zach DeCook
576550451d Screenshot: Copy path to clipboard in wayland, rework script for better error detection
also, ostensibly fix clipboard copying for x

Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-10-21 11:54:45 +02:00
Anjandev Momi
23391c1e3e Add screenshot support in wayland (sway)
User must have grim and slurp installed.
We should add those programs to the swmo ui metapackage

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-10-20 17:58:00 +02:00
noneofyourbusiness
823ad95477 add scrot script & add scrot to appmenu
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-06 22:23:15 +02:00