looking-glass: Add config and sway tuning

This commit is contained in:
histalek 2022-08-05 18:59:01 +02:00
parent 1fe89d1a11
commit 50bfe1371d
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03
3 changed files with 43 additions and 1 deletions

View file

@ -0,0 +1,38 @@
; Ref.: https://looking-glass.io/docs/B5.0.1/install/#full-command-line-options
[app]
renderer=auto
[win]
title=Looking Glass (client)
autoResize=yes
allowResize=yes
keepAspect=yes
forceAspect=yes
borderless=no
fullScreen=yes
ignoreQuit=yes
noScreensaver=yes
jitRender=yes
showFPS=no
[input]
grabKeyboard=yes
grabKeyboardOnFocus=no
rawMouse=yes
mouseSmoothing=no
ignoreWindowsKeys=no
[spice]
enable=yes
[egl]
vsync=no
[opengl]
vsync=no
[wayland]
warpSupport=yes
fractionScale=yes

View file

@ -10,13 +10,13 @@ assign [app_id="^brave-browser$"] $ws2
assign [app_id="^discord$"] $wsF7 assign [app_id="^discord$"] $wsF7
assign [app_id="^Element$"] $wsF2 assign [app_id="^Element$"] $wsF2
assign [app_id="^evolution$"] $wsF5 assign [app_id="^evolution$"] $wsF5
assign [app_id="^looking-glass-client$"] $wsF12
assign [app_id="^Signal$"] $wsF3 assign [app_id="^Signal$"] $wsF3
assign [app_id="^teamspeak"] $wsF6 assign [app_id="^teamspeak"] $wsF6
assign [app_id="^thunderbird$"] $wsF1 assign [app_id="^thunderbird$"] $wsF1
assign [app_id="^virt-manager$"] $ws1 assign [app_id="^virt-manager$"] $ws1
assign [class="^discord$"] $wsF7 assign [class="^discord$"] $wsF7
assign [class="^Signal$"] $wsF3
assign [class="^TeamSpeak"] $wsF6 assign [class="^TeamSpeak"] $wsF6
# ============================= # # ============================= #

View file

@ -21,5 +21,9 @@ for_window {
[app_id="^org.keepassxc.KeePassXC$"] floating enable [app_id="^org.keepassxc.KeePassXC$"] floating enable
[app_id="mpv"] inhibit_idle visible; border none; max_render_time off [app_id="mpv"] inhibit_idle visible; border none; max_render_time off
# Looking Glass latency tuning. Ref.: https://looking-glass.io/wiki/Wayland_latency_tuning
[app_id="^looking-glass-client$"] max_render_time 3
[class="Steam"] max_render_time off [class="Steam"] max_render_time off
} }