Compare commits
36 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5186b9d282 | ||
|
|
801555b61f | ||
|
|
a6de703d44 | ||
|
|
e7d1355dc1 | ||
|
|
45155a96cd | ||
|
|
9022d5824a | ||
|
|
0852b26798 | ||
|
|
3a12078508 | ||
|
|
7b0249a14d | ||
|
|
c618acd9c9 | ||
|
|
e4c0b458cb | ||
|
|
1902ec6163 | ||
|
|
24267a06f5 | ||
|
|
c438e949e3 | ||
|
|
8877137026 | ||
|
|
cfb6b6cf86 | ||
|
|
dbbc00beaa | ||
|
|
14a371118c | ||
|
|
cbd402db9b | ||
|
|
4ad5ddec00 | ||
|
|
faf6a27366 | ||
|
|
f7dd5cf6d3 | ||
|
|
06046d478d | ||
|
|
1f7ce8b6fb | ||
|
|
2a391702fd | ||
|
|
3d3125f4fe | ||
|
|
0aa4b0eba3 | ||
|
|
94e06bb116 | ||
|
|
c16ac69f0f | ||
|
|
1adbf2c0f6 | ||
|
|
286a06ac1b | ||
|
|
f1016e321e | ||
|
|
74ab7d14ce | ||
|
|
9599f80ff8 | ||
|
|
31d3d98a51 | ||
|
|
8e436e5036 |
28
.gitignore
vendored
@@ -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
@@ -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 ..
|
||||
34
README.md
@@ -1,9 +1,3 @@
|
||||
## Preview
|
||||
|
||||

|
||||
|
||||
|
||||
### Original
|
||||
http://www.michieldb.nl/other/cursors/
|
||||
|
||||
##### Build script from here
|
||||
@@ -21,10 +15,36 @@ 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
|
||||
|
||||
26
create.sh
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
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"
|
||||
|
||||
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
@@ -0,0 +1 @@
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHfiNi+rOCPKGLB6v9uuYR6GkN6Zd+CdaRbV82A26AUzs48ZG0xZGXHsoRuZY/yCUhcrS2u9xZ16fsAxnyf1QCF1hZVABUYtNhL1eEbSbLNiG9vIWJzbRjgegN/yyiG9ZVhFfNqXtPeapvuM3H44a2XeeFJcvTOfj/alkVjypi/DY/+XpC1IlX+CARC/e0zXHa3KZohn+CfBj8kWZWQEr7+EtKT59pslNxuJPcDUw7sKYLcBBz00BT0vv3lntyvZI1rRsD7AvItOwSZPp6or78Tgp8+O0HvFpjrlNipPEqDPpETIPcjTIVAlvlPFK1J0Rpzud38YdoWGfPiM77k7L7 timvisee@aur
|
||||
23
pkg/aur/posy-cursors/PKGBUILD
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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-$pkgrel.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() {
|
||||
ls -la
|
||||
ls -la *
|
||||
cd $pkgname-$pkgver-$pkgrel/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"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 952 B After Width: | Height: | Size: 952 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |