th3g3ntl3m4n I forgot to reply to window decoration part, it is very hard to use anything but the Breeze windeco, since all others fail on Wayland. So make sure if you adjust any windeco, to test on a wayland session. This is why the custom Midna windeco is no longer in use.

Maybe an idea for updated splash?
https://kaosx.us/media/splash.mp4

@demm And what about a (nice looking) new bash prompt? It doesn't have to be powerline as th3g3ntl3m4n suggested and I know, what happens to one's install is up to one's self. But still, no harm in asking.

  • demm replied to this.

    AnKosteck As stated above, just fork the Midna repo on Github, make your changes for such a bash prompt and open a pull request. Anyone can participate in shaping the theme, all pull request will be reviewed.

    Actually, it is better to just adjust the default bashrc, if you do want to add color.
    See the Gentoo bashrc as an example ( color section only):
    https://gitweb.gentoo.org/repo/gentoo.git/tree/app-shells/bash/files/bashrc
    Implement color changes in:
    https://github.com/KaOSx/live-uefi/blob/master/configs/shared/overlay/etc/skel/.bashrc
    Fork that repo, make your bashrc changes and create a pull request.

    EDIT:
    Scratch all the above, testing powerline here:
    This is what you all what like to see?

      I love this, thanks demm i think is beautiful by default if you is agree

      So, whoever is interested in testing:

      cat <<EOT >> ~/.bashrc
      powerline-daemon -q
      POWERLINE_BASH_CONTINUATION=1
      POWERLINE_BASH_SELECT=1
      . /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
      EOT

      However, on every vim start, I get Python errors. I tried to set the powerline vim bindings but to no avail.

      Edit: Probably due to a version mismatch of Python used by vim (2.7) and powerline (3.6). Maybe this needs a recompile of vim using python3 or install powerline as a Python 2 module? Or can the Python install used in vim be set in some way?

      • demm replied to this.

        On upcoming ISOs ~/.bashrc will be set as:

        powerline-daemon -q
        POWERLINE_BASH_CONTINUATION=1
        POWERLINE_BASH_SELECT=1
        . /usr/share/bash/powerline.sh

        The above will be added to powerline.install once all needed testing is done.

        AnKosteck Did you use the python 3 included path for vim, or can you try with the path used for the .vim file?
        https://github.com/KaOSx/apps/blob/master/powerline/PKGBUILD#L32

        What I did was create a ~/.vimrc file analog to the Tutorial with

        set rtp+=/usr/lib/python3.6/site-packages/powerline/bindings/vim

        And the error I get is:

        Traceback (most recent call last):
        File "<string>", line 9, in <module>
        ImportError: No module named powerline.vim
        An error occurred while importing powerline module.
        This could be caused by invalid sys.path setting,
        or by an incompatible Python version (powerline requires
        Python 2.6, 2.7 or 3.2 and later to work). Please consult
        the troubleshooting section in the documentation for
        possible solutions.
        Unable to import powerline, is it installed?

        Without the vimrc I get the same error though, the syntax highlighting inside vim with that vimrc is absent.

        Edit: If I add the other 3 lines as specified in the guide

        python3 from powerline.vim import setup as powerline_setup
        python3 powerline_setup()
        python3 del powerline_setup

        I additionally to above error message get

        line 2:
        E319: Sorry, the command is not available in this version: python3 from powerline.vim import setup as powerline_setup
        line 3:
        E319: Sorry, the command is not available in this version: python3 powerline_setup()
        line 4:
        E319: Sorry, the command is not available in this version: python3 del powerline_setup

        Edit 2: Yeah, I used the wrong paths...

        Edit 3: I am now using the following ~/.vimrc with no success

        let g:pymode_python = 'python3'
        set rtp+=/usr/share/vim/vimfiles/plugin

        Shouldn't https://github.com/KaOSx/main/blob/master/vim/PKGBUILD#L41 be yes for python3 in vim?

        • demm replied to this.

          AnKosteck Please test with new vim:

          sudo pacman -U http://kaosx.tk/repo/build/vim-8.0.0776-1-x86_64.pkg.tar.xz

            demm Now I got a working vimrc, i.e. no more errors upon vim start. Contents of vimrc:

            set rtp+=/usr/lib/python3.6/site-packages/powerline/bindings/vim
            let g:powerline_pycmd = "py3"

            Yes, it has to be that path, since vim seems to search for __pycache__. To prove that a new vim compile is necessary, here without the new package you posted:

            kostecka  ~  vim .vimrc
            You need vim compiled with Python 2.6, 2.7 or 3.2 and later support
            for Powerline to work. Please consult the documentation for more
            details

            And with the new package it just works. Or to cite the requirements for the vim statusbar

            ... Python 3 uses --enable-python3interp flag instead ...

            --enable-python3interp=dynamicworks just fine though, so thanks. I still see no statusline, I will look further into that.

            Ok, I was wrong again, the first line in vimrc was not necessary at all. With this vimrc I got the following

            vim powerline statusbar

            Edit: This configuration works on 2 completely different machines.

            Tried it with Konsole, works really good. No errors yet what I can see 🙂

            Just a note. Powerline doesn't work in sudo by default. To get Powerline to work in an interactive shell update/create .bashrc in /root to, and use sudo -s to make it work (sudo -i doesn't execute .bashrc).

            I added the powerline code to /etc/bash.bashrc then it works for any user.

            2 months later

            [unknown] This work for me in my ~/.vimrc, but I had to add this:

            " make backspace work like most other programs
            set backspace=2

            but did not let me delete with backspace. Thanks!.