forked from andonome/lk
Compare commits
38 Commits
Author | SHA1 | Date | |
---|---|---|---|
5460e90137
|
|||
4cc4603b2e
|
|||
a8617fb5b1
|
|||
04814ff498
|
|||
7eea76f2be
|
|||
f3143876db
|
|||
3457ed4c61
|
|||
786178195b
|
|||
29bff234fd
|
|||
3e3e072623 | |||
a6907d7a91
|
|||
3f98db3d3a
|
|||
17b90a54cb
|
|||
0587e9914a
|
|||
257ece871c
|
|||
89ec9614e5
|
|||
6f8902ff8f
|
|||
1eab64e1bc
|
|||
92f90b51f7
|
|||
b44d6b88ed
|
|||
23160b22ad
|
|||
fd2c44f49b
|
|||
8b599e2c77
|
|||
4a9d2d61d2
|
|||
fda9fcdec4
|
|||
395cb363db
|
|||
abc2add177
|
|||
2dbc7965da
|
|||
4dd6c979b6
|
|||
8672905dc4
|
|||
6a3703a2d0
|
|||
8bb0c57ddb
|
|||
8994bbe0e2
|
|||
ea5ecad274
|
|||
c6f2891003
|
|||
46f538bbe8
|
|||
f80bc47a24
|
|||
6162bb1502
|
@@ -64,6 +64,8 @@ atrm 2
|
||||
|
||||
Check `/var/spool/atd/` to see the jobs.
|
||||
|
||||

|
||||
|
||||
## Automation
|
||||
|
||||
Automatically add a job for later, by setting the date, then using echo for the command.
|
||||
|
42
basics/at.tape
Normal file
42
basics/at.tape
Normal file
@@ -0,0 +1,42 @@
|
||||
Require at
|
||||
Require atd
|
||||
Sleep 500ms
|
||||
Type "at teatime"
|
||||
Enter
|
||||
Sleep 1.5s
|
||||
Type "./"
|
||||
Sleep 500ms
|
||||
Type "baskup.sh"
|
||||
Sleep 1.5s
|
||||
Enter
|
||||
Sleep 1.5s
|
||||
Ctrl+D
|
||||
Sleep 3.5s
|
||||
Type "atq"
|
||||
Enter
|
||||
Sleep 1.5s
|
||||
Type "atq 1"
|
||||
Sleep 500ms
|
||||
Type "4"
|
||||
Enter
|
||||
Sleep 500ms
|
||||
Type "at"
|
||||
Sleep 1s
|
||||
Type " -c 15"
|
||||
Enter
|
||||
Sleep 1.5s
|
||||
Type "at"
|
||||
Sleep 500ms
|
||||
Type " "
|
||||
Sleep 500ms
|
||||
Type "-"
|
||||
Sleep 500ms
|
||||
Type "c 15 | grep PWD"
|
||||
Enter
|
||||
Sleep 5.5s
|
||||
Type "atrm 15"
|
||||
Sleep 2s
|
||||
Enter
|
||||
Sleep 3s
|
||||
Ctrl+D
|
||||
|
@@ -10,6 +10,8 @@ tags: [ "Documentation", "Basics" ]
|
||||
type cmus
|
||||
```
|
||||
|
||||

|
||||
|
||||
# Whereis the Program
|
||||
|
||||
Ask where the `angband` program is, along with all its configuration files:
|
||||
|
33
basics/which.tape
Normal file
33
basics/which.tape
Normal file
@@ -0,0 +1,33 @@
|
||||
Require cmus
|
||||
|
||||
Type "whereis cmus"
|
||||
Enter
|
||||
Sleep 1s
|
||||
Type "which cmus"
|
||||
Enter
|
||||
Sleep 500ms
|
||||
Type "type /bin/cmus"
|
||||
Enter
|
||||
Sleep 5s
|
||||
Type "man cmus"
|
||||
Enter
|
||||
Sleep 1s
|
||||
Type " "
|
||||
Sleep 1s
|
||||
Type " "
|
||||
Sleep 1s
|
||||
Type " "
|
||||
Sleep 500ms
|
||||
Type " "
|
||||
Sleep 1.5s
|
||||
Type " "
|
||||
Sleep 500ms
|
||||
Type " "
|
||||
Sleep 1.5s
|
||||
Type " "
|
||||
Sleep 500ms
|
||||
Type " q"
|
||||
Sleep 500ms
|
||||
Type "cmus"
|
||||
Sleep 3s
|
||||
Ctrl+D
|
11
basics/yes.tape
Normal file
11
basics/yes.tape
Normal file
@@ -0,0 +1,11 @@
|
||||
Require yay
|
||||
|
||||
Set Shell "bash"
|
||||
Set FontSize 20
|
||||
Set Width 1400
|
||||
Set Height 900
|
||||
|
||||
Sleep 2s
|
||||
|
||||
|
||||
Type "yes | yay"
|
@@ -47,6 +47,7 @@ echo 'set autowrap' >> .config/sc-im/scimrc
|
||||
|:----------------------|:---:|
|
||||
| text (left align) | < |
|
||||
| text (right align) | > |
|
||||
| text (right align) | `|` |
|
||||
| Edit existing text | E |
|
||||
|
||||
### Meta Actions
|
||||
@@ -61,6 +62,26 @@ echo 'set autowrap' >> .config/sc-im/scimrc
|
||||
| paste with format | Pc |
|
||||
| delete a cell | x |
|
||||
|
||||
# Movement
|
||||
|
||||
| Action | Key |
|
||||
|:-------------------------------:|:---:|
|
||||
| highest part | H |
|
||||
| lowest part | L |
|
||||
| top | gg |
|
||||
| move right | g$ |
|
||||
| move left | g0 |
|
||||
| insert middle | \ |
|
||||
| insert left | \> |
|
||||
| insert right | < |
|
||||
| to to cell b4 | b4 |
|
||||
| see all text in cells | aa |
|
||||
| format cells so you can see it. | f |
|
||||
| format wider right | fl |
|
||||
| format smaller left | fh |
|
||||
| format wider down | fj |
|
||||
| format smaller down | fk |
|
||||
|
||||
|
||||
### Functions
|
||||
|
||||
|
@@ -19,3 +19,4 @@ w3m ddg.gg
|
||||
| T | new tab |
|
||||
| { / } | switch tabs |
|
||||
|
||||

|
||||
|
43
data/w3m.tape
Normal file
43
data/w3m.tape
Normal file
@@ -0,0 +1,43 @@
|
||||
Require w3m
|
||||
|
||||
Sleep 1s
|
||||
Type "w3m ddg.gg"
|
||||
Sleep 500ms
|
||||
Enter
|
||||
Sleep 1.5s
|
||||
Tab
|
||||
Enter
|
||||
Type "cats"
|
||||
Enter
|
||||
Sleep 2s
|
||||
Tab
|
||||
Enter
|
||||
Sleep 2s
|
||||
Type "jjjjjjjjjjjj"
|
||||
Tab
|
||||
Enter
|
||||
Sleep 2s
|
||||
Type "U"
|
||||
Sleep 500ms
|
||||
Ctrl+U
|
||||
Sleep 500ms
|
||||
Type "dmz.rs"
|
||||
Sleep 500ms
|
||||
Enter
|
||||
Sleep 4.5s
|
||||
Type "jjjjjjjj"
|
||||
Tab
|
||||
Type "j"
|
||||
Sleep 500ms
|
||||
Enter
|
||||
Sleep 1s
|
||||
Type " "
|
||||
Sleep 2s
|
||||
Backspace
|
||||
Sleep 500ms
|
||||
Type " "
|
||||
Sleep 1.5s
|
||||
Type " "
|
||||
Sleep 2s
|
||||
Type "qy"
|
||||
Sleep 500ms
|
28
distros/void/xbps-install.tape
Normal file
28
distros/void/xbps-install.tape
Normal file
@@ -0,0 +1,28 @@
|
||||
Require xbps-query
|
||||
Require xbps-install
|
||||
|
||||
Set Shell "bash"
|
||||
Set FontSize 20
|
||||
Set Width 1400
|
||||
Set Height 900
|
||||
|
||||
Type "sudo xbps-install --sync" Enter Sleep 700ms Enter
|
||||
|
||||
Type "sudo xbps-install --update --yes" Sleep 700ms
|
||||
|
||||
Backspace 33
|
||||
|
||||
Type "echo same but faster!" Sleep 200ms Enter
|
||||
|
||||
Type "sudo xbps-install -uy" Enter Sleep 700ms
|
||||
|
||||
Type "echo now we just download" Sleep 2s Enter
|
||||
|
||||
Type "sudo xbps-install -SD --yes" Sleep 700ms Enter
|
||||
|
||||
Type "echo and install from the downloaded updates..." Sleep 2s Enter
|
||||
|
||||
Type "sudo xbps-install -Du" Sleep 700ms Enter
|
||||
|
||||
Sleep 4s
|
||||
|
64
distros/void/xbps-query.tape
Normal file
64
distros/void/xbps-query.tape
Normal file
@@ -0,0 +1,64 @@
|
||||
Require xbps-query
|
||||
Require xbps-install
|
||||
|
||||
Set Shell "bash"
|
||||
#Set FontSize 20
|
||||
#Set Width 1400
|
||||
#Set Height 900
|
||||
|
||||
#Hide
|
||||
#
|
||||
#Type "sudo xbps-remove -y cowsay xcowsay aerc"
|
||||
|
||||
Show
|
||||
|
||||
Type "xbps-query cows" Enter Sleep 1s
|
||||
|
||||
Type "nothing..."
|
||||
|
||||
Backspace 11
|
||||
|
||||
Type "xbps-query --search cows" Sleep 500ms Enter
|
||||
|
||||
Type "xbps-query --repository --search cows" Sleep 500ms Enter
|
||||
|
||||
Type "echo same but faster!" Sleep 200ms Enter
|
||||
|
||||
Type "xbps-query -Rs cows" Sleep 500ms Enter
|
||||
|
||||
Sleep 3s
|
||||
|
||||
Type "sudo xbps-install -y xcowsay" Enter Sleep 700ms Enter
|
||||
|
||||
Sleep 5
|
||||
|
||||
Type "xbps-query --repository --search 'email'" Sleep 300ms Enter
|
||||
|
||||
Type "too much...." Sleep 1s
|
||||
|
||||
Backspace 13
|
||||
|
||||
Sleep 1s
|
||||
|
||||
Type "xbps-query -R --search '^email'" Sleep 300ms Enter
|
||||
|
||||
Sleep 2s
|
||||
|
||||
Type "xbps-query -Rs --regex '^email terminal'" Sleep 300ms Enter
|
||||
|
||||
Type "???" Sleep 2s
|
||||
|
||||
Backspace 3
|
||||
|
||||
Sleep 3s
|
||||
|
||||
Type "regex first!" Sleep 2s
|
||||
|
||||
Backspace 12
|
||||
|
||||
Type "xbps-query --regex -Rs '^email.*terminal'" Sleep 300ms Enter Sleep 900ms
|
||||
|
||||
Type "xbps-query --regex -Rs '^terminal.*email'" Sleep 300ms Enter Sleep 900ms
|
||||
|
||||
Type "sudo xbps-install aerc" Enter Sleep 300ms Enter Sleep 2s
|
||||
|
28
distros/void/xbps-remove.tape
Normal file
28
distros/void/xbps-remove.tape
Normal file
@@ -0,0 +1,28 @@
|
||||
Require xbps-query
|
||||
Require xbps-install
|
||||
|
||||
Set Shell "bash"
|
||||
#Set FontSize 20
|
||||
#Set Width 1400
|
||||
#Set Height 900
|
||||
|
||||
Type "sudo xbps-remove --yes thunderbird" Enter Sleep 2s
|
||||
|
||||
Type "time to kill orphans" Sleep 600ms
|
||||
|
||||
Backspace 21
|
||||
|
||||
Enter
|
||||
|
||||
Type "xbps-remove --remove-orphans --dry-run" Sleep 700ms
|
||||
|
||||
Backspace 38
|
||||
|
||||
Enter
|
||||
|
||||
Type "xbps-remove -on | cowsay" Sleep 300ms Enter Sleep 1.5s
|
||||
|
||||
Type "sudo xbps-remove --yes -o" Sleep 700ms Enter
|
||||
|
||||
Sleep 2s
|
||||
|
@@ -22,6 +22,8 @@ Search with regex:
|
||||
xbps-query --regex -Rs 'cow(s)?\w'
|
||||
```
|
||||
|
||||

