del: remove fullscrren, move responsibilty to hyprland or niri
This commit is contained in:
parent
f3652e7c82
commit
ef1274d42b
1 changed files with 0 additions and 17 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import Quickshell.Io
|
||||
import Quickshell.Wayland
|
||||
|
||||
IpcHandler {
|
||||
property var appLauncherPanel
|
||||
|
|
@ -7,22 +6,6 @@ IpcHandler {
|
|||
|
||||
target: "globalIPC"
|
||||
|
||||
// Toggle Fullscreen
|
||||
function toggleFullscreen(): void {
|
||||
console.log("[IPC] toggleFullscreen() called")
|
||||
if (ToplevelManager.activeToplevel) {
|
||||
if (ToplevelManager.activeToplevel.fullscreen) {
|
||||
// Exit fullscreen
|
||||
ToplevelManager.activeToplevel.fullscreen = false;
|
||||
} else {
|
||||
// Enter fullscreen
|
||||
ToplevelManager.activeToplevel.fullscreen = true;
|
||||
}
|
||||
} else {
|
||||
console.warn("[IPC] No active toplevel window to toggle fullscreen");
|
||||
}
|
||||
}
|
||||
|
||||
// Toggle Applauncher visibility
|
||||
function toggleLauncher(): void {
|
||||
if (!appLauncherPanel) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue