From 3c2ddfbccca1824d61550b57338503dd5572ccaa Mon Sep 17 00:00:00 2001 From: Inesgor <81314876+Inesgor@users.noreply.github.com> Date: Sun, 25 Jul 2021 00:42:04 +0530 Subject: [PATCH] fc-pattern, sv, tomb, xkill: add examples (#6121) --- pages/common/sv.md | 8 ++++++++ pages/common/xkill.md | 4 ++++ pages/linux/fc-pattern.md | 6 +++++- pages/linux/tomb.md | 4 ++++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/pages/common/sv.md b/pages/common/sv.md index 00b15f81b..3d541847a 100644 --- a/pages/common/sv.md +++ b/pages/common/sv.md @@ -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}}` diff --git a/pages/common/xkill.md b/pages/common/xkill.md index b2c9d72a8..83e1f1d88 100644 --- a/pages/common/xkill.md +++ b/pages/common/xkill.md @@ -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` diff --git a/pages/linux/fc-pattern.md b/pages/linux/fc-pattern.md index 9c3c546cc..39a5f139a 100644 --- a/pages/linux/fc-pattern.md +++ b/pages/linux/fc-pattern.md @@ -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}}'` diff --git a/pages/linux/tomb.md b/pages/linux/tomb.md index bdd9857ac..7ea7cf150 100644 --- a/pages/linux/tomb.md +++ b/pages/linux/tomb.md @@ -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}}`