Forum › Forums › antiX-development › Development › NewDay-theme: Some ergonomic fixes for the Antix default theme
- This topic has 13 replies, 4 voices, and was last updated Apr 24-12:07 am by fladd.
-
AuthorPosts
-
April 8, 2023 at 12:42 am #104342Member
fladd
Hi there,
I have mentioned in the past that the default theme has some unfortunate choices with respect to ergonomics. I made an attempt to fix those.
The changes are:
– active window is highlighted with blue title bar
– visibility of active window in task bar has been improved (either with a blue strip at the top as default, or by being entirely blue as an alternative)
– title bar buttons have been cleaned up and are now better aligned
– title bar now scales with the size of theme (i.e. it gets smaller for the “small” variant, and larger for the “large” and “huge” variants)

If I find the time, I might still work on a small script to change the accent colour from blue to a user defined colour.
April 8, 2023 at 12:44 am #104343Memberfladd
::Apparently I cannot upload the file here for some reason. Here is another link: https://drive.google.com/file/d/1C8R_a7KceqEwaop5YjGuq70UbMGKHf_f/view?usp=sharing
April 11, 2023 at 11:48 pm #104562Memberfladd
::Alright, I made some changes to the theme to also have the start menu button as well as the workspace button foreground and background follow the accent color.

I also created a Python script to create a custom version of the theme:
Basically, what it does is to set a custom accent color (window title bar, active window in taskbar, workspace button background and foreground, start menu button, selected menu item) for a certain variant of the theme (small, medium, large, huge; default=medium), takes care of a matching foreground color (i.e. switches from white to black if the accent color is too bright) and allows for having alternative icons for desktop button icon (the default icewm icon), start button icon (a thicker outline for better visibility) and active taskbar button icon (fully colored in accent color).
Call it with the –help option to see how to use it and all its functionality.
Here is an example of what a custom version of the theme could look like:

I also renamed the theme to “NewDay”, since it can be any new color now.
Download: https://drive.google.com/file/d/1hoOAWy8qDE2CwOfhBQlqQSzVw_lCHq0E/view?usp=sharing
Please test (especially the script). If everything works, I will upload it to themes.ice-wm.org.
@anticapitalista: I am not sure if you are interested, but I think it would be great if this could be included in Antix 23!
April 12, 2023 at 2:33 pm #104597Forum Admin
anticapitalista
::Thanks.
I have added the themes to icewm-themes-antixPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 13, 2023 at 12:01 am #104636Memberfladd
::Update:
– fix for menu button in window titlebar when showing application icon
– fix for highlight color in task switcher and search box
– new option -a in script for showing application icon in window titlebar
– new option -l in script for choosing look (flat or 3d)Download:
https://drive.google.com/file/d/1bNyQKyVH3HxTxgvaw-lQA3zxTBlzkCGc/view?usp=sharingThanks @anticapitalista for including the theme and script! What is the best way for me to have updates (this one, but also future ones) included? I found a GitHub and a GitLab repository with the name “icewm-themes-antix”, but those have not received updates in a while, so I assume they are old ones? Could you point me to the current one maybe?
- This reply was modified 2 weeks, 6 days ago by fladd.
- This reply was modified 2 weeks, 6 days ago by fladd.
April 13, 2023 at 4:54 pm #104664Forum Admin
anticapitalista
::@fladd – I updated the Gitlab repo to include your latest.
https://gitlab.com/antiX-Linux/icewm-themes-antix
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 13, 2023 at 5:16 pm #104668Member
marcelocripe
::Thanks a lot fladd for these new themes and thanks also to anticapitalista for so promptly adding these themes to antiX.
I want to see someone saying that antiX could be “a little prettier”.
With the various themes created by BobC, PPC, you and the other participants in this community, antiX will have beautiful themes available to users. We’ll just need to teach newbies how to find them by clicking on the antiX menu, scrolling through three menus/submenus with the cursor and clicking on the theme name.Thank you very much!
– – – – –
Muito obrigado fladd por estes novos temas e agradeço também o anticapitalista por tão prontamente adicionar estes temas ao antiX.
Eu quero ver alguém dizendo que o antiX poderia ser “um pouco mais bonito”.
Com os vários temas criados pelo BobC, PPC, você e os outros participantes desta comunidade, o antiX terá lindos temas a disposição dos usuários. Nós precisaremos apenas ensinar os novatos como encontrá-los com um cliqueno menu do antiX, percorrer três menus/submenus com o cursor e clicar sobre o nome do tema.Muito obrigado!
April 13, 2023 at 6:57 pm #104675Member
blur13
April 13, 2023 at 7:12 pm #104677Member
blur13
::Another “ergonomic” fix is to set QuickSwitchRaiseCandidate=1 in preferences
This will raise windows while cycling through them in Alt-Tab. Very useful when having multiple full screen windows of eg a terminal where the names in the quickswitch window is just the terminal name.
April 14, 2023 at 12:00 am #104682Memberfladd
::Update:
– various fixes
– new option for light mode
– updated customization scriptDownload:
https://drive.google.com/file/d/1UL2MzDwQ9actT9P5GnbjR2XbCQRByUih/view?usp=sharing
@anticapitalista: Thanks for the link. I created a merge request for the current changes.
@blur13: Good point, but not a theme-specific setting, right?
April 14, 2023 at 12:02 pm #104693Member
blur13
::Got this running the script in .icewm/themes/ directory
This is on antix 19 (ie debian 10 buster)python3 newday_custom.py -c 103296 -m light -l 3d -a -s Traceback (most recent call last): File "newday_custom.py", line 91, in <module> shutil.copytree(source_dir, output_dir, dirs_exist_ok=True) TypeError: copytree() got an unexpected keyword argument 'dirs_exist_ok'- This reply was modified 2 weeks, 5 days ago by blur13.
April 14, 2023 at 1:18 pm #104697Memberfladd
::Got this running the script in .icewm/themes/ directory
This is on antix 19 (ie debian 10 buster)python3 newday_custom.py -c 103296 -m light -l 3d -a -s Traceback (most recent call last): File "newday_custom.py", line 91, in <module> shutil.copytree(source_dir, output_dir, dirs_exist_ok=True) TypeError: copytree() got an unexpected keyword argument 'dirs_exist_ok'Yeah, the script will only work with Python >= 3.8.
April 23, 2023 at 12:40 am #105256Memberfladd
::Update:
– better algorithm for automatically setting text color
– better colors for workspace button
– new desktop icon
– new styles for active task bar
– more options in the customization script
– several smaller fixesDownload:
https://drive.google.com/file/d/1ZLmh1fpTKq-zOSAHk7zgJiWwvLHiNRCE/view?usp=sharing
@anticapitalista: Can the title of this thread be changed to reflect the new theme name?
- This reply was modified 1 week, 3 days ago by fladd.
April 24, 2023 at 12:07 am #105307Memberfladd
::Update:
– fixed default desktop icon back to “windows”
– added inverted versions of start menu iconsDownload:
https://drive.google.com/file/d/1tT8K8rgVuafq_TEtN4cMGdo0GErp-K7A/view?usp=sharingAnother example of a custom version:

-
AuthorPosts
- You must be logged in to reply to this topic.