screen-saver: new

This commit is contained in:
Guilherme Rugai Freire 2026-02-11 01:09:59 -03:00
parent b266682781
commit 57d4a3d4bc
No known key found for this signature in database
GPG Key ID: DCFA7949937FB2CD
3 changed files with 12 additions and 0 deletions

1
bin/screen-saver Symbolic link
View File

@ -0,0 +1 @@
../screen-saver/screen-saver.sh

7
screen-saver/README.md Normal file
View File

@ -0,0 +1,7 @@
# screen-saver
## About
-- about section here --
## Requirements
-- any requirements --

4
screen-saver/screen-saver.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
id="$(xprop | grep WM_CLIENT_LEADER | cut -d' ' -f5)"
xdg-screensaver suspend "$id"