diff options
| author | kj-sh604 | 2025-01-14 04:28:26 -0500 |
|---|---|---|
| committer | kj-sh604 | 2025-01-14 04:28:26 -0500 |
| commit | d07f9632dcd89213ce6e259dcbd12f6c50a42c71 (patch) | |
| tree | 90753582892ebd60b494c30332c6d25f1f39e381 /xcursor-vide | |
| parent | d879ae91acda21b492e84c45cf5601fdccd6a226 (diff) | |
feat: add `xcursor-vide`
Diffstat (limited to 'xcursor-vide')
| -rw-r--r-- | xcursor-vide/.SRCINFO | 8 | ||||
| -rw-r--r-- | xcursor-vide/.gitignore | 3 | ||||
| -rw-r--r-- | xcursor-vide/PKGBUILD | 13 | ||||
| -rw-r--r-- | xcursor-vide/VideCursors.install | 19 |
4 files changed, 43 insertions, 0 deletions
diff --git a/xcursor-vide/.SRCINFO b/xcursor-vide/.SRCINFO new file mode 100644 index 0000000..f95d8e9 --- /dev/null +++ b/xcursor-vide/.SRCINFO @@ -0,0 +1,8 @@ +pkgbase = xcursor-vide + pkgdesc = Blank cursor theme to force the usage of the fallback X11 cursors (mIniMUHliSt uhuh). + pkgver = 1 + pkgrel = 1 + install = VideCursors.install + arch = any + +pkgname = xcursor-vide diff --git a/xcursor-vide/.gitignore b/xcursor-vide/.gitignore new file mode 100644 index 0000000..8d78c83 --- /dev/null +++ b/xcursor-vide/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +*.tar* diff --git a/xcursor-vide/PKGBUILD b/xcursor-vide/PKGBUILD new file mode 100644 index 0000000..e3a3a9e --- /dev/null +++ b/xcursor-vide/PKGBUILD @@ -0,0 +1,13 @@ +# Maintainer: kj_sh604 <406hs_jk@proton.me> + +pkgname=xcursor-vide +pkgver=1 +pkgrel=1 +pkgdesc="Blank cursor theme to force the usage of the fallback X11 cursors (mIniMUHliSt uhuh)." +arch=('any') +install=VideCursors.install + +package() { + mkdir -p "${pkgdir}/usr/share/icons/VideCursors/cursors" + touch "${pkgdir}/usr/share/icons/VideCursors/cursors/.empty" +} diff --git a/xcursor-vide/VideCursors.install b/xcursor-vide/VideCursors.install new file mode 100644 index 0000000..327064e --- /dev/null +++ b/xcursor-vide/VideCursors.install @@ -0,0 +1,19 @@ +post_install() { + echo "-------" + echo "Updating Default Cursor Theme" + echo "-------" + sed 's/Inherits=.*/Inherits=VideCursors/' /usr/share/icons/default/index.theme > /usr/share/icons/default/index.theme.tmp + mv /usr/share/icons/default/index.theme /usr/share/icons/default/index.theme.DO_NOT_DELETE.bak + mv /usr/share/icons/default/index.theme.tmp /usr/share/icons/default/index.theme +} + +post_upgrade() { + post_install +} + +post_remove() { + echo "-------" + echo "Reverting Default Cursor Theme" + echo "-------" + mv /usr/share/icons/default/index.theme.DO_NOT_DELETE.bak /usr/share/icons/default/index.theme +} |
