Still looks wrong to me.
Should be like this:
floating_layout = layout.Floating(
border_focus="#00ff00",
float_rules=[
# Run the utility of `xprop` to see the wm class and name of an X
client.
{'wmclass': 'confirm'},
{'wmclass': 'dialog'},
{'wmclass': 'download'},
{'wmclass': 'error'},
{'wmclass': 'file_progress'},
{'wmclass': 'notification'},
{'wmclass': 'splash'},
{'wmclass': 'toolbar'},
{'wmclass': 'confirmreset'}, # gitk
{'wmclass': 'makebranch'}, # gitk
{'wmclass': 'maketag'}, # gitk
{'wname': 'branchdialog'}, # gitk
{'wname': 'pinentry'}, # GPG key password entry
{'wmclass': 'ssh-askpass'}, # ssh-askpass
{'wmclass': 'redshift-gtk'},
{'wmclass': 'pavucontrol'},
]
)
This is the method I use to colour borders of floating windows when I click
and drag them.
On Saturday, 21 November 2020 at 21:53:21 UTC [email protected] wrote:
> I fixed the syntax by doing this:
> layout.Floating({"border_focus": "F08080"}), but the color doesn't change
> for single floating windows and floating layout. It's still the blue
> border.
>
>
> On Saturday, November 21, 2020 at 4:37:12 p.m. UTC-5 elParaguayo wrote:
>
>> Should be border_focus="
>>
>> Not a colon.
>>
>> On Sat, 21 Nov 2020, 21:33 el Paraguayo, <[email protected]> wrote:
>>
>>> Syntax error or border doesn't change colour?
>>>
>>> On Sat, 21 Nov 2020, 20:27 Joe Yabuki, <[email protected]> wrote:
>>>
>>>> No, It doesn't work!
>>>>
>>>> On Saturday, November 21, 2020 at 2:47:09 p.m. UTC-5 elParaguayo wrote:
>>>>
>>>>> Try putting a comma after that "]" before your "border_focus"
>>>>>
>>>>> On Saturday, 21 November 2020 at 19:00:13 UTC [email protected]
>>>>> wrote:
>>>>>
>>>>>> This is the part of code i modified
>>>>>>
>>>>>> floating_layout = layout.Floating(float_rules=[
>>>>>> # Run the utility of `xprop` to see the wm class and name of an X
>>>>>> client.
>>>>>> {'wmclass': 'confirm'},
>>>>>> {'wmclass': 'dialog'},
>>>>>> {'wmclass': 'download'},
>>>>>> {'wmclass': 'error'},
>>>>>> {'wmclass': 'file_progress'},
>>>>>> {'wmclass': 'notification'},
>>>>>> {'wmclass': 'splash'},
>>>>>> {'wmclass': 'toolbar'},
>>>>>> {'wmclass': 'confirmreset'}, # gitk
>>>>>> {'wmclass': 'makebranch'}, # gitk
>>>>>> {'wmclass': 'maketag'}, # gitk
>>>>>> {'wname': 'branchdialog'}, # gitk
>>>>>> {'wname': 'pinentry'}, # GPG key password entry
>>>>>> {'wmclass': 'ssh-askpass'}, # ssh-askpass
>>>>>> {'wmclass': 'redshift-gtk'},
>>>>>> {'wmclass': 'pavucontrol'},
>>>>>> ]
>>>>>> border_focus:"#00ff00",
>>>>>> )
>>>>>>
>>>>>> On Saturday, November 21, 2020 at 11:19:56 a.m. UTC-5 elParaguayo
>>>>>> wrote:
>>>>>>
>>>>>>> Can you paste the bit you've changed? Or paste your whole config
>>>>>>> file?
>>>>>>>
>>>>>>> On Sat, 21 Nov 2020, 16:12 Joe Yabuki, <[email protected]> wrote:
>>>>>>>
>>>>>>>> Can you tell me please where to insert the line, because I keep
>>>>>>>> getting "syntax error"?
>>>>>>>>
>>>>>>>> On Saturday, November 21, 2020 at 3:48:54 a.m. UTC-5 Joe Yabuki
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thank you elParaguayo, I'll try this out and report back!!!
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>> Kais
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>> *From:* [email protected] <[email protected]> on
>>>>>>>>> behalf of el Paraguayo <[email protected]>
>>>>>>>>> *Sent:* Saturday, November 21, 2020 3:46:18 AM
>>>>>>>>>
>>>>>>>>> *To:* [email protected] <[email protected]>
>>>>>>>>> *Subject:* Re: [qtile-dev] change the border color of the default
>>>>>>>>> floating windows
>>>>>>>>> Actually, I think I was right the first time. If you change that
>>>>>>>>> Floating layout item (NB this is not the same as any Floating layout
>>>>>>>>> you
>>>>>>>>> might have included in your "layouts=..." section) it does affect
>>>>>>>>> windows
>>>>>>>>> that you toggle (e.g. by mod + mouse dragging).
>>>>>>>>>
>>>>>>>>> My mistake was it should be "border_focus" not "border_normal".
>>>>>>>>>
>>>>>>>>> On Sat, 21 Nov 2020 at 08:21, el Paraguayo <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Ah, ok. I wasn't completely sure that I'd understood what you were
>>>>>>>>> looking to do. I get it now.
>>>>>>>>>
>>>>>>>>> Don't immediately know the answer but I'll take a look. Someone
>>>>>>>>> more knowledgeable will probably answer before I do!
>>>>>>>>>
>>>>>>>>> On Sat, 21 Nov 2020 at 07:18, Joe Yabuki <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Thanks for your input, but I'm not talking about the floating
>>>>>>>>> layout, but the floating window.For instance, when you toggle a tiled
>>>>>>>>> window to a floating window you have a blue border regardless your
>>>>>>>>> floating
>>>>>>>>> layout. I want to change that blue colour!!!
>>>>>>>>>
>>>>>>>>> Best Regards
>>>>>>>>> Kais
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>> *From:* [email protected] <[email protected]> on
>>>>>>>>> behalf of el Paraguayo <[email protected]>
>>>>>>>>> *Sent:* Saturday, November 21, 2020 2:13:30 AM
>>>>>>>>> *To:* [email protected] <[email protected]>
>>>>>>>>> *Subject:* Re: [qtile-dev] change the border color of the default
>>>>>>>>> floating windows
>>>>>>>>>
>>>>>>>>> In your config you should see a section that starts:
>>>>>>>>>
>>>>>>>>> floating_layout = layout.Floating(
>>>>>>>>>
>>>>>>>>> You can add a "border_normal" colour in there. Is that what you
>>>>>>>>> mean?
>>>>>>>>>
>>>>>>>>> On Sat, 21 Nov 2020, 00:12 Joe Yabuki, <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hello guys
>>>>>>>>> I'm wondering where can I change the default floating windows
>>>>>>>>> proprieties. I'm not talking about the floating layout customization,
>>>>>>>>> but
>>>>>>>>> rather the default floating windows look. Basically, I want to change
>>>>>>>>> the
>>>>>>>>> blue colour of the floating windows!
>>>>>>>>>
>>>>>>>>> Thank you in advance
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "qtile-dev" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to [email protected].
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/qtile-dev/1ac3fe79-d1f3-4c19-a32c-7356b4bf8eean%40googlegroups.com
>>>>>>>>>
>>>>>>>>> <https://groups.google.com/d/msgid/qtile-dev/1ac3fe79-d1f3-4c19-a32c-7356b4bf8eean%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>>>> the Google Groups "qtile-dev" group.
>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>> https://groups.google.com/d/topic/qtile-dev/RpVYB-oMHaU/unsubscribe
>>>>>>>>> .
>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>> to [email protected].
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/qtile-dev/CADPQLhB-hfPdaLqkAzS_jqqFqctyrEmQbVP1L5Ee5n_dJJMHcA%40mail.gmail.com
>>>>>>>>>
>>>>>>>>> <https://groups.google.com/d/msgid/qtile-dev/CADPQLhB-hfPdaLqkAzS_jqqFqctyrEmQbVP1L5Ee5n_dJJMHcA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "qtile-dev" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to [email protected].
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/qtile-dev/DM6PR06MB541861ADCDD39D3C36FB0697AEFE0%40DM6PR06MB5418.namprd06.prod.outlook.com
>>>>>>>>>
>>>>>>>>> <https://groups.google.com/d/msgid/qtile-dev/DM6PR06MB541861ADCDD39D3C36FB0697AEFE0%40DM6PR06MB5418.namprd06.prod.outlook.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>>>> the Google Groups "qtile-dev" group.
>>>>>>>>> To unsubscribe from this topic, visit
>>>>>>>>> https://groups.google.com/d/topic/qtile-dev/RpVYB-oMHaU/unsubscribe
>>>>>>>>> .
>>>>>>>>> To unsubscribe from this group and all its topics, send an email
>>>>>>>>> to [email protected].
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/qtile-dev/CADPQLhBn_YkjFcm%2BS2ei0%3DM2Mbe7djhVfeu%2BhzSmbsSrEM2%2BEQ%40mail.gmail.com
>>>>>>>>>
>>>>>>>>> <https://groups.google.com/d/msgid/qtile-dev/CADPQLhBn_YkjFcm%2BS2ei0%3DM2Mbe7djhVfeu%2BhzSmbsSrEM2%2BEQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "qtile-dev" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>>
>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/qtile-dev/8ab1e7e0-8612-4abb-8c79-20fbfb4612e5n%40googlegroups.com
>>>>>>>>
>>>>>>>> <https://groups.google.com/d/msgid/qtile-dev/8ab1e7e0-8612-4abb-8c79-20fbfb4612e5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "qtile-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/qtile-dev/632cf630-70a2-4a22-88ac-e60f31e9af7en%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/qtile-dev/632cf630-70a2-4a22-88ac-e60f31e9af7en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/9c66074a-45ad-44c7-8930-921429dcd593n%40googlegroups.com.