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 $ws9 output $output1 VGA-1
|
||||||
workspace $ws10 output $output1 VGA-1
|
workspace $ws10 output $output1 VGA-1
|
||||||
output $output1 {
|
output $output1 {
|
||||||
# we need to explicitly select the mode, otherwise
|
position 0 270
|
||||||
# sway will select 4k 30Hz
|
# we need to explicitly select the mode
|
||||||
position 0 0
|
mode 2560x1440@144Hz
|
||||||
mode 2560x1440@60Hz
|
|
||||||
adaptive_sync on
|
adaptive_sync on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,13 +111,10 @@ set $output2 "Ancor Communications Inc ASUS VH238 BALMIB547836"
|
||||||
workspace $ws1 output $output2 eDP-1
|
workspace $ws1 output $output2 eDP-1
|
||||||
workspace $ws2 output $output2 eDP-1
|
workspace $ws2 output $output2 eDP-1
|
||||||
output $output2 {
|
output $output2 {
|
||||||
position 2560 -270
|
position 2560 0
|
||||||
transform 270
|
transform 270
|
||||||
}
|
}
|
||||||
|
|
||||||
# Disable this output for consistency when running with discrete GPU enabled
|
|
||||||
output "DP-3" disable
|
|
||||||
|
|
||||||
### Input configuration
|
### Input configuration
|
||||||
# mod key
|
# mod key
|
||||||
set $mod Mod4
|
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
|
#!/bin/bash
|
||||||
|
|
||||||
systemctl --user stop gammastep
|
systemctl --user stop gammastep
|
||||||
|
sudo systemctl stop docker
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
systemctl --user start gammastep
|
systemctl --user start gammastep
|
||||||
|
sudo systemctl start docker
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue