Skip to content

xelser/edge-gtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A vivid and colorful 🎨 GTK theme based on vinceliuice's Matcha GTK Theme and sainnhe's Edge Colorscheme.

Supports

Features

  • Color Variety
Accents Red Yellow Green Cyan Blue Purple
Dark Red Yellow Green cyan Blue Purple
Light Red Yellow Green cyan Blue Purple
Backgrounds Warmer "Default" Blu-ish "Aura" Purple-ish "Neon"
Example Default Aura Neon
Paired Accents Red, Yellow, and Green Cyan and Blue Purple Only
  • Arc Theme Design for WM Buttons

wm buttons

Preview

Screenshots

purple blue red yellow cyan

Install

Requirements for GTK2

  • Arch: sudo pacman -S gtk-engine-murrine gtk-engines
  • Fedora: sudo dnf install gtk-murrine-engine gtk2-engines
  • Debian/Ubuntu: sudo apt-get install gtk2-engines-murrine gtk2-engines-pixbuf

From Source

  1. Clone the Repo
git clone https://github.com/xelser/edge-gtk && cd edge-gtk
  1. Run the script
  • For user installation: ./install.sh [OPTIONS...]
  • For global installation: sudo ./install.sh [OPTIONS...]
OPTIONS:
 -d, --dest DIR        Specify theme destination directory (Default: $HOME/.themes)
 -n, --name NAME       Specify theme name (Default: Edge)
 -c, --color VARIANTS  Specify theme color variant(s) [standard|light|dark] (Default: All variants)
 -t, --theme VARIANTS  Specify hue theme variant(s) [red|yellow|green|cyan|blue|purple] (Default: All variants)
 -r, --remove          Remove(Uninstall) themes
 -h, --help            Show this help

GTK4

Grab the directory of your selected theme (Ex. Edge-dark-blue). Either in /usr/share/themes/ or in $HOME/.themes/

theme_dir="/usr/share/themes/Edge-dark-blue"

rm -rf                                     "$HOME/.config/gtk-4.0/{assets,gtk.css,gtk-dark.css}"
mkdir -p                                   "$HOME/.config/gtk-4.0"
ln -sf "${theme_dir}/gtk-4.0/assets"       "$HOME/.config/gtk-4.0/"
ln -sf "${theme_dir}/gtk-4.0/gtk.css"      "$HOME/.config/gtk-4.0/gtk.css"
ln -sf "${theme_dir}/gtk-4.0/gtk-dark.css" "$HOME/.config/gtk-4.0/gtk-dark.css"

Flatpak

Using The Official Flatpak Documentations Instructions:

The directory of the theme should be present in $HOME/.local/share/themes/ (anything in /usr is blacklisted). So you either have to copy from /usr/share/themes to $HOME/.local/share/themes OR if you installed it in $HOME/.themes, symlinking it to $HOME/.local/share/themes also works.

flatpak override --user --filesystem=xdg-config/gtk-3.0 # for gtk3
flatpak override --user --filesystem=xdg-config/gtk-4.0 # for gtk4
flatpak override --user --filesystem=xdg-data/themes:ro # theme directory
flatpak override --user --filesystem=$HOME/.themes:ro # theme directory
flatpak override --user --env=GTK_THEME=Edge-dark-blue # apply theme

"So why install it to $HOME/.themes if flatpak wants it in $HOME/.local/share/themes?" Because GTK2 likes it in $HOME/.themes

Using Stylepak

stylepak install-user Edge-dark-blue

Recommended and Related Projects

Credits

This project wouldn't be possible without any of the above. Show them great support ❤️

License

GPL-3.0 © xelser