@@ -636,48 +636,33 @@ Tinted Theming template for [xfce4 terminal emulator].
636
636
637
637
### Tinty
638
638
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 ` :
648
640
649
641
``` toml
650
642
[[items ]]
651
- path = " ~/projects/ tinted-theming/tinted-xfce4 -terminal"
643
+ path = " https://github.com/ tinted-theming/tinted-terminal"
652
644
name = " tinted-xfce4-terminal"
653
645
themes-dir = " themes/xfce4"
654
646
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
665
649
"""
666
650
supported-systems = [" base16" , " base24" ]
667
651
```
668
652
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
670
654
` base16-ayu-dark `
671
655
656
+ 3 . The theme will be available under ` Preferences > Colors > Presets ` .
657
+
672
658
For more information on Tinty setup or usage, have a look at the [ Tinty]
673
659
GitHub page.
674
660
675
661
### Manual
676
662
677
663
Put the prebuilt ` *.theme ` files from ` colorschemes/ ` into
678
664
` ~/.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 ` .
681
666
682
667
``` sh
683
668
mkdir -p ~ /.local/share/xfce4/terminal
0 commit comments