Compare commits

...

40 Commits

Author SHA1 Message Date
Dmitry Porunov
801555b61f Fix path in PKGBUILD, remove unneeded lines in .gitlab-ci.yml 2020-06-24 20:31:47 +03:00
Dmitry Porunov
a6de703d44 Fuck camelCase, fix URLs 2020-06-24 20:25:30 +03:00
Dmitry Porunov
e7d1355dc1 Resolve merge conflict 2020-06-24 20:07:29 +03:00
Dmitry Porunov
45155a96cd Merge 2020-05-03 08:29:59 +03:00
Dmitry Porunov
9022d5824a Fix preview link 2020-05-03 08:28:44 +03:00
Dmitry Porunov
0852b26798 Fix instructions 2019-12-02 22:28:21 +04:00
Dmitry Porunov
3a12078508 Fix instructions 2019-12-02 22:20:22 +04:00
Dmitry Porunov
7b0249a14d Fix links 2019-12-02 22:19:12 +04:00
Dmitry Porunov
c618acd9c9 Update preview link in README.md 2019-11-13 04:58:12 +04:00
Dmitry Porunov
e4c0b458cb Remove PKGBUILD for git version 2019-11-05 03:16:51 +04:00
Dmitry Porunov
1902ec6163 Update .gitlab-ci.yml 2019-11-01 05:23:35 +04:00
Dmitry Porunov
24267a06f5 Update link to preview 2019-11-01 05:13:30 +04:00
Dmitry Porunov
c438e949e3 Autoupdate and push PKGBUILD to AUR with each new release 2019-11-01 05:01:18 +04:00
Dmitry Porunov
8877137026 Make script enter passphrase 2019-11-01 05:01:18 +04:00
Dmitry Porunov
cfb6b6cf86 Add debug echo
Debugging

Debugging

Another try
2019-11-01 05:01:17 +04:00
Dmitry Porunov
dbbc00beaa Use echo instead of cat for variable 2019-11-01 05:01:17 +04:00
Dmitry Porunov
14a371118c Fix source url
What's this?

Fix .gitlab-ci.yml

Fix .gitlab-ci.yml URL_SOURCE

