move picker to main panelwindow to reduce vram usage
This commit is contained in:
@@ -11,6 +11,18 @@ Scope {
|
||||
readonly property bool hasFullscreen: Hypr.focusedWorkspace?.toplevels.values.some(t => t.lastIpcObject.fullscreen === 2) ?? false
|
||||
property bool launcherInterrupted
|
||||
|
||||
CustomShortcut {
|
||||
description: "Open screenshot"
|
||||
name: "screenshot"
|
||||
|
||||
onPressed: {
|
||||
const states = ShellState.allStates();
|
||||
for (const s of states) {
|
||||
s.screenshot = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
description: "Toggle launcher"
|
||||
name: "toggle-launcher"
|
||||
@@ -26,6 +38,7 @@ Scope {
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
description: "Toggle drawing"
|
||||
name: "toggle-drawing"
|
||||
|
||||
onPressed: {
|
||||
@@ -35,6 +48,7 @@ Scope {
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
description: "Toggle sidebar"
|
||||
name: "toggle-nc"
|
||||
|
||||
onPressed: {
|
||||
@@ -44,6 +58,7 @@ Scope {
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
description: "Show On-Screen-Display"
|
||||
name: "show-osd"
|
||||
|
||||
onPressed: {
|
||||
@@ -53,6 +68,7 @@ Scope {
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
description: "Toggle settings"
|
||||
name: "toggle-settings"
|
||||
|
||||
onPressed: {
|
||||
@@ -62,6 +78,7 @@ Scope {
|
||||
}
|
||||
|
||||
CustomShortcut {
|
||||
description: "Toggle clipboard"
|
||||
name: "toggle-clipboard"
|
||||
|
||||
onPressed: {
|
||||
|
||||
Reference in New Issue
Block a user