Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-10 00:19:02 +00:00
parent 9f85bd373f
commit c39b4c5f19
53 changed files with 152 additions and 86 deletions

View File

@@ -37,6 +37,6 @@ source: https://github.com/tldr-pages/tldr.git
`sudo bcachefs data rereplicate {{path/to/mountpoint}}`
- Display help:
- Create a snapshot of a particular directory:
`bcachefs`
`bcachefs subvolume snapshot {{path/to/directory}} {{path/to/snapshot}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dysk
> Display filesystem information in a table.
> More information: <https://dystroy.org/dysk>.
> More information: <https://manned.org/dysk>.
- Get a standard overview of your usual disks:
@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Sort by free size:
`dysk --sort free`
`dysk {{[-s|--sort]}} free`
- Include only HDD disks:
`dysk --filter 'disk = HDD'`
`dysk {{[-f|--filter]}} 'disk = HDD'`
- Exclude SSD disks:
`dysk --filter 'disk <> SSD'`
`dysk {{[-f|--filter]}} 'disk <> SSD'`
- Display disks with high utilization or low free space:
`dysk --filter 'use > 65% | free < 50G'`
`dysk {{[-f|--filter]}} 'use > 65% | free < 50G'`

29
tldr/linux/gamescope Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# gamescope
> A micro-compositor used as a game layer.
> More information: <https://github.com/ValveSoftware/gamescope>.
- Run a program with gamescope:
`gamescope -- {{command}}`
- Upscale a 720p game to 1440p with integer scaling:
`gamescope {{[-h|--nested-height]}} 720 {{[-H|--output-height]}} 1440 {{[-S|--scaler]}} integer -- %command%`
- Limit a vsynced game to 30 FPS:
`gamescope {{[-r|--nested-refresh]}} 30 -- %command%`
- Toggle fullscreen:
`<Super f>`
- Show help:
`gamescope --help`