mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat: single user mode on NVIDIA PCs: SDDM autologin into the Plasma session, without the conversion
This commit is contained in:
1 parent
d6db4f6f2d
commit
d1373e28a6
8 files changed
+88
-18
No files matched your search
+2
-1
@@ -75,8 +75,9 @@ Item {
|
||||
var w = Object.assign({}, want);
|
||||
w[id] = !w[id];
|
||||
// The same rules as the terminal menu (toggle_component).
|
||||
var hasGaming = items.some(function (i) { return i.id === "gaming"; });
|
||||
if (id === "gaming" && !w.gaming) w.single = false;
|
||||
if (id === "single" && w.single) w.gaming = true;
|
||||
if (id === "single" && w.single && hasGaming) w.gaming = true;
|
||||
if (id === "nvidia") w.bigpicture = w.nvidia;
|
||||
if (id === "bigpicture" && w.bigpicture) w.nvidia = true;
|
||||
if (id === "machine") w.poweroff = w.machine;
|
||||
|
||||
Reference in new issue
Block a user