From c247606baad6c07f34b8e975844366d45ee646d6 Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Thu, 24 Oct 2024 06:00:28 +0545 Subject: [PATCH] fix: fix spells (#362) --- customModules/utils.ts | 2 +- modules/bar/utils.ts | 2 +- modules/menus/shared/dropdown/index.ts | 2 +- package.json | 2 +- widget/settings/pages/config/bar/index.ts | 2 +- widget/settings/pages/theme/menus/media.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/customModules/utils.ts b/customModules/utils.ts index b68258e..16a546d 100644 --- a/customModules/utils.ts +++ b/customModules/utils.ts @@ -159,7 +159,7 @@ export const renderResourceLabel = (lblType: ResourceLabelType, rmUsg: GenericRe B: (size: number): number => size, }; - // Get them datas in proper GiB, MiB, KiB, TiB, or bytes + // Get the data in proper GiB, MiB, KiB, TiB, or bytes const totalSizeFormatted = autoFormatSize(total, round); // get the postfix: one of [TiB, GiB, MiB, KiB, B] const postfix = getPostfix(total); diff --git a/modules/bar/utils.ts b/modules/bar/utils.ts index f2f545a..e7b10f0 100644 --- a/modules/bar/utils.ts +++ b/modules/bar/utils.ts @@ -25,7 +25,7 @@ export const openMenu = async (clicked: Button, event: Gdk.Eve /* * NOTE: We have to make some adjustments so the menu pops up relatively * to the center of the button clicked. We don't want the menu to spawn - * offcenter dependending on which edge of the button you click on. + * offcenter depending on which edge of the button you click on. * ------------- * To fix this, we take the x coordinate of the click within the button's bounds. * If you click the left edge of a 100 width button, then the x axis will be 0 diff --git a/modules/menus/shared/dropdown/index.ts b/modules/menus/shared/dropdown/index.ts index d9496e7..7ae605f 100644 --- a/modules/menus/shared/dropdown/index.ts +++ b/modules/menus/shared/dropdown/index.ts @@ -8,7 +8,7 @@ import { globalEventBoxes } from 'globals/dropdown'; const { location } = options.theme.bar; // NOTE: We make the window visible for 2 seconds (on startup) so the child -// elements can allocat their proper dimensions. +// elements can allocate their proper dimensions. // Otherwise the width that we rely on for menu positioning is set improperly // for the first time we open a menu of each type. const initRender = Variable(true); diff --git a/package.json b/package.json index a617f97..a44b92b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hyprpanel", "version": "1.0.0", - "description": "A customizble panel built for Hyprland.", + "description": "A customizable panel built for Hyprland.", "main": "config.js", "directories": { "lib": "lib" diff --git a/widget/settings/pages/config/bar/index.ts b/widget/settings/pages/config/bar/index.ts index f713739..921f475 100644 --- a/widget/settings/pages/config/bar/index.ts +++ b/widget/settings/pages/config/bar/index.ts @@ -283,7 +283,7 @@ export const BarSettings = (): Scrollable => { title: 'Monitor Specific', subtitle: 'Only workspaces applicable to the monitor will be displayed.\n' + - "Works in conjuction with 'Total Workspaces'.", + "Works in conjunction with 'Total Workspaces'.", type: 'boolean', }), Option({ diff --git a/widget/settings/pages/theme/menus/media.ts b/widget/settings/pages/theme/menus/media.ts index 6058cd9..2081a90 100644 --- a/widget/settings/pages/theme/menus/media.ts +++ b/widget/settings/pages/theme/menus/media.ts @@ -73,7 +73,7 @@ export const MediaMenuTheme = (): Scrollable => { }), Option({ opt: options.theme.bar.menus.menu.media.slider.backgroundhover, - title: 'Backround (Hover)', + title: 'Background (Hover)', type: 'color', }), Option({ opt: options.theme.bar.menus.menu.media.slider.puck, title: 'Puck', type: 'color' }),