Skip to content

Commit d94a09d

Browse files
xfce4-terminal no longer uses terminalrc (#16)
1 parent cbf9f9c commit d94a09d

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

README.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -636,48 +636,33 @@ Tinted Theming template for [xfce4 terminal emulator].
636636

637637
### Tinty
638638

639-
1. Clone the tinted-terminal themes and symlink to Rio themes directory:
640-
641-
```sh
642-
git clone https://github.com/tinted-theming/tinted-terminal /path/to/tinted-terminal
643-
mkdir -p ~/.local/share/xfce4/terminal
644-
ln -s /path/to/tinted-terminal/xfce4 ~/.local/share/xfce4/terminal/colorschemes
645-
```
646-
647-
2. Add the following to `~/.config/tinted-theming/tinty/config.toml`:
639+
1. Add the following to `~/.config/tinted-theming/tinty/config.toml`:
648640

649641
```toml
650642
[[items]]
651-
path = "~/projects/tinted-theming/tinted-xfce4-terminal"
643+
path = "https://github.com/tinted-theming/tinted-terminal"
652644
name = "tinted-xfce4-terminal"
653645
themes-dir = "themes/xfce4"
654646
hook = """
655-
# Adapted from https://askubuntu.com/questions/676428/change-color-scheme-for-xfce4-terminal-manually#answer-676452
656-
if [[ -e $HOME/.local/share/xfce4/terminal/colorschemes/%n.theme ]]
657-
then
658-
cd $HOME/.config/xfce4/terminal
659-
# strip settings from any themes
660-
grep -Fxvf <(cat $HOME/.local/share/xfce4/terminal/colorschemes/*.theme) terminalrc > .terminalrc.tmp
661-
grep -v -e Name -e Scheme "$HOME/.local/share/xfce4/terminal/colorschemes/%n.theme" >> .terminalrc.tmp
662-
cp terminalrc terminalrc.bak
663-
mv .terminalrc.tmp terminalrc
664-
fi
647+
mkdir -p $XDG_CONFIG_HOME/xfce4/terminal/colorschemes
648+
cat %f > $XDG_CONFIG_HOME/xfce4/terminal/colorschemes/%n.theme
665649
"""
666650
supported-systems = ["base16", "base24"]
667651
```
668652

669-
3. `tinty apply base16-ayu-dark` to change the theme to
653+
2. `tinty sync && tinty apply base16-ayu-dark` to change the theme to
670654
`base16-ayu-dark`
671655

656+
3. The theme will be available under `Preferences > Colors > Presets`.
657+
672658
For more information on Tinty setup or usage, have a look at the [Tinty]
673659
GitHub page.
674660

675661
### Manual
676662

677663
Put the prebuilt `*.theme` files from `colorschemes/` into
678664
`~/.local/share/xfce4/terminal/colorschemes/` (create this directory if
679-
it does not exist), and the themes will be available under `Edit >
680-
Preferences... > Colors > Presets`
665+
it does not exist), and the themes will be available under `Preferences > Colors > Presets`.
681666

682667
```sh
683668
mkdir -p ~/.local/share/xfce4/terminal

0 commit comments

Comments
 (0)