You are not logged in.

#1 2015-11-05 01:03:44

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
Website

Request for feedback - tint2 mouse effects

What does it mean?

When the mouse moves over clickable items (such as task or launcher buttons), the background of the item is changed and/or the icon is tinted.

Is it implemented?

Yes, but only in the development branch. You have to compile tint2 from source. See https://gitlab.com/o9000/tint2/wikis/In … rom-source

Is it stable?

Not quite, it is currently under development. If you experience crashes please let me know.

How to configure it?

First, enable mouse effects (they are disabled by default):

mouse_effects = 1

You can configure two more states for each background: hover (mouse over) and pressed (mouse down):

# Background 2: Default task, Iconified task
rounded = 5
border_width = 1
background_color = #777777 0
border_color = #777777 10
background_color_hover = #777777 4
border_color_hover = #cccccc 30
background_color_pressed = #333333 4
border_color_pressed = #777777 30

You can also configure icon tinting for tasks and launchers. This is applied on top of other tinting. For instance this increases the brightness by 10% on hover and decreases it by 10% on mouse press:

mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 -10

Screenshots please!

https://gitlab.com/o9000/tint2/uploads/ … paque.webm
https://gitlab.com/o9000/tint2/uploads/ … arent.webm

Configs:

horizontal-dark-opaque
horizontal-light-opaque
horizontal-dark-transparent
horizontal-light-transparent

vertical-dark-opaque
vertical-light-opaque
vertical-dark-transparent
vertical-light-transparent

Is it any good?

You tell me. Your input is appreciated. You can answer here or on https://gitlab.com/o9000/tint2/issues/44

What if I don't want it?

Set mouse_effects = 0. If you suspect the new code still has side effects let me know.

Last edited by o9000 (2015-11-05 01:10:40)

Offline

#2 2015-11-05 01:08:10

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,138
Website

Re: Request for feedback - tint2 mouse effects

I haven't tested this, I just wanted to thank you for developing it and posting it here.

Thank you! smile


I don't care what you do at home. Would you care to explain?

Offline

#3 2015-11-05 02:54:44

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: Request for feedback - tint2 mouse effects

First scrot is tint2 running on 3 monitors. I changed the config up a bit and went with 20% darker on mouse over and 20% lighter on click. I can say that both work as expected now. The scrot shows me using the mose hover effect over the file manager icon on the tint2 launcher area. For reference, the second screen shows a mouse hover effect on the close button for the mirage window. Probably should have just scrotted an area as 3 monitors is quite a bit to have to look at to see a mouseover on one icon. I decided to show the reference to show how I believe I can tweak tint2 config some more and get a decent match between the gtk behavior I have set and tint2. I am liking the tactile feel now. This will really help me out on my laptop.

2015_11_04_20_31_36_scrot.jpg

2015_11_04_20_28_48_scrot.jpg

On a final note, I pulled your tint2conf launcher over into my BunsenLabs tint2conf.

Great job and thanks for this!

Last edited by tknomanzr (2015-11-05 02:56:40)

Offline

Board footer

Powered by FluxBB