made script for steam on xwayland satelite
This commit is contained in:
parent
fc1482494f
commit
1a4e7fd3f6
6 changed files with 161 additions and 18 deletions
|
@ -72,7 +72,7 @@ input {
|
|||
// Find more information on the wiki:
|
||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
|
||||
// Remember to uncomment the node by removing "/-"!
|
||||
/-output "eDP-1" {
|
||||
output "DP-1" {
|
||||
// Uncomment this line to disable this output.
|
||||
// off
|
||||
|
||||
|
@ -82,10 +82,12 @@ input {
|
|||
// for the resolution.
|
||||
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
|
||||
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
|
||||
mode "1920x1080@120.030"
|
||||
mode "3440x1440@99.982"
|
||||
|
||||
|
||||
|
||||
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
|
||||
scale 2
|
||||
scale 1
|
||||
|
||||
// Transform allows to rotate the output counter-clockwise, valid values are:
|
||||
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
|
||||
|
@ -100,15 +102,18 @@ input {
|
|||
// so to put another output directly adjacent to it on the right, set its x to 1920.
|
||||
// If the position is unset or results in an overlap, the output is instead placed
|
||||
// automatically.
|
||||
position x=1280 y=0
|
||||
position x=1440 y=0
|
||||
}
|
||||
output "DP-2" {
|
||||
mode "1920x1080@71.910"
|
||||
scale 1
|
||||
}
|
||||
|
||||
// Settings that influence how windows are positioned and sized.
|
||||
// Find more information on the wiki:
|
||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
|
||||
layout {
|
||||
// Set gaps around windows in logical pixels.
|
||||
gaps 16
|
||||
gaps 8
|
||||
|
||||
// When to center a column when changing focus, options are:
|
||||
// - "never", default behavior, focusing an off-screen column will keep at the left
|
||||
|
@ -591,4 +596,15 @@ binds {
|
|||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
Mod+Shift+P { power-off-monitors; }
|
||||
}
|
||||
|
||||
// Steam launcher that uses xwayland-satellite
|
||||
Mod+S hotkey-overlay-title="Launch Steam with XWayland Satellite" { spawn "steam-xwayland-satellite"; }
|
||||
}
|
||||
// Enable XWayland for X11 application compatibility (like Steam)
|
||||
// XWayland will automatically start when an X11 app needs it
|
||||
spawn-at-startup "xwayland-satellite"
|
||||
|
||||
environment {
|
||||
// Let xwayland-satellite manage DISPLAY dynamically
|
||||
DISPLAY ":1"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue