G-dH / advanced-alttab-window-switcher

A highly customizable replacement for Gnome Shell's Alt-Tab window and app switchers.
GNU General Public License v3.0
151 stars 11 forks source link

HOW to set the styling of windows in window preview mode? #101

Open JE-Amouel opened 1 month ago

JE-Amouel commented 1 month ago

Hi, just wanted to ask about the preview mode, tilling assistant on gnome 46, and there is an option to set the border style of focused window, that is usefull when severale window are present on screen, like aatws is mostly my main tools for window and workspace navigation, i would like to match focused window's border's style that i use on tilling assistant with aatws preview mode window's border style, how that can be done? and if not , is it possible to add this feature?

THANKS.

G-dH commented 1 month ago

Hi, I'm not familiar with Tilling Assistant and I don't understand why you want to style preview of the focused window. Can you add a screenshot and better explanation?

JE-Amouel commented 1 month ago

in both examples i use aatws . here i just do window switching, i just select window and i press enter to change focus, notice the border around focused window , that is set through Tilling assistant which is a gnome extension that provide window tilling feature on gnome DE.

windowPRVW.webm


here i use aatws not for window switching, but just for window previewing. notice the border off previewed window

windowSW.webm


i just want to be able to change window border style in aatws, such as , border thickness and color. THANKS.

G-dH commented 1 month ago

The preview uses this default css class, that can be changed be your current theme:

.cycler-highlight {
  border: 5px solid $selected_bg_color;
}

If I'm seeing it correctly, the AATWS preview has no border at all, which seems to be a problem with your custom theme. The 1px border appears when you close AATWS, right?

JE-Amouel commented 1 month ago

yes the default 1px border reappear after closing aatws, so i just have to change values in .cycle-highlight's class to get the desired behavior?

G-dH commented 1 month ago

Correct.

JE-Amouel commented 1 month ago

thank you!