diff --git a/Bar/Modules/Taskbar.qml b/Bar/Modules/Taskbar.qml index afdb653..ec87073 100644 --- a/Bar/Modules/Taskbar.qml +++ b/Bar/Modules/Taskbar.qml @@ -11,12 +11,12 @@ Item { width: runningAppsRow.width height: Settings.settings.taskbarIconSize - function getAppIcon(toplevel) { + function getAppIcon(toplevel: Toplevel): string { if (!toplevel) return ""; // Try different icon resolution strategies - var icon = Quickshell.iconPath(toplevel.appId?.toLowerCase(), true); + let icon = Quickshell.iconPath(toplevel.appId?.toLowerCase(), true); if (!icon) { icon = Quickshell.iconPath(toplevel.appId, true); } @@ -29,7 +29,6 @@ Item { if (!icon) { icon = Quickshell.iconPath("application-x-executable", true); } - console.log(icon) return icon || ""; } diff --git a/README.md b/README.md index d9adbf3..1c2aed4 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,12 @@ qs ipc call globalIPC toggleLock You can keybind it however you want in your niri setup. + +### Toggle Fullscreen: + +``` +qs ipc call globalIPC toggleFullscreen +``` ---