deckshift

(★ 16)

Steam Deck-style Gaming Mode for Linux + Hyprland (Omarchy). Press Super+Shift+S for Steam Big Picture in Gamescope; Super+Shift+R back to desktop.

File Explorer

  • deckshift.sh
  • NOTES.md
  • README.md
  • uninstall.sh

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

groups

View Details ▼

Print group memberships for a user.
See also: `groupadd`, `groupdel`, `groupmod`.

groups

Print group memberships for the current user:

groups {{username1 username2 ...}}

Print group memberships for a list of users:

🔍

pkill

View Details ▼

Signal process by name.
Mostly used for stopping processes.

pkill "{{process_name}}"

Kill all processes which match:

pkill {{[-f|--full]}} "{{command_name}}"

Kill all processes which match their full command instead of just the process name:

pkill {{[-9|-SIGKILL]}} "{{process_name}}"

Force kill matching processes (can't be blocked):

🔍

sed

View Details ▼

Edit text in a scriptable manner.
See also: `awk`, `ed`.

{{command}} | sed 's/apple/mango/g'

Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`:

{{command}} | sed 's/apple/mango/g'

Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`:

{{command}} | sed 's/apple/mango/g'

[s]ubstitute all occurrences of "apple" with "mango" on all lines, print to `stdout`:

🔍

steam

View Details ▼

Video game platform by Valve.

steam

Launch Steam, printing debug messages to `stdout`:

steam -console

Launch Steam and enable its in-app debug console tab:

steam -silent

Launch Steam without opening the GUI:

🔍

gamescope

View Details ▼

A micro-compositor used as a game layer.
See also: `cage`.

gamescope -- {{program}}

Run a program with gamescope on the terminal:

gamescope -- %command%

Run a game with gamescope through Steam:

gamescope {{[-h|--nested-height]}} 720 {{[-H|--output-height]}} 1440 {{[-S|--scaler]}} integer -- {{command}}

Upscale a 720p game to 1440p with integer scaling:

🔍

journalctl

View Details ▼

Query the systemd journal.
See also: `dmesg`.

journalctl {{[-n|--lines]}} {{n}} {{[-f|--follow]}}

Show the latest `n` lines and follow new messages (like `tail --follow` for traditional syslog):

journalctl {{[-b|--boot]}} -1 {{[-p|--priority]}} 3

Show all messages with priority level 3 (errors) from the boot before last shutdown:

journalctl {{[-u|--unit]}} {{unit}}

Show all messages by a specific unit:

🔍

loginctl

View Details ▼

Manage the systemd login manager.
See also: `lslogins`.

loginctl

Print all current sessions:

loginctl show-session {{session_id}} {{[-a|--all]}}

Print all properties of a specific session:

loginctl show-user {{username}}

Print all properties of a specific user:

🔍

lspci

View Details ▼

List all PCI devices.

lspci

Show a brief list of devices:

lspci -v

Display [v]erbose information (Note: the `-v` flag can be repeated to increase verbosity):

lspci -k

Display [k]ernel drivers and modules handling each device:

🔍

mangohud

View Details ▼

Display a monitoring HUD on top of a Vulkan or OpenGL graphical application.

mangohud {{command}}

Use `mangohud` on top of an application:

<RightShift F11>

Change overlay position:

<RightShift F10>

Change overlay verbosity:

🔍

pacman

View Details ▼

Arch Linux package manager utility.
See also: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`.
For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.

sudo pacman -Syu

[S]ynchronize and update all packages:

sudo pacman -S {{package}}

Install a new package:

sudo pacman -Rs {{package}}

[R]emove a package and its dependencies:

🔍

powerprofilesctl

View Details ▼

Make power profiles handling available over D-Bus.

powerprofilesctl

List available power profiles:

powerprofilesctl set {{profile_name}}

Set a specific power profile:

🔍

systemctl daemon-reload

View Details ▼

Reload systemd manager configuration.
Use this after creating, modifying, or deleting unit files.
See also: `systemctl reload`.

systemctl daemon-reload

Reload systemd to apply changes in unit files:

🔍

systemctl restart

View Details ▼

Stop and then start one or more systemd units.
Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.

systemctl restart {{unit}}

Restart a unit:

systemctl restart {{unit1 unit2 ...}}

Restart more than one unit:

systemctl restart {{unit}} --user

Restart a user unit:

🔍

systemctl start

View Details ▼

Start systemd units.

systemctl start {{unit}}

Start a unit:

systemctl start {{unit}} --user

Start a user unit:

🔍

systemctl unmask

View Details ▼

Unmask units to make them startable again.
This undoes the effect of `systemctl mask`.

systemctl unmask {{service_name}}

Unmask a service:

systemctl unmask {{service_name}} --now

Unmask and start a service immediately:

systemctl unmask {{service_name}} --user

Unmask a user service:

🔍

systemctl

View Details ▼

Control the systemd system and service manager.
Some subcommands such as `disable`, `status`, `reboot` etc. have their own usage documentation.

systemctl status

Show all running services:

systemctl --failed

List failed units:

systemctl {{start|stop|restart|reload|status}} {{unit}}

Start/Stop/Restart/Reload/Show the status of a service:

🔍

udevadm

View Details ▼

Linux `udev` management tool.

sudo udevadm monitor

Monitor all device events:

sudo udevadm monitor {{[-k|--kernel]}}

Print `uevents` sent out by the kernel:

sudo udevadm monitor {{[-u|--udev]}}

Print device events after being processed by `udev`:

🔍

yay

View Details ▼

Yet Another Yogurt: build and install packages from the Arch User Repository.
See also: `pacman`.

yay {{package_name|search_term}}

Interactively search and install packages from the repos and AUR:

yay

Synchronize and update all packages from the repos and AUR:

yay -S {{package}} --noconfirm

Install a new package from the repos and AUR and do not ask to confirm transactions:

// repository documentation