diff options
| author | Omar Rizwan <omar@omar.website> | 2022-12-04 20:26:47 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2022-12-04 20:26:47 +0000 |
| commit | 787de4722c94447ea31a725bd741cf09890c844d (patch) | |
| tree | fe67f9a179aa35948d2a3a73eb1081492913b531 /virtual-programs | |
| parent | Delete rfid-calibration.folk virtual program (diff) | |
| download | folk-787de4722c94447ea31a725bd741cf09890c844d.tar.gz folk-787de4722c94447ea31a725bd741cf09890c844d.zip | |
Add esc-restart.folk
Diffstat (limited to 'virtual-programs')
| -rw-r--r-- | virtual-programs/esc-restart.folk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/virtual-programs/esc-restart.folk b/virtual-programs/esc-restart.folk new file mode 100644 index 00000000..02f02c31 --- /dev/null +++ b/virtual-programs/esc-restart.folk @@ -0,0 +1,7 @@ +Wish $this has filename "esc-restart.folk" + +When the keyboard character log is /k/ { + foreach press $k { + if {$press eq "esc"} {exec sudo systemctl restart folk} + } +}
\ No newline at end of file |
