3
.github/FUNDING.yml
vendored
|
@ -1 +1,2 @@
|
|||
custom: https://www.paypal.me/kaizkhatri
|
||||
patreon: KaizKhatri
|
||||
custom: https://www.paypal.me/kaizkhatri
|
||||
|
|
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
env
|
||||
.vscode
|
10
.travis.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
branches:
|
||||
only:
|
||||
- master
|
||||
- devlopment
|
||||
language: minimal
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker build --rm -f "Dockerfile" -t bibata_cursor:latest .
|
86
Bibata.sh
Executable file
|
@ -0,0 +1,86 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Default settings
|
||||
BIBATA=${BIBATA:-/tmp/Bibata}
|
||||
REPO=${REPO:-KaizIqbal/Bibata_Cursor}
|
||||
REMOTE=${REMOTE:-https://github.com/${REPO}.git}
|
||||
BRANCH=${BRANCH:-devlopment}
|
||||
|
||||
command_exists() {
|
||||
command -v "$@" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
error() {
|
||||
echo ${RED}"Error: $@"${RESET} >&2
|
||||
}
|
||||
|
||||
setup_color() {
|
||||
# Only use colors if connected to a terminal
|
||||
if [ -t 1 ]; then
|
||||
RED=$(printf '\033[31m')
|
||||
GREEN=$(printf '\033[32m')
|
||||
YELLOW=$(printf '\033[33m')
|
||||
BLUE=$(printf '\033[34m')
|
||||
BOLD=$(printf '\033[1m')
|
||||
RESET=$(printf '\033[m')
|
||||
else
|
||||
RED=""
|
||||
GREEN=""
|
||||
YELLOW=""
|
||||
BLUE=""
|
||||
BOLD=""
|
||||
RESET=""
|
||||
fi
|
||||
}
|
||||
|
||||
setup_bibata_repo() {
|
||||
|
||||
echo "${BLUE}Cloning Bibata Cursor...${RESET}"
|
||||
|
||||
command_exists git || {
|
||||
error "git is not installed"
|
||||
exit 1
|
||||
}
|
||||
|
||||
git clone -c core.eol=lf -c core.autocrlf=false \
|
||||
-c fsck.zeroPaddedFilemode=ignore \
|
||||
-c fetch.fsck.zeroPaddedFilemode=ignore \
|
||||
-c receive.fsck.zeroPaddedFilemode=ignore \
|
||||
--depth=1 --branch "$BRANCH" "$REMOTE" "$BIBATA" || {
|
||||
error "git clone of bibata_cursor repo failed"
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo
|
||||
}
|
||||
|
||||
setup_bibata() {
|
||||
cd /tmp/Bibata/
|
||||
./install.sh
|
||||
rm -rf /tmp/Bibata
|
||||
echo
|
||||
}
|
||||
|
||||
main() {
|
||||
|
||||
printf "$GREEN"
|
||||
cat <<-'EOF'
|
||||
|
||||
██████╗ ██╗██████╗ █████╗ ████████╗ █████╗
|
||||
██╔══██╗██║██╔══██╗██╔══██╗╚══██╔══╝██╔══██╗
|
||||
██████╔╝██║██████╔╝███████║ ██║ ███████║
|
||||
██╔══██╗██║██╔══██╗██╔══██║ ██║ ██╔══██║
|
||||
██████╔╝██║██████╔╝██║ ██║ ██║ ██║ ██║
|
||||
╚═════╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
||||
|
||||
EOF
|
||||
|
||||
setup_color
|
||||
setup_bibata_repo
|
||||
setup_bibata
|
||||
|
||||
rm -rf /tmp/Bibata
|
||||
printf "$RESET"
|
||||
}
|
||||
|
||||
main "$@"
|
BIN
Bibata_Amber/bitmaps/24x24/X_cursor.hotspot.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
Bibata_Amber/bitmaps/24x24/X_cursor.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/all-scroll.hotspot.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
Bibata_Amber/bitmaps/24x24/all-scroll.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/bd_double_arrow.hotspot.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
Bibata_Amber/bitmaps/24x24/bd_double_arrow.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/bottom_left_corner.hotspot.png
Normal file
After Width: | Height: | Size: 509 B |
BIN
Bibata_Amber/bitmaps/24x24/bottom_left_corner.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/bottom_right_corner.hotspot.png
Normal file
After Width: | Height: | Size: 512 B |
BIN
Bibata_Amber/bitmaps/24x24/bottom_right_corner.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/bottom_side.hotspot.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
Bibata_Amber/bitmaps/24x24/bottom_side.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/bottom_tee.hotspot.png
Normal file
After Width: | Height: | Size: 507 B |
BIN
Bibata_Amber/bitmaps/24x24/bottom_tee.png
Normal file
After Width: | Height: | Size: 688 B |
BIN
Bibata_Amber/bitmaps/24x24/circle.hotspot.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
Bibata_Amber/bitmaps/24x24/circle.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/context-menu.hotspot.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
Bibata_Amber/bitmaps/24x24/context-menu.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/copy.hotspot.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
Bibata_Amber/bitmaps/24x24/copy.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/cross.hotspot.png
Normal file
After Width: | Height: | Size: 500 B |
BIN
Bibata_Amber/bitmaps/24x24/cross.png
Normal file
After Width: | Height: | Size: 771 B |
BIN
Bibata_Amber/bitmaps/24x24/crossed_circle.hotspot.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
Bibata_Amber/bitmaps/24x24/crossed_circle.png
Normal file
After Width: | Height: | Size: 913 B |
BIN
Bibata_Amber/bitmaps/24x24/crosshair.hotspot.png
Normal file
After Width: | Height: | Size: 500 B |
BIN
Bibata_Amber/bitmaps/24x24/crosshair.png
Normal file
After Width: | Height: | Size: 949 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-ask.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-ask.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Bibata_Amber/bitmaps/24x24/dnd-copy.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-copy.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Bibata_Amber/bitmaps/24x24/dnd-link.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-link.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Bibata_Amber/bitmaps/24x24/dnd-move.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-move.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Bibata_Amber/bitmaps/24x24/dnd-no-drop.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-no-drop.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Bibata_Amber/bitmaps/24x24/dnd-none.hotspot.png
Normal file
After Width: | Height: | Size: 510 B |
BIN
Bibata_Amber/bitmaps/24x24/dnd-none.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/dotbox.hotspot.png
Normal file
After Width: | Height: | Size: 495 B |
BIN
Bibata_Amber/bitmaps/24x24/dotbox.png
Normal file
After Width: | Height: | Size: 991 B |
BIN
Bibata_Amber/bitmaps/24x24/fd_double_arrow.hotspot.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
Bibata_Amber/bitmaps/24x24/fd_double_arrow.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/grabbing.hotspot.png
Normal file
After Width: | Height: | Size: 507 B |
BIN
Bibata_Amber/bitmaps/24x24/grabbing.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/hand1.hotspot.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
Bibata_Amber/bitmaps/24x24/hand1.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Bibata_Amber/bitmaps/24x24/hand2.hotspot.png
Normal file
After Width: | Height: | Size: 500 B |
BIN
Bibata_Amber/bitmaps/24x24/hand2.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr.hotspot.png
Normal file
After Width: | Height: | Size: 508 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0001.hotspot.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0001.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0002.hotspot.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0002.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0003.hotspot.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0003.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0004.hotspot.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0004.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0005.hotspot.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0005.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0006.hotspot.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0006.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0007.hotspot.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0007.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0008.hotspot.png
Normal file
After Width: | Height: | Size: 496 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0008.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0009.hotspot.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0009.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0010.hotspot.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0010.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0011.hotspot.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0011.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0012.hotspot.png
Normal file
After Width: | Height: | Size: 497 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0012.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0013.hotspot.png
Normal file
After Width: | Height: | Size: 502 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0013.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0014.hotspot.png
Normal file
After Width: | Height: | Size: 502 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0014.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0015.hotspot.png
Normal file
After Width: | Height: | Size: 502 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0015.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0016.hotspot.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0016.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0017.hotspot.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0017.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0018.hotspot.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0018.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0019.hotspot.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0019.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0020.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0020.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0021.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0021.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0022.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0022.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0023.hotspot.png
Normal file
After Width: | Height: | Size: 498 B |
BIN
Bibata_Amber/bitmaps/24x24/left_ptr_watch_0023.png
Normal file
After Width: | Height: | Size: 1.2 KiB |