diff options
author | Karel Kočí <cynerd@email.cz> | 2021-10-02 19:31:39 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-10-02 19:31:39 +0200 |
commit | d7b98eb0a9c608b43e2138d6d0bb6a59b3995195 (patch) | |
tree | c8260164d24b072c3ae7a632ea603025ab7b5c56 /gui-apps/myswaylock/files | |
parent | f7689344a370a7d68c056809beceffc4caa2f83d (diff) | |
download | gentoo-personal-overlay-d7b98eb0a9c608b43e2138d6d0bb6a59b3995195.tar.gz gentoo-personal-overlay-d7b98eb0a9c608b43e2138d6d0bb6a59b3995195.tar.bz2 gentoo-personal-overlay-d7b98eb0a9c608b43e2138d6d0bb6a59b3995195.zip |
gui-apps/myswaylock: add new package
Diffstat (limited to 'gui-apps/myswaylock/files')
-rwxr-xr-x | gui-apps/myswaylock/files/myswaylock | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gui-apps/myswaylock/files/myswaylock b/gui-apps/myswaylock/files/myswaylock new file mode 100755 index 0000000..87cfaf0 --- /dev/null +++ b/gui-apps/myswaylock/files/myswaylock @@ -0,0 +1,6 @@ +#!/bin/sh +BACKS="/usr/share/backgrounds" + +swaymsg input type:keyboard xkb_layout us + +exec swaylock -f -n -c 000000 -i "$(shuf -n1 -e "$BACKS"/*)" |