fc-pattern, sv, tomb, xkill: add examples (#6121)

This commit is contained in:
Inesgor
2021-07-25 00:42:04 +05:30
committed by GitHub
parent a9547d0184
commit 3c2ddfbccc
4 changed files with 21 additions and 1 deletions

View File

@@ -14,3 +14,11 @@
- Get service status:
`sudo sv status {{path/to/service}}`
- Reload a service:
`sudo sv reload {{path/to/service}}`
- Start a service, but only if it's not running and don't restart it if it stops:
`sudo sv once {{path/to/service}}`

View File

@@ -6,3 +6,7 @@
- Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel):
`xkill`
- Display a cursor to select a window to kill by pressing any mouse button:
`xkill -button any`

View File

@@ -5,4 +5,8 @@
- Display default information about a font:
`fc-pattern -d '{{DejaVu Serif}}'`
`fc-pattern --default '{{DejaVu Serif}}'`
- Display config information about a font:
`fc-pattern --config '{{DejaVu Serif}}'`

View File

@@ -11,6 +11,10 @@
`tomb forge {{encrypted_directory.tomb.key}}`
- Forcefully create a new key, even if the tomb isn't allowing key forging (due to swap):
`tomb forge {{encrypted_directory.tomb.key}} -f`
- Initialize and lock an empty tomb using a key made with `forge`:
`tomb lock {{encrypted_directory.tomb}} -k {{encrypted_directory.tomb.key}}`