mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-28 14:05:21 -04:00
feat(HoverMode): implement hover popout & launcher functionality in all modes
- New Hover toggle found in DankBar Settings - New Hover to Reveal Launcher in FrameTab Settings
This commit is contained in:
@@ -26,6 +26,19 @@ DankPopout {
|
||||
open();
|
||||
}
|
||||
|
||||
function prepareForTrigger(triggerSource) {
|
||||
switch (triggerSource) {
|
||||
case "memory":
|
||||
DgopService.setSortBy("memory");
|
||||
break;
|
||||
case "cpu":
|
||||
case "cpu_temp":
|
||||
case "gpu_temp":
|
||||
DgopService.setSortBy("cpu");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
popupWidth: Math.round(Theme.fontSizeMedium * 46)
|
||||
popupHeight: Math.round(Theme.fontSizeMedium * 39)
|
||||
triggerWidth: 55
|
||||
|
||||
Reference in New Issue
Block a user