




















A little script to toggle between portrait and landscape mode on your handheld, nifty for comic/webtoon consumption in your favorite nesting position. News n’ stuff too if you’re a smelly grown-up. #!/bin/sh # current state checker IS_ROTATED="/tmp/screen_rotate_state" # check if rotated if [ -f "$IS_ROTATED" ]; then kscreen-doctor output.1.rotation.right rm "$IS_ROTATED" else kscreen-doctor output.1.rotation.none touch "$IS_ROTATED" fi Newbies: To execute from a terminal, sav...
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。