mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
feat: add scroll compositor support (#959)
* added scroll support * import QuickShell.i3 * update scroll provider registration logic * improve scroll support for workspace switcher * update title for scroll keybinds * add scroll to dms-greeter * fix: formatting & sway keybind provider * readme update --------- Co-authored-by: bbedward <bbedward@gmail.com>
This commit is contained in:
@@ -110,9 +110,9 @@ Singleton {
|
||||
|
||||
onExited: function (exitCode) {
|
||||
if (exitCode === 0) {
|
||||
nvidiaCommand = "prime-run"
|
||||
nvidiaCommand = "prime-run";
|
||||
} else {
|
||||
detectNvidiaOffloadProcess.running = true
|
||||
detectNvidiaOffloadProcess.running = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -124,7 +124,7 @@ Singleton {
|
||||
|
||||
onExited: function (exitCode) {
|
||||
if (exitCode === 0) {
|
||||
nvidiaCommand = "nvidia-offload"
|
||||
nvidiaCommand = "nvidia-offload";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -243,7 +243,7 @@ Singleton {
|
||||
return;
|
||||
}
|
||||
|
||||
if (CompositorService.isSway) {
|
||||
if (CompositorService.isSway || CompositorService.isScroll) {
|
||||
try {
|
||||
I3.dispatch("exit");
|
||||
} catch (_) {}
|
||||
|
||||
Reference in New Issue
Block a user