bling/helpers
Kasper 6e4ecb334c
Improved icon theme helper (#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
2022-05-11 18:28:32 +03:00
..
client.lua More scratchpad fixes (#109) 2021-09-13 17:22:34 -07:00
color.lua More app launcher improvements (#132) 2021-11-05 05:38:54 +02:00
filesystem.lua Add playerctl v2 backends (#142) 2022-01-07 21:33:24 -08:00
icon_theme.lua Improved icon theme helper (#144) 2022-05-11 18:28:32 +03:00
init.lua Auto: format source code 2021-08-27 18:01:22 +00:00
shape.lua Auto: format source code 2021-08-27 18:01:22 +00:00
time.lua Auto: format source code 2021-08-27 18:01:22 +00:00