mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-20 15:40:35 +00:00
fix(deck): Add KDE-specific fractional scaling option
This commit is contained in:
parent
f4b0baa3c5
commit
d62cb24ae1
@ -54,6 +54,10 @@ if [[ "${XDG_SESSION_TYPE}" = "wayland" ]]; then
|
||||
kscreen-doctor output.eDP.scale.1 \
|
||||
|| kscreen-doctor output.eDP-1.scale.1 \
|
||||
|| true
|
||||
elif /usr/libexec/hwsupport/needs-150-scale; then
|
||||
kscreen-doctor output.eDP.scale.1.5 \
|
||||
|| kscreen-doctor output.eDP-1.scale.1.5 \
|
||||
|| true
|
||||
elif /usr/libexec/hwsupport/needs-200-scale; then
|
||||
kscreen-doctor output.eDP.scale.2 \
|
||||
|| kscreen-doctor output.eDP-1.scale.2 \
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Steam Deck
|
||||
if /usr/libexec/hwsupport/valve-hardware || [[ ":ROG Ally RC71L:ROG Ally X RC72LA:G1618-04:G1617-01:G1619-05:AIR Plus:AIR 1S:AIR 1S Limited:AIR:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:AOKZOE A1 Pro:G1619-04:Win600:Loki Max:Loki Zero:Loki MiniPro:V3:ONEXPLAYER F1:ONEXPLAYER F1L:ONEXPLAYER F1 EVA-01:" =~ ":$SYS_ID:" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
8
system_files/desktop/shared/usr/libexec/hwsupport/needs-150-scale
Executable file
8
system_files/desktop/shared/usr/libexec/hwsupport/needs-150-scale
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# KDE Specific fractional scaling
|
||||
if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Steam Deck
|
||||
if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user