Add fix-gamepad.service

This commit is contained in:
askiiart 2024-03-18 20:53:52 -05:00
parent ce7abeb0e7
commit 4821d5b5e9
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
4 changed files with 20 additions and 1 deletions

View file

@ -79,6 +79,12 @@ if [ ! -e ~/.themes/$variant ] && ! command_exists "nixos-rebuild"; then
echo -e "[Settings]\n${variant}" > ~/.config/gtk-3.0/settings.ini
fi
# fix-gamepad.service
if ! command_exists "nixos-rebuild" && command_exists "systemctl"; then
sudo cp $GIT_DIR/systemd/fix-gamepad.service /etc/systemd/system/
sudo systemctl enable --now fix-gamepad.service
fi
# VS code
mkdir -p $HOME/.config/Code/User/
mkdir -p $HOME/.vscode/