This is a script to create custom coloured papirus folder icons which can then be set with the papirus-folders script.
- 1 represents the
col*
values in the script and there can be multiple of these. Its the primary colour for the icon. - 2 represents the
sc_col*
values in the script and there is ansc_col
value for eachcol
value. Its the secondary colour for the icon. - 3 represents the
file_color
and its the colour of the middle file section. - 4 represents the
symbol_color
and its the colour of the center symbol.
- Make sure You have Papirus Icon Theme installed (preferably in
~/.local/share/icons
) - Also, make sure you have the papirus-folders script installed to your home via this method.
- Clone this repository and change to cloned directory:
git clone https://github.com/Vibhav201/Custom-Papirus-Folder-Icons cd Custom-Papirus-Folder-Icons
- The
changecolours.sh
script is the script where you have to specify the colour details. Specify icon colour names (at line 4
) separated by spaces.
For example,colors=(selection comment cyan green orange pink purple red yellow)
- Specify the primary colours values in the same order as the previous step (
from line 13
) in HEX format (without the#
). - Specify the respective secondary colours (
from line 24
) similarly. - Specify the file section color with the
file_color
variable (at line 34
). - Specify the center symbol color with the
symbol_color
(at line 35
) - Specify the theme name in the place of
dracula
(at line 49
). - Specify the flavour name in the place of
std
(at line 50
).
NOTES:
1. Remove 'dark-
' fromline 49
if your theme doesn't have flavours and you don't want to specify a flavour name.
2. Your icon files will be named as*-theme-flavour-color-*.svg
- Copy the
changecolours.sh
andconvert.sh
script files to TheIcons
folder. Make sure they have execution permissions. - Run
./convert.sh
from theIcons/
directory and you have created your custom folder icons. - Move the two script files back to the repo's root directory.
- Run
cp -r Icons/* ~/.local/share/icons/Papirus
from the repo's root if you have installed Papirus for the user.
If you have installed Papirus system-wide, runsudo cp -r Icons/* /usr/share/icons/Papirus
. - Now, you can set the folder icons you prefer using
papirus-folders
command (that you installed in step 2). You can check the steps to use it here.
NOTE: Change all '
file-rename
' occurences to 'rename
' in thechangecolours.sh
script for debian-based distros. This script has been tested on Debian and openSUSE but should work on all distros.
- Papirus Development Team
- Catppuccin Papirus Folders by the amazing Catppuccin team
- @xelser for the original script present here