Skip to content

dudumaroja/cornercraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CornerCraft: Live Corner Radius Customization

License Kofi

Description

icon

CornerCraft lets you control how rounded your Adwaita apps look.

image

With it, you can set the corner radius of GTK 3 and GTK 4 windows and widgets, from almost square to very round. The app does this by writing custom CSS to your ~/.config/gtk-3.0/gtk.css and ~/.config/gtk-4.0/gtk.css files, so your desktop follows the style you choose.

Features

  • Granular Control: Independently set radii for:
    • Windows & General Elements: Applies to most application windows and UI components.
    • Radio Buttons, Switches & Sliders: Specific control for these interactive elements.
    • Buttons: Tailor the curvature of all your buttons.
    • Text Inputs: Define the roundness of entry fields and text views.
    • Menus & Popovers: Customize the corners of context menus and pop-up windows.
  • Unified Control (Lock Option): Effortlessly synchronize all corner radius values with a single toggle. Adjust one, and the rest follow suit, or unlock them for individual fine-tuning.
  • Compatibility: Works seamlessly with Adwaita and other GTK themes.
  • Restore Defaults: Instantly revert to Adwaita's default corner settings (12px) and clear any custom CSS.
  • Internationalization: Available in multiple languages to suit your preference.

Installation

Just clone and use the install script provided

Usage

After installation:

  1. Corner Radius Section:
    • Use the individual sliders (0-100 pixels) to set the desired border-radius for each element type.
    • Toggle the "Lock all values" switch to synchronize all sliders to the "Windows radius" value.
  2. Actions Section:
    • Set: Click this button to apply your chosen corner radii to your system's gtk.css files.
    • Restore Defaults: Click this button to revert all corner radii settings to Adwaita's default values (12px).
    • Adwaita Default Values: Provides a quick reference for the default radii.
image

Development

CornerCraft is open-source and contributions are welcome.

  • Issues & Suggestions: Feel free to open an issue on the GitHub repository for bugs, feature requests, or general feedback.
  • Cloning & Modification: The code is available for you to clone and modify at will.

License

CornerCraft is released under the GNU GPL v2.0 or later license.

Credits

Developed by @dudumaroja.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published