rendered paste body#here on
on *:input:*: {
.timer 1 900 /distant
}
#here end
#absent off
on *:input:*: {
dialog -m idle_away idle_away
}
#absent end
alias distant {
scon -at1 away auto idle away
enable #absent
disable #here
}
dialog idle_away {
title "Auto Idle Away"
size -1 -1 100 38
option dbu
text "You have auto idled away...", 1, 15 6 69 8
button "Come Back", 2, 6 19 37 12
button "Ignore", 3, 56 19 37 12
}
on 1:dialog:idle_away:sclick:3:{
dialog -x idle_away idle_away
timer 1 10 /repopup
}
on 1:dialog:idle_away:sclick:2:{
scon -at1 away
dialog -x idle_away idle_away
disable #absent
enable #here
}
alias repopup {
dialog -m idle_away idle_away
}