- Notifications
You must be signed in to change notification settings - Fork19
An opensource cursor theme inspired by Google.
License
ful1e5/Google_Cursor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An OpenSource cursor theme inspired by Google.
222428324048566472808896
- 16x16 - Small
- 24x24 - Regular
- 32x32 - Large
- 48x48 - Extra Large
- Base Color -
#4285F4
(Blue) - Outline Color -
#FFFFFF
(White)
- Base Color -
#000000
(Black) - Outline Color -
#FFFFFF
(White)
- Base Color -
#FFFFFF
(Black) - Outline Color -
#000000
(White)
- Base Color -
#FF0000
(Red) - Outline Color -
#FFFFFF
(White)
You can download lateststable
&development
releases fromRelease Page.
NoteIf you're having trouble with the packages please submit a request to the package maintainerbefore creating an issue.
Arch Linux/Manjaro users can install from theAURcurrently maintained by@yochananmarqos.Can be installed via Pamac (preinstalled in Manjaro), Paru or any otherAUR helper.
paru -S googledot-cursor-theme
Nix users can install from thepackage in nixpkgs (Maintained by@Henry-Hiles). Installation instructions can be found by clicking on the title of thenix package. The nix package is currentlyonly available in unstable.
Installation:
tar -xvf GoogleDot-Blue.tar.gz# extract `GoogleDot-Blue.tar.gz`mv GoogleDot-*~/.icons/# Install to local userssudo mv GoogleDot-* /usr/share/icons/# Install to all users
Uninstallation:
rm~/.icons/GoogleDot-*# Remove from local userssudo rm /usr/share/icons/GoogleDot-*# Remove from all users
Installation:
- Unzip
.zip
file - Open unziped directory in Explorer, andright click on
install.inf
. - Click 'Install' from the context menu, and authorize the modifications to your system.
- Open Control Panel > Personalization and Appearance > Change mouse pointers,and selectGoogle Cursors.
- Click 'Apply'.
Uninstallation:
Run theuninstall.bat
script packed with the.zip
archive
OR follow these steps:
- Go toRegistry Editor by typing the same in thestart search box.
- Expand
HKEY_CURRENT_USER
folder and expandControl Panel
folder. - Go to
Cursors
folder and click onSchemes
folder - all the available custom cursors that areinstalled will be listed here. - Right Click on the name of cursor file you want to uninstall; for eg.:Google Cursors andclick
Delete
. - Click 'yes' when prompted.
- Google Cursor build configuration and cursor hotspot settings are bundled in the
build.toml
file. - Check out the scripts section inpackage.json to see how we build the cursor theme,excluding the render scripts. They are useful for converting
.svg
files to.png
files. - yarn is optional, For building XCursors and Windows cursors from
.png
files or resizing themyou don't need that. If you want to develop/modify Google Cursor's colors, and bitmaps, or generate a pngfile from a svg, Then you can use yarn because bitmapper is written in TypeScript. - Since Google Cursor variants are designed similarly, they share the same hotspot settings so asingle configuration file
build.toml
is responsible for building all variants. Due to this, you will haveto change the following options inctgen
to build the appropriate variant:- -d: bitmaps directory
- -n: The name you want to give to the generated theme.
- -c: Theme comment.
- See
ctgen --help
for all available options.
- Installbuild prerequisites on your system
git clone https://github.com/ful1e5/Google_Cursor
cd Google_Cursor && yarn build
- SeeInstalling Google Cursor.
NoteBitmaps are already generated in the
bitmaps
directory andmanaged by the maintainer(do not edit them directly).
First make sure you installed thebuild prerequisites.Now that you have the dependencies, you can try build individual themes from bitmaps andcustomize sizes, target platform, and etc. with thectgen
CLI (packed withclickgen
).
Here are the default commands we used to build the Google Cursor's variants and packed them intoyarn build
:
ctgen build.toml -d'bitmaps/GoogleDot-Blue' -n'GoogleDot-Blue' -c'Blue cursor theme inspired on Google'ctgen build.toml -d'bitmaps/GoogleDot-Black' -n'GoogleDot-Black' -c'Black cursor theme inspired on Google'ctgen build.toml -d'bitmaps/GoogleDot-White' -n'GoogleDot-White' -c'White cursor theme inspired on Google'ctgen build.toml -d'bitmaps/GoogleDot-Red' -n'GoogleDot-Red' -c'Red cursor theme inspired on Google'
Afterwards, the themes can be found in thethemes
directory.
NoteYou can change the cursor size up to 200 because pngs are rendered with 200x200.If the cursor is resized by more than rendered png size, the final cursor will be blurred.
To build Windows cursor with size16
:
WarningWindows cursor supports only one size, if multiple sizes are given with
-s
the first size willbe considered in build.
ctgen build.toml -s 16 -p windows -d'bitmaps/GoogleDot-Blue' -n'GoogleDot-Blue' -c'Blue cursor theme inspired on Google with size 16'
You can also customize output directory with-o
option:
ctgen build.toml -s 16 -p windows -d'bitmaps/GoogleDot-Blue'-o'out' -n'GoogleDot-Blue' -c'Blue cursor theme inspired on Google with size 16'
To build XCursor with size16
:
ctgen build.toml -s 16 -p x11 -d'bitmaps/GoogleDot-Blue' -n'GoogleDot-Blue' -c'Blue cursor theme inspired on Google with size 16'
You can also assign multiple sizes toctgen
for XCursors build:
ctgen build.toml -s 16 24 32 -p x11 -d'bitmaps/GoogleDot-Blue' -n'GoogleDot-Blue' -c'Blue cursor theme inspired on Google with size 16'
To customize Google Cursor's color you have to install node dependencies withyarn install
command.After installing dependencies you can customize the colors vianpx cbmp
Node CLI App which packed withcbmp node package.
Here are the default commands we used for generating the Google Cursor's bitmaps and packed them intoyarn render
:
npx cbmp -d'svg' -n'GoogleDot-Blue' -bc'#4285F4' -oc'#FFFFFF'npx cbmp -d'svg' -n'GoogleDot-Black' -bc'#000000' -oc'#FFFFFF'npx cbmp -d'svg' -n'GoogleDot-White' -bc'#FFFFFF' -oc'#000000'npx cbmp -d'svg' -n'GoogleDot-Red' -bc'#FF0000' -oc'#FFFFFF'
Lets generate modern GoogleDot with green base color and black outline:
npx cbmp -d'svg' -n'GoogleDot-Hacker' -bc'#00FE00' -oc'#000000'
After rendering custom color you have to build cursor throughctgen
:
ctgen build.toml -d'bitmaps/GoogleDot-Hacker' -n'GoogleDot-Hacker' -c'Green and black GoogleDot cursors.'
Afterwards, Generated theme can be found in thethemes
directory.
npx cbmp -d'svg' -n'GoogleDot-Gruvbox' -bc'#282828' -oc'#EBDBB2'ctgen build.toml -d'bitmaps/GoogleDot-Gruvbox' -n'GoogleDot-Gruvbox' -c'Groovy GoogleDot cursors.'
npx cbmp -d'svg' -n'GoogleDot-Solarized-Dark' -bc'#002b36' -oc'#839496'ctgen build.toml -d'bitmaps/GoogleDot-Solarized-Dark' -n'GoogleDot-Solarized-Dark' -c'Solarized Dark GoogleDot cursors.'
npx cbmp -d'svg' -n'GoogleDot-Solarized-Light' -bc'#839496' -oc'#002b36'ctgen build.toml -d'bitmaps/GoogleDot-Solarized-Light' -n'GoogleDot-Solarized-Light' -c'Solarized Light GoogleDot cursors.'
npx cbmp -d'svg' -n'GoogleDot-Dracula' -bc'#282a36' -oc'#f8f8f2'ctgen build.toml -d'bitmaps/GoogleDot-Dracula' -n'GoogleDot-Dracula' -c'Dracula GoogleDot cursors.'
Bugs should be reportedhere on the Github issues page.
You can create aissue, I will help you.
CheckCONTRIBUTING.md, any suggestions for features and contributions to the continuing code masterelopment can be made via the issue tracker or code contributions via aFork
&Pull requests
.
About
An opensource cursor theme inspired by Google.