forked from BlingCorp/bling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved icon theme helper (BlingCorp#144)
* Small refactor for the get_client_icon_path function * Try to match first by icon name and then by class * Formatting * It's dashes * Use methods * Why check it every loop? * Try to get icon by the retriving the command from the pid * Split into multiple functions * No newline at eof * Remove empty line * Gets only the process name instead of the full command * Double quotes everywhere * I don't need pattern matching * I want the executable * Check if pid is nil * Use client icon if not found * Class can be nil for some clients too? * Check for nil values * Lgi doesn't work with gtk 4.0 * Fix class being nil * client.icon can be nil as well
- Loading branch information
Showing
1 changed file
with
66 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters