Added sunshine
This commit is contained in:
38
.config/sunshine/apps.json
Normal file
38
.config/sunshine/apps.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"apps": [
|
||||
{
|
||||
"auto-detach": true,
|
||||
"detached": [
|
||||
"setsid steam steam://open/bigpicture"
|
||||
],
|
||||
"exclude-global-prep-cmd": false,
|
||||
"exit-timeout": 5,
|
||||
"image-path": "steam.png",
|
||||
"name": " 1080p Steam Big Picture",
|
||||
"prep-cmd": [
|
||||
{
|
||||
"do": "sh /home/wholteza/.config/sunshine/do.sh",
|
||||
"undo": "sh /home/wholteza/.config/sunshine/undo.sh && setsid steam steam://close/bigpicture"
|
||||
}
|
||||
],
|
||||
"wait-all": true
|
||||
},
|
||||
{
|
||||
"auto-detach": true,
|
||||
"exclude-global-prep-cmd": false,
|
||||
"exit-timeout": 5,
|
||||
"image-path": "desktop.png",
|
||||
"name": "1080p Desktop",
|
||||
"prep-cmd": [
|
||||
{
|
||||
"do": "sh /home/wholteza/.config/sunshine/do.sh",
|
||||
"undo": "sh /home/wholteza/.config/sunshine/undo.sh"
|
||||
}
|
||||
],
|
||||
"wait-all": true
|
||||
}
|
||||
],
|
||||
"env": {
|
||||
"PATH": "$(PATH):$(HOME)/.local/bin"
|
||||
}
|
||||
}
|
||||
3
.config/sunshine/do.sh
Normal file
3
.config/sunshine/do.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
sh /home/wholteza/.config/screenlayout/arch-bepis-desktop-sunshine-sway.sh
|
||||
swaymsg workspace "5: Games"
|
||||
1
.config/sunshine/sunshine.conf
Normal file
1
.config/sunshine/sunshine.conf
Normal file
@@ -0,0 +1 @@
|
||||
key_rightalt_to_key_win = enabled
|
||||
4
.config/sunshine/undo.sh
Normal file
4
.config/sunshine/undo.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
sh /home/wholteza/.config/screenlayout/arch-bepis-desktop-sway.sh
|
||||
pidof steam | xargs kill
|
||||
|
||||
Reference in New Issue
Block a user