Fix .gitlab-ci.yml
2019-11-01 05:01:14 +04:00
Dmitry Porunov
cbd402db9b Autoupdate and push PKGBUILD to AUR with each new release 2019-11-01 04:27:37 +04:00
Dmitry Porunov
4ad5ddec00 Make script enter passphrase 2019-11-01 04:15:35 +04:00
Dmitry Porunov
faf6a27366 Another try 2019-11-01 04:04:19 +04:00
Dmitry Porunov
f7dd5cf6d3 Debugging 2019-11-01 03:59:24 +04:00
Dmitry Porunov
06046d478d Debugging 2019-11-01 03:56:00 +04:00
Dmitry Porunov
1f7ce8b6fb Add debug echo 2019-11-01 03:51:37 +04:00
Dmitry Porunov
2a391702fd Use echo instead of cat for variable 2019-11-01 03:42:02 +04:00
Dmitry Porunov
3d3125f4fe Fix .gitlab-ci.yml 2019-11-01 03:33:44 +04:00
Dmitry Porunov
0aa4b0eba3 Fix .gitlab-ci.yml URL_SOURCE 2019-11-01 03:25:34 +04:00
Dmitry Porunov
94e06bb116 Fix .gitlab-ci.yml 2019-11-01 03:12:48 +04:00
Dmitry Porunov
c16ac69f0f What's this? 2019-11-01 03:11:06 +04:00
Dmitry Porunov
1adbf2c0f6 Fix source url 2019-11-01 03:10:05 +04:00
Dmitry Porunov
286a06ac1b Fix .gitlab-ci.yml 2019-11-01 02:18:59 +04:00
Dmitry Porunov
f1016e321e CI/CD test 2019-11-01 02:13:37 +04:00
Dmitry
74ab7d14ce Change repository structure 2019-10-31 22:45:05 +04:00
Dmitry
9599f80ff8 Make script stop when needed software is not installed (fixes #1) 2019-10-30 18:51:16 +04:00
Dmitry
31d3d98a51 Update README.md 2019-10-30 18:23:19 +04:00
Dmitry
8e436e5036 Change repository structure 2019-10-30 18:20:00 +04:00
Dmitry
8a599a3351 Add missing cursors 2019-10-30 12:10:59 +04:00
Dmitry
406d6145cc Minor cleanup of scripts 2019-10-28 18:28:32 +04:00
Dmitry
9e8d5c90e2 Update README.md 2019-10-28 16:37:04 +04:00
Dmitry
be3dc36490 Sort symlinks 2019-10-28 14:32:18 +04:00
Dmitry
cb3f60c85c Add some missing cursors 2019-10-28 14:19:47 +04:00
1429 changed files with 543 additions and 162 deletions

28
.gitignore vendored
View File

@@ -1,16 +1,12 @@
Black/x1/
Black/x1_25/
Black/x1_5/
BlackTiny/x1/
BlackTiny/x1_25/
BlackTiny/x1_5/
White/x1/
White/x1_25/
White/x1_5/
WhiteTiny/x1/
WhiteTiny/x1_25/
WhiteTiny/x1_5/
posy-black-tiny/
posy-black/
posy-white-tiny/
posy-white/
Main/Black/x1/
Main/Black/x1_25/
Main/Black/x1_5/
Main/BlackTiny/x1/
Main/BlackTiny/x1_25/
Main/BlackTiny/x1_5/
Main/White/x1/
Main/White/x1_25/
Main/White/x1_5/
Main/WhiteTiny/x1/
Main/WhiteTiny/x1_25/
Main/WhiteTiny/x1_5/

57
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,57 @@
stages:
- package
Update-AUR:
image: archlinux/base
stage: package
only:
- /^v(\d+\.)*\d+$/
script:
- cd ./pkg/aur
- _version=$(echo $CI_COMMIT_REF_NAME | cut -c 2-)
- echo "Pushing'v$_version'"
- sourceURL=https://gitlab.com/ykkzde/posy-cursors/-/archive/v$_version/cursorsPosy-v$_version.tar.gz?path=themes
- 'echo "Source: $sourceURL"'
- echo "Checking sha256sum checksums"
- 'sourceSHA=$(curl -sSL "$sourceURL" | sha256sum | cut -d" " -f1)'
# Update PKGBUILD version, source URL and sha256sum
- echo "Updating PKGBUILDS with release information..."
- sed "s/^pkgver=.*\$/pkgver=$_version/" -i posy-cursors/PKGBUILD
- sed "s/^source=(\"\(.*\)::.*\").*\$/source=(\"\1::$(echo $sourceURL | sed 's/\//\\\//g')\")/" -i posy-cursors/PKGBUILD
- sed "s/^sha256sums=.*\$/sha256sums=('$sourceSHA')/" -i posy-cursors/PKGBUILD
- echo "Installing Arch"
- pacman -Syu --noconfirm sudo base-devel openssh git openssl
# Makepkg and .SRCINFO
- cd posy-cursors/
- echo "makepkg"
- sudo -u nobody makepkg -c
- sudo -u nobody makepkg --printsrcinfo > .SRCINFO
- cd ..
# Configure SSH
- mkdir -p /root/.ssh
- cp ./aur.pub /root/.ssh/id_rsa.pub
- echo "${AUR_PRIVATE}" | base64 -d > /root/.ssh/id_rsa
- echo "Host aur.archlinux.org" >> /root/.ssh/config
- echo " IdentityFile /root/.ssh/aur" >> /root/.ssh/config
- echo " User aur" >> /root/.ssh/config
- chmod 600 /root/.ssh/{id_rsa*,config}
- eval `ssh-agent -s`
- echo -en "${SSH_PASSPHRASE}" | ssh-add /root/.ssh/id_rsa
- ssh-keyscan -H aur.archlinux.org >> /root/.ssh/known_hosts
- git config --global user.name "Dmitry Porunov"
- git config --global user.email "dmitry@ykkz.de"
# Clone, commit and push
- git clone ssh://aur@aur.archlinux.org/posy-cursors.git aur-posy-cursors
- cd aur-posy-cursors
- cp ../posy-cursors/{PKGBUILD,.SRCINFO} ./
- git add PKGBUILD .SRCINFO
- git commit -m "Release v$_version"
- git push
- cd ..

View File

@@ -1,9 +1,3 @@
## Preview
![Preview](https://cloud.auteiy.me/s/nqsGWPnKxT6KSEB/preview)
### Original
http://www.michieldb.nl/other/cursors/
##### Build script from here
@@ -21,11 +15,45 @@ https://github.com/keeferrourke/capitaine-cursors
### Manual
Run `bash create.sh`
##### Build
You'll need:
`imagemagick` for converting images to different sizes
`xcursorgen` for creating **Xcursor** files
Run `bash src/create.sh`
`cd themes`
Copy `posy-*` folders to `~/.icons`
##### Download
Download this [archive](https://gitlab.com/ykkzde/posy-cursors/-/archive/master/posy-cursors-master.tar.gz?path=themes)
Extract it
`cd posy-cursors-master-themes/themes`
Copy `posy-*` folders to `~/.icons`
---
#### After installation you can preview some of the cursors in action here
https://codepen.io/chriscoyier/pen/uCwfB
### Special Thanks
##### To [Keefer Rourke](https://github.com/keeferrourke) for his [Capitaine Cursors](https://github.com/keeferrourke/capitaine-cursors) theme, from which I took scripts whole repository structure.
##### To [Patrick Gordon](https://github.com/paddygord) for creating [ani2 ico converter](https://github.com/paddygord/cursor-converter/) from Windows's formats
##### To FisHlaBsoMAN for creating [localemouse](https://bitbucket.org/group-of-coders/localemouse/src/master/) software that check current cursor in use.

View File

@@ -1,49 +0,0 @@
#!/bin/bash
# Variables
_ENDW=197
_ENDWT=394
_ENDB=591
_ENDBT=788
_END=788
RED="\033[0;31m"
ORANGE="\033[0;33m"
YELLOW="\033[1;33m"
GREEN="\033[0;32m"
BLUE="\033[0;34m"
PURPLE="\033[0;35m"
COLORLESS="\033[0m"
source progressBars.sh
source buildFunctions.sh
sourceWhite=$PWD/White
themeWhite="Posy White"
dirWhite="White"
sourceBlack=$PWD/Black
themeBlack="Posy Black"
sourceWhiteTiny=$PWD/WhiteTiny
themeWhiteTiny="Posy White Tiny"
sourceBlackTiny=$PWD/BlackTiny
themeBlackTiny="Posy Black Tiny"
RED="\033[0;31m"
ORANGE="\033[0;33m"
YELLOW="\033[1;33m"
GREEN="\033[0;32m"
BLUE="\033[0;34m"
PURPLE="\033[0;35m"
COLORLESS="\033[0m"
echo -e "${RED}Gener${COLORLESS}${ORANGE}ating${COLORLESS} ${YELLOW}cur${COLORLESS}${GREEN}sor${COLORLESS} ${BLUE}the${COLORLESS}${PURPLE}mes.${COLORLESS}"
buildWhite
buildWhiteTiny
buildBlack
buildBlackTiny
echo -e "${RED}\nF${COLORLESS}${ORANGE}I${COLORLESS}${YELLOW}N${COLORLESS}${GREEN}I${COLORLESS}${BLUE}S${COLORLESS}${PURPLE}H${COLORLESS}"

1
pkg/aur/aur.pub Normal file
View File

@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHfiNi+rOCPKGLB6v9uuYR6GkN6Zd+CdaRbV82A26AUzs48ZG0xZGXHsoRuZY/yCUhcrS2u9xZ16fsAxnyf1QCF1hZVABUYtNhL1eEbSbLNiG9vIWJzbRjgegN/yyiG9ZVhFfNqXtPeapvuM3H44a2XeeFJcvTOfj/alkVjypi/DY/+XpC1IlX+CARC/e0zXHa3KZohn+CfBj8kWZWQEr7+EtKT59pslNxuJPcDUw7sKYLcBBz00BT0vv3lntyvZI1rRsD7AvItOwSZPp6or78Tgp8+O0HvFpjrlNipPEqDPpETIPcjTIVAlvlPFK1J0Rpzud38YdoWGfPiM77k7L7 timvisee@aur

View File

@@ -0,0 +1,21 @@
# Maintainer: Ykkzde <dmitry@ykkz.de>
pkgname=posy-cursors
pkgver=0.0.0 # automatically set in CI, see: /.gitlab-ci.yml
pkgrel=1
pkgdesc="Port of Posy's improved cursors"
arch=(any)
url="https://gitlab.com/ykkzde/posy-cursors"
license=(unknown)
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/v$pkgver/posy-cursors-v$pkgver.tar.gz?path=themes") # automatically set in CI, see: /.gitlab-ci.yml
sha256sums=('SKIP') # automatically set in CI, see: /.gitlab-ci.yml
package() {
cd posy-cursors-v$pkgver/themes
install -Ddm755 "$pkgdir/usr/share/icons"
cp -dr --no-preserve=ownership posy-white/ "$pkgdir/usr/share/icons/posy-white"
cp -dr --no-preserve=ownership posy-black/ "$pkgdir/usr/share/icons/posy-black"
cp -dr --no-preserve=ownership posy-white-tiny/ "$pkgdir/usr/share/icons/posy-white-tiny"
cp -dr --no-preserve=ownership posy-black-tiny/ "$pkgdir/usr/share/icons/posy-black-tiny"
}

View File

@@ -2,24 +2,18 @@
00008160000006810000408080010102 size_ver
03b6e0fcb3499374a867c041f52298f0 circle
08e8e1c95fe2fc01f976f1e063a24ccd progress
3ecb610c1bf2410f44200f48c40d3599 progress
5c6cd98b3f3ebcb1f9c7f1c204630408 help
9d800788f1b08800ae810202380a0822 pointer
640fb0e74195791501fd1ed57b41487f alias
1081e37283d90000800003c07f3ef6bf copy
3085a0e285430894940527032f8b26df alias
3ecb610c1bf2410f44200f48c40d3599 progress
4498f0e0c1937ffe01fd06f973665830 dnd-move
5c6cd98b3f3ebcb1f9c7f1c204630408 help
6407b0e94181790501fd1e167b474872 copy
640fb0e74195791501fd1ed57b41487f alias
9081237383d90e509aa00f00170e968f dnd-move
9d800788f1b08800ae810202380a0822 pointer
a2a266d0498c3104214a47bd64ab0fc8 alias
b66166c04f8c3109214a4fbd64a50fc8 copy
d9ce0ab605698f320427677b458ad60b help
e29285e634086352946a0e7090d73106 pointer
fcf21c00b30f7e3f83fe0dfd12e71cff dnd-move
grabbing dnd-move
nwse-resize size_fdiag
nesw-resize size_bdiag
arrow default
b66166c04f8c3109214a4fbd64a50fc8 copy
circle not-allowed
closedhand dnd-move
col-resize size_hor
@@ -27,13 +21,17 @@ color-picker crosshair
copy dnd-move
cross crosshair
crossed_circle not-allowed
d9ce0ab605698f320427677b458ad60b help
dnd-copy copy
dnd-none dnd-move
e-resize size_hor
e29285e634086352946a0e7090d73106 pointer
fcf21c00b30f7e3f83fe0dfd12e71cff dnd-move
forbidden no-drop
grab openhand
grabbing dnd-move
h_double_arrow size_hor
half-busy progress
grab openhand
hand1 pointer
hand2 pointer
ibeam text
@@ -42,8 +40,12 @@ left_ptr_help help
left_ptr_watch progress
left_side left-arrow
link alias
ll_angle bottom_left_corner
lr_angle bottom_right_corner
move dnd-move
n-resize size_ver
nesw-resize size_bdiag
nwse-resize size_fdiag
plus cell
pointing_hand pointer
question_arrow help
@@ -54,6 +56,9 @@ sb_v_double_arrow size_ver
size_all fleur
split_h col-resize
split_v row-resize
tcross crosshair
ul_angle top_left_corner
ur_angle top_right_corner
v_double_arrow size_ver
w-resize size_hor
watch wait

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 952 B

After

Width:  |  Height:  |  Size: 952 B

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 689 B

After

Width:  |  Height:  |  Size: 689 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More