|
||||
|
||||
List what's required for cowsay
|
||||
|
||||
```bash
|
||||
@@ -68,6 +70,8 @@ Upgrade current packages.
|
||||
xbps-install -Suv
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Remove/ Uninstall
|
||||
|
||||
Remove cowsay
|
||||
@@ -90,6 +94,8 @@ xbps-remove -o
|
||||
|
||||
Show information about cowsay
|
||||
|
||||

|
||||
|
||||
## Fixes
|
||||
|
||||
Reinstall cowsay
|
||||
|
@@ -3,6 +3,8 @@ title: "lf - The Light File Manager"
|
||||
tags: [ "Documentation", "File Browser" ]
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Config File
|
||||
|
||||
If you don't have a `~/.config/lf/lfrc` file, you can probably find an example in `/usr/share/examples/lf`.
|
||||
|
24
system/lf.tape
Normal file
24
system/lf.tape
Normal file
@@ -0,0 +1,24 @@
|
||||
Require lf
|
||||
|
||||
Set Shell "bash"
|
||||
Set FontSize 12
|
||||
Set Width 800
|
||||
Set Height 600
|
||||
|
||||
Type "lf"
|
||||
Sleep 1.5s
|
||||
Enter
|
||||
Sleep 1.5s
|
||||
Type "jjj"
|
||||
Sleep 1s
|
||||
Enter
|
||||
Sleep 2s
|
||||
Type "fortune > file"
|
||||
Enter
|
||||
Sleep 2s
|
||||
Enter
|
||||
Type "/file"
|
||||
Enter
|
||||
Sleep 3s
|
||||
Type "q"
|
||||
|
Reference in New Issue
Block a user