option to change folder colors #89
Replies: 5 comments 11 replies
-
i'm sorry, I kept looking and found this file browser extension, at least its not 1 folder at a time. https://github.com/costales/folder-color |
Beta Was this translation helpful? Give feedback.
-
That set of scripts are only usable for specific file managers. There is a plan to make a way to change folders colors globally. Each file named |
Beta Was this translation helpful? Give feedback.
-
Hello. This is the quick and dirty script I have made to replace my folder colors. You just have to replace highland with the color of your choice, give it execution privileges, and launch it from ~/.icons/gruvbox-plus-icon-pack-5.5.0/places/scalable . Note that bookmark folders do not have color variants. Click to expand#!/usr/bin/env bashrm certificate-server.svg |
Beta Was this translation helpful? Give feedback.
-
Hi, Here is a more bash-ish script I've made to replace folders color. Details
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
export FOLDER_COLOR="${FOLDER_COLOR:-"blue"}"
if [[ -f "folder-${FOLDER_COLOR}.svg" ]]; then
for i in $(realpath "*-${FOLDER_COLOR}*.svg"); do
filename="${i##*/}"
ln -sfn "${filename}" "${filename/-${FOLDER_COLOR}/}"
done
echo "Done."
else
echo "Invalid color: ${FOLDER_COLOR}"
echo "Please peak one of:"
find "${0%/*}" -type f -iname "folder-*-*.svg" | cut --delimiter "-" --fields 2 | sort | uniq | paste -sd " "
exit 1
fi UsageFOLDER_COLOR=violet ./folder-color-chooser.sh If all goes well, it simply prints ‘Done’, if not, it prints a list of available colours and exits with an error code: FOLDER_COLOR=coffee ./folder-color-chooser.sh
Invalid color: coffee
Please peak one of:
black blue citron firebrick gold green grey highland jade lavender lime olive orange pistachio pumpkin purple red rust sapphire tomato violet white yellow Enjoy it! |
Beta Was this translation helpful? Give feedback.
-
I've made several test and it looks like it works perfectly. I have a few questions and suggestions:
|
Beta Was this translation helpful? Give feedback.
-
Hello. I just installed these icon pack, its great thank you. I have an issue trying to change the folders, in gnome the default color for the folders are blue. How can I change the folders to the golden ones found inside the icon pack?
Beta Was this translation helpful? Give feedback.
All reactions