bspwm (+ hlwm) setup

Forum Forums General Other Distros bspwm (+ hlwm) setup

  • This topic has 6 replies, 3 voices, and was last updated Jan 15-5:23 pm by Brian Masinick.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #31689
    Member
    manyroads

      I hope folks find some of my bspwm (and hlwm) learnings reasonably helpful. My latest publication/installment is posted on my website; it includes images & dotfile access:

      http://eirenicon.org/knowledge-base/bspwm-hlwm-setup/

      Pax vobiscum,
      Mark Rabideau - http://many-roads.com
      "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
      dwm & i3wm ~Reg. Linux User #449130
      20 Jan 2021 ~ "End of an Error"

      #31693
      Moderator
      Brian Masinick
        Helpful
        Up
        0
        ::

        I hope folks find some of my bspwm (and hlwm) learnings reasonably helpful. My latest publication/installment is posted on my website; it includes images & dotfile access:

        http://eirenicon.org/knowledge-base/bspwm-hlwm-setup/

        I haven’t gone to your site yet, but I do appreciate this work. Hopefully I’ll be able to carve out some time to read it and also experiment with your knowledge base. In any case, thanks for your efforts!

        --
        Brian Masinick

        #31694
        Member
        manyroads
          Helpful
          Up
          0
          ::

          +1

          Pax vobiscum,
          Mark Rabideau - http://many-roads.com
          "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
          dwm & i3wm ~Reg. Linux User #449130
          20 Jan 2021 ~ "End of an Error"

          #31695
          Moderator
          Brian Masinick
            Helpful
            Up
            0
            ::

            I was able to download a few of your tools. I have not worked with them yet, but hopefully grabbing them will make it easier to get into the WM and experience your work.

            I’ll let you know when I’m able to do so.

            --
            Brian Masinick

            #31703
            Member
            ex_Koo
              Helpful
              Up
              0
              ::

              manyroads

              Using your logout.sh script with MX 19 shutdown & reboot work fine, but logout is not working. Looking at the script itself their seems not to be a logout command. ?

              /usr/sbin has both shutdown & reboot but i can’t fine a logout entry anywhere on the system..

              Using Airblader i3 gaps 4.17.1

              #! /bin/bash
              
              action=$(yad --width 300 --entry --title "System Logout" \
                  --image=gnome-shutdown \
                  --button="Switch User:2" \
                  --button="gtk-ok:0" --button="gtk-close:1" \
                  --text "Choose action:" \
                  --entry-text \
                  "Power Off" "Reboot" "Suspend" "Logout")
              ret=$?
              
              [[ $ret -eq 1 ]] && exit 0
              
              if [[ $ret -eq 2 ]]; then
                  gdmflexiserver --startnew &
                  exit 0
              fi
              
              case $action in
                  Power*) cmd="sudo /sbin/poweroff" ;;
                  Reboot*) cmd="sudo /sbin/reboot" ;;
                  Suspend*) cmd="sudo /bin/sh -c 'echo disk > /sys/power/state'" ;;
                  Logout*) 
                  case $(wmctrl -m | grep Name) in
                      *Openbox) cmd="openbox --exit" ;;
                      *bspwm) cmd="bspc quit" ;;
                          *Metacity) cmd="gnome-save-session --kill" ;; 
                      *) exit 1 ;;
                  esac
                  ;;
                  *) exit 1 ;;    
              esac
              
              eval exec $cmd
              
              #31735
              Member
              ex_Koo
                Helpful
                Up
                0
                ::

                manyroads

                This is now Solved. I completely removed logout from the YAD example script you use as it was not needed by i3 anyway. Logout now works and always did.
                Reboot & shutdown is all that is needed by MX.

                #31736
                Moderator
                Brian Masinick
                  Helpful
                  Up
                  0
                  ::

                  Great! I’ll check the changes and try this out with the latest changes. Thanks!

                  --
                  Brian Masinick

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