Skip to content

Instantly share code, notes, and snippets.

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
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)