a tool that executes routines from a TCP connection
clone and go build
# ~/.config/shortsig/config.toml
port = 3003
[routines.poweroff]
linux = "poweroff"
[routines.reboot]
linux = "reboot"
[routines.suspend]
linux = "systemctl suspend"
[routines.lock]
linux = "loginctl lock-session $XDG_SESSION_ID"
[routines.sleep]
linux = "sleep 2"
[routines.ls]
linux = "ls"
darwin = "ls"
windows = "dir"
launch the server
shortsig
send it something through tcp
nc localhost 3003
exec lock
this project is a work in progress, there's a lot left to be desired such as
- auth
- android client
- aur package (it's on my personal arch repo for now)