Commented out debug code
This commit is contained in:
parent
1274fc0cef
commit
9196481fd8
17
README.md
17
README.md
|
@ -121,6 +121,23 @@ nice = {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Using
|
||||||
|
|
||||||
|
nice will automatically detect and change the window decoration color to match the client. However...
|
||||||
|
|
||||||
|
* If nice doesn't pick the right color or you want to specify it yourself, right-click the titlebar and select 'Manually Pick Color'
|
||||||
|
* If the client theme changes (for example if you change your terminal emulator colors), to update the window decoration colors, right-click on the titlebar and select 'Redo Window Decorations'
|
||||||
|
* Scroll-up with your mouse over the titlebar to "roll-up" the window shade. Scroll-down over the titlebar, or left-click to "roll-down" the window shade
|
||||||
|
* nice saves its color rules in the color_rules file within the module directory. If you wish you can manually edit it, or delete the file if you want to start again.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Issues
|
||||||
|
|
||||||
|
If you face any bugs or issues (or have a feature request), please feel free to open an issue on here
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
|
[![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
|
||||||
|
|
4
init.lua
4
init.lua
|
@ -164,8 +164,8 @@ end
|
||||||
-- Determines the dominant color of the client's top region
|
-- Determines the dominant color of the client's top region
|
||||||
local function get_dominant_color(client)
|
local function get_dominant_color(client)
|
||||||
local color
|
local color
|
||||||
gsurface(client.content):write_to_png(
|
-- gsurface(client.content):write_to_png(
|
||||||
"/home/mutex/nice/" .. client.class .. "_" .. client.instance .. ".png")
|
-- "/home/mutex/nice/" .. client.class .. "_" .. client.instance .. ".png")
|
||||||
local pb
|
local pb
|
||||||
local bytes
|
local bytes
|
||||||
local tally = {}
|
local tally = {}
|
||||||
|
|
Loading…
Reference in New Issue