NewDay-theme: Some ergonomic fixes for the Antix default theme

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.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #104342
    Member
    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.

      #104343
      Member
      fladd
        Helpful
        Up
        0
        ::

        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

        #104562
        Member
        fladd
          Helpful
          Up
          0
          ::

          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!

          #104597
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Thanks.
            I have added the themes to icewm-themes-antix

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #104636
            Member
            fladd
              Helpful
              Up
              0
              ::

              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=sharing

              Thanks @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.
              #104664
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                @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.

                #104668
                Member
                marcelocripe
                  Helpful
                  Up
                  0
                  ::

                  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!

                  #104675
                  Member
                  blur13
                    Helpful
                    Up
                    0
                    ::

                    This is really good, thank you!

                    #104677
                    Member
                    blur13
                      Helpful
                      Up
                      0
                      ::

                      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.

                      #104682
                      Member
                      fladd
                        Helpful
                        Up
                        0
                        ::

                        Update:
                        – various fixes
                        – new option for light mode
                        – updated customization script

                        Download:
                        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?

                        #104693
                        Member
                        blur13
                          Helpful
                          Up
                          0
                          ::

                          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.
                          #104697
                          Member
                          fladd
                            Helpful
                            Up
                            0
                            ::

                            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.

                            #105256
                            Member
                            fladd
                              Helpful
                              Up
                              0
                              ::

                              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 fixes

                              Download:
                              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.
                              #105307
                              Member
                              fladd
                                Helpful
                                Up
                                0
                                ::

                                Update:
                                – fixed default desktop icon back to “windows”
                                – added inverted versions of start menu icons

                                Download:
                                https://drive.google.com/file/d/1tT8K8rgVuafq_TEtN4cMGdo0GErp-K7A/view?usp=sharing

                                Another example of a custom version:

                              Viewing 14 posts - 1 through 14 (of 14 total)
                              • You must be logged in to reply to this topic.