This commit is contained in:
mr. m 2025-06-23 17:13:58 +05:00 committed by GitHub
commit a6e4dd5f9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 112 additions and 0 deletions

View file

@ -0,0 +1,44 @@
@media (-moz-bool-pref: "uc.workspace-tweaks.top-pad-rm") {
#titlebar {
margin-top: calc(var(--zen-element-separation) * 1) !important;
}
#zen-sidebar-top-buttons {
display: none !important;
}
}
@media (-moz-bool-pref: "uc.workspace-tweaks.top-center") {
#zen-current-workspace-indicator-container .zen-current-workspace-indicator {
justify-content: center;
}
}
@media (-moz-bool-pref: "uc.workspace-tweaks.bottom-pad") {
#zen-sidebar-bottom-buttons {
padding-inline: var(--zen-element-separation) !important;
padding-block: calc(var(--zen-element-separation) / 2) !important;
margin-top: calc(var(--zen-element-separation)) !important;
& .zen-workspaces-button {
--arrowpanel-menuitem-padding-inline: var(
--arrowpanel-menuitem-padding-block
) !important;
}
}
}
@media (-moz-bool-pref: "uc.workspace-tweaks.bottom-bg") {
#zen-sidebar-bottom-buttons {
border-radius: var(--zen-border-radius);
background-color: var(--zen-toolbar-element-bg) !important;
}
}
@media (-moz-bool-pref: "uc.workspace-tweaks.top-bg") {
#zen-current-workspace-indicator-container .zen-current-workspace-indicator {
border-radius: var(--zen-border-radius);
background-color: var(--zen-toolbar-element-bg) !important;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -0,0 +1,38 @@
[
{
"property": "zen.workspaces.show-workspace-indicator",
"label": "Shows the workspace-indicator above Pins.",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.workspace-tweaks.top-pad-rm",
"label": "Remove padding from sidebar start. Looks best with Bottom Essentials.",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.workspace-tweaks.top-center",
"label": "Center top workspace-indicator label.",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.workspace-tweaks.bottom-pad",
"label": "Add padding to the bottom workspace icons",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.workspace-tweaks.top-bg",
"label": "Add a background to the top workspace-indicator label.",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.workspace-tweaks.bottom-bg",
"label": "Add a background to the bottom workspace-indicator label.",
"type": "checkbox",
"disabledOn": []
}
]

View file

@ -0,0 +1,15 @@
# Workspace Tweaks
Change spacing, placement and backgrounds of the top and bottom workspace indicators.
![Screenshot of customized workspace indicators](https://raw.githubusercontent.com/MihkelMK/zen-mods/refs/heads/main/workspace_tweaks/image.png)
## Options
- Show the workspace-indicator above Pins.
- Remove padding from sidebar start (Looks best with Bottom Essentials).
- Center top workspace-indicator label.
- Add padding to the bottom workspace icons
- Add a background to the top workspace-indicator label.
- Add a background to the bottom workspace-indicator label.

View file

@ -0,0 +1,15 @@
{
"id": "e6f56814-6209-413f-9ca3-ea4f26848114",
"name": "Workspace Tweaks",
"description": "Change spacing, placement and backgrounds of the top and bottom workspace indicators.",
"homepage": "https://github.com/MihkelMK/zen-mods/tree/main/workspace_tweaks",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/image.png",
"author": "MihkelMK",
"version": "1.0.0",
"tags": [],
"createdAt": "2025-03-07",
"updatedAt": "2025-03-07",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e6f56814-6209-413f-9ca3-ea4f26848114/preferences.json"
}