Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tatokis/libhandy-no-force-theme
Prevent an application built with libhandy from forcing a specific theme.
https://github.com/tatokis/libhandy-no-force-theme
gtk gtk-themeing libhandy
Last synced: about 1 month ago
JSON representation
Prevent an application built with libhandy from forcing a specific theme.
- Host: GitHub
- URL: https://github.com/tatokis/libhandy-no-force-theme
- Owner: tatokis
- License: gpl-2.0
- Created: 2024-02-06T12:31:47.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-12-21T01:14:58.000Z (about 1 month ago)
- Last Synced: 2024-12-21T02:21:35.933Z (about 1 month ago)
- Topics: gtk, gtk-themeing, libhandy
- Language: CMake
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libhandy-no-force-theme
A library that can be LD_PRELOADed to prevent an application built with libhandy from forcing a specific theme.
![before](https://github.com/tatokis/libhandy-no-force-theme/blob/master/img/before.png?raw=true)
![after](https://github.com/tatokis/libhandy-no-force-theme/blob/master/img/after.png?raw=true)## Usage for individual applications
```bash
LD_PRELOAD=libhandy-no-force-theme.so.0 eog
```## System-wide installation
To install globally, make sure that cmake is called with the correct prefix set as follows:
```bash
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
sudo make install
```If the library is installed in `/usr/local` then every time sudo is called, it will throw a warning about not being able to load it as `51libhandy-no-force-theme` will attempt to LD_PRELOAD it to every application.