Skip to content

Commit

Permalink
feat: Add icon for .gtkrc-2.0, gtkrc files and .gresource file …
Browse files Browse the repository at this point in the history
…extension. GTK.

`.gtkrc-2.0` and `gtkrc` are config files.
`.gresource` files are GTK-3 themes CSS files precompiled into a binary format.
  • Loading branch information
hasecilu committed Nov 22, 2023
1 parent 1244263 commit 9809b83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/output/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ impl Icons {
const GIT: char = '\u{f1d3}'; // 
const GRADLE: char = '\u{e660}'; // 
const GRUNT: char = '\u{e611}'; // 
const GTK: char = '\u{f362}'; // 
const GULP: char = '\u{e610}'; // 
const HTML5: char = '\u{f13b}'; // 
const IMAGE: char = '\u{f1c5}'; // 
Expand Down Expand Up @@ -178,6 +179,7 @@ const FILENAME_ICONS: Map<&'static str, char> = phf_map! {
".gitignore_global" => Icons::GIT, // 
".gitlab-ci.yml" => '\u{f296}', // 
".gitmodules" => Icons::GIT, // 
".gtkrc-2.0" => Icons::GTK, // 
".htaccess" => Icons::CONFIG, // 
".htpasswd" => Icons::CONFIG, // 
".idea" => Icons::INTELLIJ, // 
Expand Down Expand Up @@ -252,6 +254,7 @@ const FILENAME_ICONS: Map<&'static str, char> = phf_map! {
"gruntfile.js" => Icons::GRUNT, // 
"gruntfile.ls" => Icons::GRUNT, // 
"gshadow" => Icons::LOCK, // 
"gtkrc" => Icons::GTK, // 
"gulpfile.coffee" => Icons::GULP, // 
"gulpfile.js" => Icons::GULP, // 
"gulpfile.ls" => Icons::GULP, // 
Expand Down Expand Up @@ -451,6 +454,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
"go" => Icons::LANG_GO, // 
"gpg" => Icons::SHIELD_LOCK, // 󰦝
"gradle" => Icons::GRADLE, // 
"gresource" => Icons::GTK, // 
"groovy" => Icons::LANG_GROOVY, // 
"gsheet" => Icons::SHEET, // 
"gslides" => Icons::SLIDE, // 
Expand Down

0 comments on commit 9809b83

Please sign in to comment.