♻️ refactor(launcher): improve code structure and plugin functionality
This commit is contained in:
1 parent
4822693298
commit
5495233667
31 files changed
+536
-618
No files matched your search
+5
-3
@@ -1,13 +1,12 @@
|
||||
import json
|
||||
|
||||
import config.data as data
|
||||
from fabric.hyprland.widgets import get_hyprland_connection
|
||||
from fabric.widgets.box import Box
|
||||
from fabric.widgets.eventbox import EventBox
|
||||
from fabric.widgets.image import Image
|
||||
from fabric.widgets.label import Label
|
||||
from gi.repository import Gdk
|
||||
|
||||
import config.data as data
|
||||
from utils.icon_resolver import IconResolver
|
||||
from utils.wayland import WaylandWindow as Window
|
||||
|
||||
@@ -102,7 +101,10 @@ class ApplicationSwitcher(Window):
|
||||
if c.get("hidden", False):
|
||||
continue
|
||||
# Skip clients in special workspaces if the setting is enabled
|
||||
if data.DOCK_HIDE_SPECIAL_WORKSPACE_APPS and self._is_special_workspace(c):
|
||||
if (
|
||||
data.DOCK_HIDE_SPECIAL_WORKSPACE_APPS
|
||||
and self._is_special_workspace(c)
|
||||
):
|
||||
continue
|
||||
filtered_windows.append(c)
|
||||
|
||||
|
||||
Reference in new issue
Block a user