Flip the built-in laptop screen 180 degrees on KDE Plasma.
I use my laptop the normal way most of the time and sometimes upside down. This
is the quick toggle for that: one click or one hotkey swaps the panel between
normal and inverted. It runs kscreen-doctor instead of xrandr, so it also
works on a pure Wayland session.
KDE Plasma and jq. kscreen-doctor ships with Plasma. notify-send is
optional and only used to show errors when the script runs without a terminal.
git clone https://github.com/0443n/kflip.git
cd kflip
./install.shThis copies flip-display to ~/.local/bin and the launcher to
~/.local/share/applications. Make sure ~/.local/bin is on your PATH.
Open System Settings > Keyboard > Shortcuts and add a custom shortcut that runs
flip-display. Then flipping is one keypress.