Skip to content

kavishgr/steamdeck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Deck

Collection of scripts for my Steam Deck

Decky Loader Plugins

Polkit Rules

Reasons using polkit:

  • Custom sudoers file is not being validated. Need to investigate.
  • sudo doesn't work with Bash Shortcuts.

Add rules in /etc/polkit-1/rules.d/

Start and stop sshd without password

49-sshd-nopassword.rules - Able to run systemctl start/stop sshd without a password.

Aliases in .bashrc and .zshrc:

alias start-ssh='systemctl start sshd ; wp-on'
alias stop-ssh='systemctl stop sshd ; wp-off'

Shortcuts in Bash Shortcuts:

start-ssh -> systemctl start sshd
stop-ssh -> systemctl stop sshd

Turn on/off wifi power save

50-wifi-power-management.rules - Add wifi-set-power-save.sh in $HOME/.tools. Run the script with pkexec:

pkexec $HOME/.tools/wifi-set-power-save.sh on/off

Aliases in .bashrc and .zshrc:

alias wp-on='pkexec $HOME/.tools/wifi-set-power-save.sh on'
alias wp-off='pkexec $HOME/.tools/wifi-set-power-save.sh off'

Shortcuts in Bash Shortcuts:

wp-on -> pkexec $HOME/.tools/wifi-set-power-save.sh on
wp-off -> pkexec $HOME/.tools/wifi-set-power-save.sh off

Grub

About

Collection of scripts for my Steam Deck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages