add sunshine
This commit is contained in:
parent
19b47a2ff7
commit
2763057d77
|
@ -101,10 +101,9 @@ workspace $ws8 output $output1 VGA-1
|
|||
workspace $ws9 output $output1 VGA-1
|
||||
workspace $ws10 output $output1 VGA-1
|
||||
output $output1 {
|
||||
# we need to explicitly select the mode, otherwise
|
||||
# sway will select 4k 30Hz
|
||||
position 0 0
|
||||
mode 2560x1440@60Hz
|
||||
position 0 270
|
||||
# we need to explicitly select the mode
|
||||
mode 2560x1440@144Hz
|
||||
adaptive_sync on
|
||||
}
|
||||
|
||||
|
@ -112,13 +111,10 @@ set $output2 "Ancor Communications Inc ASUS VH238 BALMIB547836"
|
|||
workspace $ws1 output $output2 eDP-1
|
||||
workspace $ws2 output $output2 eDP-1
|
||||
output $output2 {
|
||||
position 2560 -270
|
||||
position 2560 0
|
||||
transform 270
|
||||
}
|
||||
|
||||
# Disable this output for consistency when running with discrete GPU enabled
|
||||
output "DP-3" disable
|
||||
|
||||
### Input configuration
|
||||
# mod key
|
||||
set $mod Mod4
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/modprobed-db.service
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/mpd.service
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/systemd/user/pipewire-media-session.service
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Sunshine is a self-hosted game stream host for Moonlight.
|
||||
StartLimitIntervalSec=500
|
||||
StartLimitBurst=5
|
||||
PartOf=graphical-session.target
|
||||
Wants=sway-session.target
|
||||
After=sway-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/sunshine
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
|
@ -0,0 +1 @@
|
|||
/home/marchambault/.config/systemd/user/sunshine.service
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
systemctl --user stop gammastep
|
||||
sudo systemctl stop docker
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
systemctl --user start gammastep
|
||||
sudo systemctl start docker
|
||||
|
||||
|
|
Loading…
Reference in New Issue