Skip to content

fix: false advertizing - #2

Open
Elec3137 wants to merge 1 commit into
ctrlcat0xx:mainfrom
Elec3137:patch-1
Open

fix: false advertizing#2
Elec3137 wants to merge 1 commit into
ctrlcat0xx:mainfrom
Elec3137:patch-1

Conversation

@Elec3137

Copy link
Copy Markdown

please do not advertise Linux support when there is none :)

see: https://github.com/quantum5/win2xcur

@Elec3137

Copy link
Copy Markdown
Author

Here's a fish function to actually install the themes relying on win2xcurtheme:

function installInf -a installer scale
  if test -z "$installer"
    err "missing installer (.inf) path"
    exit 1
  else if test -z "$scale"
    info "default scale is 2"
    set scale 2
  end

  set themeName $(echo $installer | cut -d / -f1)
  set themePath "$HOME/.local/share/icons/$themeName/cursors"

  mkdir -p "$themePath" || exit

  set args "$installer" --scale "$scale" -o "$themePath"

  if command -q win2xcurtheme
    win2xcurtheme $args
  else
    nix run nixpkgs#win2xcurtheme -- $args
  end || exit

  info "successfully installed cursor theme \"$themeName\""
  info "at \"$themePath\""
end

usage is eg installInf "kuro/Kuro Cursor/Install.inf"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant