Skip to content
This repository was archived by the owner on Aug 22, 2026. It is now read-only.
RitzDaCatPublic archive

About

Scripts for steamdeck-ui for quality of life or randomness

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

SteamDeck UI Scripts

This repository contains a collection of Bash scripts designed for use with streamdeck-ui on Linux. These scripts provide quality-of-life improvements and other utilities to enhance your Stream Deck experience.

Note

These scripts have been tested on CachyOS (Arch Linux). Your setup may function differently depending on your distribution and audio configuration.

Scripts

audio_swap.sh

Description:
Toggles your audio output (PulseAudio/PipeWire sink) between two configured devices, such as a Gaming Headset and Speakers. It also sends a desktop notification indicating which device is currently active.

Configuration:
Before using audio_swap.sh, you must edit the file to match your specific audio devices.

  1. Open a terminal and run pactl list short sinks to find the names of your audio devices.
  2. Edit audio_swap.sh and update the following variables with your device names:
    HEADSET="your_headset_sink_name"
    SPEAKERS="your_speakers_sink_name"

Usage:
Executing the script will switch the default audio sink to the other device (if Headset is active, it switches to Speakers, and vice-versa) and move all currently playing audio streams to the new device.

lock_screen.sh

Description: Instantly locks your session. This uses loginctl lock-session, which is compatible with KDE Plasma, GNOME, and most other modern Linux desktop environments.

Usage: Assign this script to a button to define a dedicated "Lock" button. Useful for quickly securing your PC when walking away.


mic_toggle.sh

Description: Toggles the mute status of your default microphone. It sends a notification confirming whether the mic is "Muted" or "Unmuted".

Usage: Great for global mute control during calls or gaming.

dnd_toggle.sh

Description: Toggles "Do Not Disturb" mode on KDE Plasma. Requires qdbus (usually installed by default on KDE distros).

Usage: Silences notifications instantly.

lizard.sh

Description: Plays a custom sound effect (e.g., "Lizard") using paplay.

Configuration: Edit the script to point to the actual location of your sound file (default: /home/ritz/Music/lizard.mp3).

Usage: Funny soundboard button.


How to Use with StreamDeck UI

Follow these steps to assign a script to a button on your Stream Deck:

  1. Prepare the Script: Ensure the script is executable. Open a terminal in the folder containing the scripts and run:

    chmod +x audio_swap.sh
  2. Open StreamDeck UI: Launch the streamdeck-ui application.

  3. Assign the Command:

    • Select the button you want to use.
    • In the Command field, enter the full path to the script. For example:
      /home/ritz/Documents/Repo/steamdeck-ui-scripts/audio_swap.sh
      (Note: Replace /home/ritz/... with the actual path to your repository)
  4. Customize:

    • Label: Give the button a name like "Toggle Audio".
    • Icon: You can drag and drop an image onto the button preview to set a custom icon.
  5. Test: Press the button on your Stream Deck (or click "Simulate Press" in the UI if supported) to verify it works. You should see a notification on your desktop confirming the action.

About

Scripts for steamdeck-ui for quality of life or randomness

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages