Skip to content

Commit a7622db

Browse files
committed
Rename macOS style to Default style
1 parent bf28c7f commit a7622db

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ The freshly compiled cursor theme will be located in the `dist/` folder.
4848

4949
The script has a few options described below:
5050

51-
| Option | Values | Description |
52-
| :----- | :-------------------------------------- | :------------------------------ |
53-
| `-p` | `unix`, `win32` | Build for BSD/Linux, or Windows |
54-
| `-t` | `dark`, `light` | Choose the variant to build |
55-
| `-s` | `macOS`, `Nord`, `Gruvbox`, `Palenight` | Choose the style to build |
56-
| `-d` | See DPIs | Set the max DPI to render |
51+
| Option | Values | Description |
52+
| :----- | :---------------------------------------- | :------------------------------ |
53+
| `-p` | `unix`, `win32` | Build for BSD/Linux, or Windows |
54+
| `-t` | `dark`, `light` | Choose the variant to build |
55+
| `-s` | `Default`, `Nord`, `Gruvbox`, `Palenight` | Choose the style to build |
56+
| `-d` | See DPIs | Set the max DPI to render |
5757

5858
<small>\*Note: building the win32 cursors from source is not currently supported, but it is on the roadmap.</small>
5959

build.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SRC=$PWD/src
77
DIST=$PWD/dist
88
VARIANTS=('dark' 'light')
99
PLATFORMS=('unix' 'win32')
10-
STYLES=('macOS' 'Nord' 'Gruvbox' 'Palenight')
10+
STYLES=('Default' 'Nord' 'Gruvbox' 'Palenight')
1111
BUILD_DIR=$PWD/_build
1212
SPECS="$SRC/config"
1313
ALIASES="$SRC/cursor-aliases"
@@ -163,11 +163,11 @@ function render {
163163
#
164164
# Args:
165165
# $1 = dark, light
166-
# $2 = macOS, Nord, Gruvbox, Palenight
166+
# $2 = Default, Nord, Gruvbox, Palenight
167167
#
168168
function assemble-unix {
169169
variant="$1"
170-
if [ "$2" != "macOS" ]; then
170+
if [ "$2" != "Default" ]; then
171171
_style=" ($2)"
172172
else
173173
_style=""
@@ -222,12 +222,12 @@ function assemble-unix {
222222
#
223223
# Args:
224224
# $1 = dark, light
225-
# $2 = macOS, Nord, Gruvbox, Palenight
225+
# $2 = Default, Nord, Gruvbox, Palenight
226226
# $3 = 2, 3, 4, 5, 6, 10
227227
#
228228
function assemble-win32 {
229229
variant="$1"
230-
if [ "$2" != "macOS" ]; then
230+
if [ "$2" != "Default" ]; then
231231
_style=" ($2)"
232232
else
233233
_style=""
@@ -335,7 +335,7 @@ done
335335
POSITIONAL_ARGS=()
336336
VARIANT="${VARIANTS[0]}" # Default = dark
337337
PLATFORM="${PLATFORMS[0]}" # Default = unix
338-
STYLE="${STYLES[0]}" # Default = macOS
338+
STYLE="${STYLES[0]}" # Default = Default
339339
MAX_DPI=${DPIS[1]} # Default = tv
340340
while [[ $# -gt 0 ]]; do
341341
opt="$1"

0 commit comments

Comments
 (0)