🔧 chore(dock): add system tray and update tray visibility in DockComponents
This commit is contained in:
7 files changed
+377
-113
No files matched your search
@@ -51,6 +51,7 @@
|
||||
"dock_battery_visible": true,
|
||||
"dock_controls_visible": true,
|
||||
"dock_indicators_visible": true,
|
||||
"dock_tray_visible": true,
|
||||
"metrics_visible": {
|
||||
"cpu": true,
|
||||
"ram": true,
|
||||
|
||||
+3
-1
@@ -7,7 +7,7 @@ import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
|
||||
APP_NAME = "modus"
|
||||
APP_NAME = "modusv1"
|
||||
APP_NAME_CAP = "Modus"
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ if os.path.exists(CONFIG_FILE):
|
||||
"date_time": config.get("dock_date_time_visible", True),
|
||||
"controls": config.get("dock_controls_visible", True),
|
||||
"indicators": config.get("dock_indicators_visible", True),
|
||||
"tray": config.get("dock_tray_visible", True),
|
||||
}
|
||||
|
||||
METRICS_DISKS = config.get("metrics_disks", ["/"])
|
||||
@@ -96,6 +97,7 @@ else:
|
||||
"date_time": True,
|
||||
"controls": True,
|
||||
"indicators": True,
|
||||
"tray": True,
|
||||
}
|
||||
|
||||
METRICS_DISKS = ["/"]
|
||||
|
||||
+76
-2
@@ -1,3 +1,77 @@
|
||||
{
|
||||
"pinned_apps": []
|
||||
}
|
||||
2
|
||||
"pinned_apps": [
|
||||
{
|
||||
"name": "Advanced Network Configuration",
|
||||
"display_name": "Advanced Network Configuration",
|
||||
"executable": "nm-connection-editor",
|
||||
"command_line": "nm-connection-editor",
|
||||
"icon_name": "preferences-system-network"
|
||||
},
|
||||
{
|
||||
"name": "Avahi SSH Server Browser",
|
||||
"display_name": "Avahi SSH Server Browser",
|
||||
"executable": "/usr/bin/bssh",
|
||||
"command_line": "/usr/bin/bssh",
|
||||
"icon_name": "network-wired"
|
||||
},
|
||||
{
|
||||
"name": "Avahi VNC Server Browser",
|
||||
"display_name": "Avahi VNC Server Browser",
|
||||
"executable": "/usr/bin/bvnc",
|
||||
"command_line": "/usr/bin/bvnc",
|
||||
"icon_name": "network-wired"
|
||||
},
|
||||
{
|
||||
"name": "Avahi Zeroconf Browser",
|
||||
"display_name": "Avahi Zeroconf Browser",
|
||||
"executable": "/usr/bin/avahi-discover",
|
||||
"command_line": "/usr/bin/avahi-discover",
|
||||
"icon_name": "network-wired"
|
||||
},
|
||||
{
|
||||
"name": "Bluetooth Manager",
|
||||
"display_name": "Bluetooth Manager",
|
||||
"executable": "blueman-manager",
|
||||
"command_line": "blueman-manager",
|
||||
"icon_name": "blueman"
|
||||
},
|
||||
{
|
||||
"name": "Brave",
|
||||
"display_name": "Brave",
|
||||
"window_class": "brave-browser",
|
||||
"executable": "brave",
|
||||
"command_line": "brave %U",
|
||||
"icon_name": "brave-desktop"
|
||||
},
|
||||
{
|
||||
"name": "btop++",
|
||||
"display_name": "btop++",
|
||||
"executable": "btop",
|
||||
"command_line": "btop",
|
||||
"icon_name": "btop"
|
||||
},
|
||||
{
|
||||
"name": "Bulk Rename",
|
||||
"display_name": "Bulk Rename",
|
||||
"executable": "thunar",
|
||||
"command_line": "thunar --bulk-rename %F",
|
||||
"icon_name": "org.xfce.thunar"
|
||||
},
|
||||
{
|
||||
"name": "CMake",
|
||||
"display_name": "CMake",
|
||||
"executable": "cmake-gui",
|
||||
"command_line": "cmake-gui %f",
|
||||
"icon_name": "CMakeSetup"
|
||||
},
|
||||
{
|
||||
"name": "Cursor",
|
||||
"display_name": "Cursor",
|
||||
"window_class": "cursor",
|
||||
"executable": "/usr/bin/cursor",
|
||||
"command_line": "/usr/bin/cursor --no-sandbox %U",
|
||||
"icon_name": "cursor"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user