see `swayrotinvert()` in sxmo_rotate.sh, which calls this hook with "invert" Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
12 lines
400 B
Bash
Executable File
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"
|