Files
sxmo-utils/configs/default_hooks/sxmo_hook_rotate.sh
Colin c7df343008 sxmo_hook_rotate.sh: update docs for CLI args
see `swayrotinvert()` in sxmo_rotate.sh, which calls this hook with "invert"

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2023-10-11 14:54:04 +02:00

12 lines
400 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
# This script is executed after the screen is rotated.
# You can use this to change your conky/wayout layout or status
# bar to something more appropriate to the current orientation.
# The following parameters are provided:
# $1 = the new orientation
# possible values are "normal", "invert", "left" and "right"