This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This script will automaticly rotate your screen and change correctly touches from the screen. | |
#Before running the script: | |
#go to https://github.com/hadess/iio-sensor-proxy and and follow all steps to install the code. | |
#find your TOUCHPAD, and TRANSFORM, variables. You can find them using | |
#typing in terminal: | |
#xinput list | |
#tested on hp x360 13s-s150sa, manjaro kde | |
#in case when you dont want install iio-sensor-proxy you can use this script: | |
#https://gist.github.com/tuxflo/5b400c86a5ebde871d94c6bff94ad6cb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const FullHeightPage = () => ( | |
<div> | |
Hello World! | |
<style global jsx>{` | |
html, | |
body, | |
body > div:first-child, | |
div#__next, | |
div#__next > div { | |
height: 100%; |