Fix NerdFont icon alignments. (#143)

* WIP

* Fix nerdfont icon alignments

* Ship needed fonts

* Remove italicised fonts

* Update readme and separate OSD settings into their own category.

* Dashboard styling updates

---------

Co-authored-by: matavach <erik@matijevich.org>
This commit is contained in:
Jas Singh
2024-08-18 00:32:22 -07:00
committed by GitHub
parent a1beac4c05
commit b200b6fadb
40 changed files with 263 additions and 150 deletions

View File

@@ -2,13 +2,13 @@ const hyprland = await Service.import("hyprland");
import { WorkspaceRule, WorkspaceMap } from "lib/types/workspace";
import options from "options";
const {
workspaces,
const {
workspaces,
monitorSpecific,
workspaceMask,
reverse_scroll,
scroll_speed,
spacing
workspaceMask,
reverse_scroll,
scroll_speed,
spacing
} = options.bar.workspaces;
function range(length: number, start = 1) {
@@ -188,7 +188,7 @@ const Workspaces = (monitor = -1, ws = 8) => {
],
(show_icons, show_numbered, numbered_active_indicator) => {
if (show_icons) {
return `workspace-icon`;
return `workspace-icon txt-icon bar`;
}
if (show_numbered) {
const numActiveInd = hyprland.active.workspace.id === i
@@ -270,4 +270,4 @@ const Workspaces = (monitor = -1, ws = 8) => {
}
};
};
export { Workspaces };
export { Workspaces };