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
ssh() { | |
8 command ssh "$*" | |
7 } | |
6 brctl='pkexec /usr/lib/unity-settings-daemon/usd-backlight-helper' | |
5 | |
4 case "$1" in | |
3 s) | |
2 op=${2: -1} | |
1 percent=${2%%%*} | |
10 br=$(ssh $brctl --get-brightness) |
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
local password = "" | |
local password_set = false | |
local invalid_password = false | |
local first_try_input = "" | |
local second_try = false | |
local grabber | |
local function update_text() | |
local text = "Please set your temporary password:" | |
if invalid_password then |