Skip to content

Latest commit

 

History

History
88 lines (76 loc) · 2.79 KB

File metadata and controls

88 lines (76 loc) · 2.79 KB

Xscriptor Ptyxis Themes


Previews

Preview

Preview Preview

Preview

Files

  • install.sh: Installs palettes to ~/.local/share/org.gnome.Ptyxis/palettes, sets the default theme, and adds aliases.
  • themes/*.palette: Palettes ready to use with Ptyxis:
    • x.palette
    • madrid.palette
    • lahabana.palette
    • seul.palette
    • miami.palette
    • paris.palette
    • tokio.palette
    • oslo.palette
    • helsinki.palette
    • berlin.palette
    • london.palette
    • praha.palette
    • bogota.palette

Requirements

  • Ptyxis installed.
  • sed, bash or zsh.
  • curl or wget.

Installation

  • One-liner:
wget -qO- https://raw.githubusercontent.com/xscriptor/terminal/main/ptyxis/install.sh | bash

or

  • Download the repo, enter the directory, and run the installer:
    • chmod +x install.sh && ./install.sh
  • What the installer does:
    • Uses local .palette files if present; otherwise downloads them from the repository.
    • Copies all palettes to ~/.local/share/org.gnome.Ptyxis/palettes.
    • Sets x as default (Primary=true) and clears Primary for the others.
    • Appends aliases to ~/.bashrc and ~/.zshrc for quick theme switching.
  • Reload your shell session:
    • source ~/.bashrc or source ~/.zshrc

Uninstall

  • Remote one‑liner:
wget -qO- https://raw.githubusercontent.com/xscriptor/terminal/main/ptyxis/uninstall.sh | bash
# or
curl -fsSL https://raw.githubusercontent.com/xscriptor/terminal/main/ptyxis/uninstall.sh | bash
  • Local:
chmod +x uninstall.sh && ./uninstall.sh

Switching Themes

  • Generic function:
    • ptyx <theme_basename>
    • Example: ptyx oslo marks oslo.palette as Primary=true.
  • Ready-to-use aliases:
    • City names: ptyxx, ptyxmadrid, ptyxlahabana, ptyxseul, ptyxmiami, ptyxparis, ptyxtokio, ptyxoslo, ptyxhelsinki, ptyxberlin, ptyxlondon, ptyxpraha, ptyxbogota

Notes

  • Ptyxis looks for palettes in ~/.local/share/org.gnome.Ptyxis/palettes. The Primary flag defines the default palette.
  • If changes are not reflected immediately, open a new Ptyxis window or select the palette in preferences.
  • To set a different default, run ptyx <name> to mark it as Primary=true.

Troubleshooting

  • Aliases not available:
    • Run source ~/.bashrc or source ~/.zshrc.
  • Theme not visible:
    • Verify the .palette file exists in ~/.local/share/org.gnome.Ptyxis/palettes.
  • Theme change not applied:
    • Ensure only one palette has Primary=true; use ptyx <name> to update flags.