diff options
author | mail_redacted_for_web | 2021-07-28 14:44:04 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2021-07-28 14:44:04 +0200 |
commit | 0411cae32be1053c3b5ad788a06a830591df4769 (patch) | |
tree | 978fa34457caec7e9f5aed07a25e07f6cefa6dc3 /peps/usr/local/bin | |
parent | f7cac1044ea26157a89e309e8c9a7b8797645ebf (diff) | |
download | lulz-0411cae32be1053c3b5ad788a06a830591df4769.tar.bz2 |
switcher for easier lulz and unlulz in case of management presence
Diffstat (limited to 'peps/usr/local/bin')
-rwxr-xr-x | peps/usr/local/bin/1920megapixel | 4 | ||||
l---------[-rwxr-xr-x] | peps/usr/local/bin/browser-launcher | 5 | ||||
-rwxr-xr-x | peps/usr/local/bin/grafana | 5 | ||||
-rwxr-xr-x | peps/usr/local/bin/keinepeps | 11 | ||||
-rwxr-xr-x | peps/usr/local/bin/peps | 11 |
5 files changed, 32 insertions, 4 deletions
diff --git a/peps/usr/local/bin/1920megapixel b/peps/usr/local/bin/1920megapixel new file mode 100755 index 0000000..6b32d04 --- /dev/null +++ b/peps/usr/local/bin/1920megapixel @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +/usr/bin/chromium-browser --kiosk --disable-restore-session-state file:///usr/share/playlist.html \ + --autoplay-policy=no-user-gesture-required --no-gesture-required diff --git a/peps/usr/local/bin/browser-launcher b/peps/usr/local/bin/browser-launcher index 6b32d04..a6eb9f7 100755..120000 --- a/peps/usr/local/bin/browser-launcher +++ b/peps/usr/local/bin/browser-launcher @@ -1,4 +1 @@ -#!/usr/bin/env sh - -/usr/bin/chromium-browser --kiosk --disable-restore-session-state file:///usr/share/playlist.html \ - --autoplay-policy=no-user-gesture-required --no-gesture-required +1920megapixel
\ No newline at end of file diff --git a/peps/usr/local/bin/grafana b/peps/usr/local/bin/grafana new file mode 100755 index 0000000..4c6eb39 --- /dev/null +++ b/peps/usr/local/bin/grafana @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +# Here we place a more serious link, e.g. the original purpose of your display :-) Below example is a Grafana playlist. + +/usr/bin/chromium-browser --kiosk --disable-restore-session-state https://url-to-grafana/playlists/play/1?autofitpanels diff --git a/peps/usr/local/bin/keinepeps b/peps/usr/local/bin/keinepeps new file mode 100755 index 0000000..c539c0b --- /dev/null +++ b/peps/usr/local/bin/keinepeps @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +rm -vf /usr/local/bin/browser-launcher||exit 1 +ln -vsf grafana /usr/local/bin/browser-launcher||exit 2 +printf "Restarting LightDM in " +for i in {5..1};do + printf "$i..." + sleep 1 +done +printf "\\n" +systemctl restart lightdm.service diff --git a/peps/usr/local/bin/peps b/peps/usr/local/bin/peps new file mode 100755 index 0000000..1cd3eb4 --- /dev/null +++ b/peps/usr/local/bin/peps @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +rm -vf /usr/local/bin/browser-launcher||exit 1 +ln -vsf 1920megapixel /usr/local/bin/browser-launcher||exit 2 +printf "Restarting LightDM in " +for i in {5..1};do + printf "$i..." + sleep 1 +done +printf "\\n" +systemctl restart lightdm.service |