https://twrp.me/xiaomi/xiaomiredminote5pro.html
Anti-Rollbackがあるので、fastbootから直接焼くことはできない。
$ fastboot boot twrp-x.y.z-a-whyred.img
https://twrp.me/xiaomi/xiaomiredminote5pro.html
Anti-Rollbackがあるので、fastbootから直接焼くことはできない。
$ fastboot boot twrp-x.y.z-a-whyred.img
| # Copyright 1999-2017 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| EAPI=6 | |
| inherit autotools | |
| DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell" | |
| HOMEPAGE="https://github.com/NicoHood/arc-theme" | |
| SRC_URI="https://github.com/NicoHood/${PN}/releases/download/${PV}/${P}.tar.xz -> ${P}.tar.xz" |
| Section "InputClass" | |
| Identifier "touchpad" | |
| MatchIsTouchpad "on" | |
| MatchDevicePath "/dev/input/event*" | |
| Driver "synaptics" | |
| Option "FingerLow" "35" | |
| Option "FingerHigh" "40" | |
| Option "PalmDetect" "1" |
| Section "InputClass" | |
| Identifier "UltraNav" | |
| Driver "libinput" | |
| MatchIsTouchpad "on" | |
| Option "ClickMethod" "clickfinger" | |
| Option "NaturalScrolling" "on" | |
| Option "Tapping" "off" | |
| EndSection |
| Section "Device" | |
| Identifier "Intel IGP" | |
| Driver "modesetting" | |
| Option "AccelMethod" "glamor" | |
| EndSection |
| Section "InputClass" | |
| Identifier "touchpad" | |
| MatchIsTouchpad "on" | |
| Driver "synaptics" | |
| Option "AccelerationNumerator" "1" | |
| Option "AccelerationDenominator" "2" | |
| Option "AccelerationThreshold" "2" | |
| Option "TapButton1" "0" | |
| Option "VertEdgeScroll" "off" | |
| Option "HorizEdgeScroll" "off" |
| body { | |
| background-color: #eee; | |
| font-family: "Roboto", "Lucida Grande", "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", "IPAexGothic", sans-serif; | |
| } | |
| h1, h2, h3 { | |
| font-family: "Roboto Condensed", "Hiragino Kaku Gothic ProN", "Meiryo", "IPAexGothic", sans-serif; | |
| font-weight: 300; | |
| } |
| #!/bin/sh | |
| exec compton -cCzG -t-3 -l-5 -r4 \ | |
| --config /dev/null --backend glx \ | |
| --vsync opengl-swc \ | |
| --shadow-exclude "name = 'notify-osd'" \ | |
| --shadow-exclude "_GTK_FRAME_EXTENTS@:c" \ | |
| --shadow-ignore-shaped & |
| .window-frame, .window-frame:backdrop { | |
| box-shadow: 0 0 0 black; | |
| border-style: none; | |
| margin: 0; | |
| border-radius: 0; | |
| } | |
| .titlebar { | |
| border-radius: 0; | |
| } |
| #!/bin/sh | |
| # アクティブなウィンドウのスクリーンショットを撮り、通知する | |
| # 12 Mar 2014: dateコマンドの辺りで間抜けな間違いをしていたので修正 | |
| activeWinLine=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)") | |
| activeWinId=${activeWinLine:40} | |
| exec import -window "$activeWinId" -frame $HOME/Pictures/screenshot/$(date +%y%m%d_%H%M%S).png & | |
| exec notify-send 'Screenshot Taken' $HOME/Pictures/screenshot/$(date +%y%m%d_%H%M%S).png & |