You are not logged in.

#276 2012-06-19 21:03:23

Crunch
Member
From: -+-
Registered: 2011-02-17
Posts: 56

Re: dminiwm snapwm & bipolarbar

moetunes wrote:
Crunch wrote:

Used Git and Make as per the wiki, didn't know there was a pkgbuild made for it yet.

I just cloned the repo and built and ran it and it was fine here, but since it is inconsistant I'll change the approach for that function. You said "But only started recently on my laptop", when roughly was recently?

Just updated everything ( system and snapwm ) last night after about 2 weeks of not updating.


Registered Linux user #536591.

Offline

#277 2012-06-19 21:07:28

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

@Crunch and anybody else that was having problems when shifting windows between desktops.
It's a new thing so that's ok'ish.
Can you try a git pull now and see if the situation has improved? It's fixed when using the PKGBUILD so it should be fine for you. I guess it is the new options in the Makefile but running make gives no warnings when makepkg does.. Anyway I pulled my head out of my arse, saw the light and changed the function. wink

Cheers

Last edited by moetunes (2012-06-19 21:14:58)


You're just jealous because the voices only talk to me.

Offline

#278 2012-06-19 21:13:12

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,250

Re: dminiwm snapwm & bipolarbar

I tried it both ways and it seems fixed now here smile

edit: I updated the wiki too

Last edited by stlarch (2012-06-19 21:14:06)

Offline

#279 2012-06-19 21:23:17

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

That's great.
So there's an aur package for snapwm that works now.
Cheers for that stlarch.


You're just jealous because the voices only talk to me.

Offline

#280 2012-06-19 23:02:53

Crunch
Member
From: -+-
Registered: 2011-02-17
Posts: 56

Re: dminiwm snapwm & bipolarbar

Tried every way ( pull, new clone, aur ) here and all are giving similar results, instead of completely crashing, the client switches desktops, but it does not show on the new desktop and all keyboard shortcuts stop working, but only on the desktop that had a client moved to it along with the original, while all the others remain perfectly functional.

i.e. Moving urxvt from 1 to 2, the bar shows that there is a client on 2 but it is not visible. And both 1 and 2 become unfunctional, while 3->6 still work perfectly.


Registered Linux user #536591.

Offline

#281 2012-06-19 23:34:28

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

@Crunch it passed all my tests here but try a git pull now. I changed the function a little so it might help.

Cheers


You're just jealous because the voices only talk to me.

Offline

#282 2012-06-19 23:37:28

Crunch
Member
From: -+-
Registered: 2011-02-17
Posts: 56

Re: dminiwm snapwm & bipolarbar

Working beautifully now, thanks :-D


Registered Linux user #536591.

Offline

#283 2012-06-25 04:07:55

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

Some snapwm news.

Now when a window is clicked on to focus it the window is focused and the mouse click is sent to the window.
I've never liked double clicking anything...

Cheers


You're just jealous because the voices only talk to me.

Offline

#284 2012-06-27 23:21:38

Crunch
Member
From: -+-
Registered: 2011-02-17
Posts: 56

Re: dminiwm snapwm & bipolarbar

Something else I noticed, again not sure if you meant it to be like it or if I'm just nitpicking at this time, lol.

When a desktop name is say... 8 chars long, then it spaces out every other desktop name with the same spacing regardless of length, so you end up with,

[___1___][___2___][___3___][DESKTOP]

instead of 

[_1_][_2_][_3_][_DESKTOP_]

Last edited by Crunch (2012-06-27 23:22:30)


Registered Linux user #536591.

Offline

#285 2012-06-28 00:16:57

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

Yep it was done like that on purpose for a couple of reasons.
    1. I'm lazy and that was easiest
    b. it keeps a uniform look for all the buttons

I'll see if I can change it but if it is going to overcomplicate things please refer to 1 above.
wink

Cheers


You're just jealous because the voices only talk to me.

Offline

#286 2012-06-28 01:26:51

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

@Crunch there wasn't that much to it
tZWphag
Hope everyone else is ok with it.

Cheers


You're just jealous because the voices only talk to me.

Offline

#287 2012-06-29 06:31:41

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

Some snapwm news.

I found out by accident that in stacking mode with a window open the desktop switcher or bar could be moved around or resized, not exactly what I was going for. With no open window trying to do that would crash the wm. I don't know if anyone would try to do that but I stopped that from happening.

edit: Similar sort of thing for dminiwm, bars and unmanaged windows can't be moved now. I made it quieter on quit too.

Cheers

Last edited by moetunes (2012-06-29 06:55:04)


You're just jealous because the voices only talk to me.

Offline

#288 2012-07-05 02:43:03

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

Some snapwm news.

This wasn't an easy one to sort out... If I was on a different desktop to pysol when it had a popup window, that popup would be registered as a transient window on the desktop I had open, even tho the popup would only show on the desktop that pysol was on. At least I know what I mean. Anyway the open windows wouldn't have focus after that. I haven't come across any other apps that would do that but I don't use every app. So if you tried this out and came across the situation where you couldn't focus any window then I'm thinking it's fixed now.
I am lazy at heart so now clicking anywhere on the bar will swap to the previous desktop. Handy for when I'm watching a movie and want to have a quick check on my mail or chat. wink

Cheers

Last edited by moetunes (2012-07-05 02:45:54)


You're just jealous because the voices only talk to me.

Offline

#289 2012-07-06 09:06:54

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

Some snapwm news.

Another fix for transient window mapping. Xmms, when opened with the playlist and equaliser showing, didn't have focus. One of them was a transient window... Seems mostly I fix two things and break one. So that's all good now.
I'm happy enough with the way things are working that it seems time to take the next big step in the evolution of this window manager.

Cheers


You're just jealous because the voices only talk to me.

Offline

#290 2012-07-06 16:24:06

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,250

Re: dminiwm snapwm & bipolarbar

metunes wrote:

I'm happy enough with the way things are working that it seems time to take the next big step in the evolution of this window manager.

Ok, I'm curious but scared. yikes It's been working so good I haven't had anything to complain about.

Offline

#291 2012-07-10 19:12:56

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

stlarch wrote:

Ok, I'm curious but scared. yikes It's been working so good I haven't had anything to complain about.

It shouldn't be too scary I hope. It's been a mid-long term goal to have everything in the window manager updatable from files while running, similar to fluxbox which I used for years. At this stage there's files for the keyboard shortcuts and apps settings as well as the rc file as it is now, but it'll be a little while before I release it as works busy and making sure it doesn't crash if things are done wrong is a slow and tedious process. The amount of wrong that can be done seems to grow exponentially as I add things...

Cheers


You're just jealous because the voices only talk to me.

Offline

#292 2012-07-20 08:02:32

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

Some good people were having trouble using some_sorta_bar with monsterwm. It's hard to have a bar take two inputs.
I think I've come up with a solution though.
I called it splitter_bar
Pipe monsterwm into splitter_bar same as for some_sorta_bar and it'll be shown on the left but also set the root windows' name using conky or a script and it'll be shown on the right
(in ~/.xinitrc do e.g. conky | while read -r; do xsetroot -name "$REPLY"; done &).
Here's a pic:
tZXN2eQ
It's very hackish at the moment but seems to work fine. As time permits I'll try and tidy the code up some...

Cheers

Last edited by moetunes (2012-07-20 09:46:11)


You're just jealous because the voices only talk to me.

Offline

#293 2012-07-20 09:10:53

el mariachi
Member
Registered: 2007-11-30
Posts: 587

Re: dminiwm snapwm & bipolarbar

thanks :')

Offline

#294 2012-07-20 11:27:57

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: dminiwm snapwm & bipolarbar

Thanks again for splitter_bar!

I have an issue with it, where if I change volume by pressing the key i've defined for volume several times after eachother, then the leftside output gets mangled, and repeated a couple of times...

I'm using amixer-calls in monsterwm's config.h to control volume...

Here's a shot to illustrate better:
tZXN4dA

thanks in advance!

Offline

#295 2012-07-20 11:37:53

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: dminiwm snapwm & bipolarbar

try this, printing the left side info, only when the input matches the valid string

while read -t 60 -r wmout || true; do
    if [[ $wmout =~ ^(([[:digit:]]+:)+[[:digit:]]+ ?)+$ ]]; then
        unset r
        read -ra desktops <<< "$wmout" 
        for desktop in "${desktops[@]}"; do
            IFS=':' read -r d w m c u <<< "$desktop"
            ((c)) && fg="&4" i="${ms[$m]}" || fg="&3"
            ((u)) && w+='&5!'
            r+="$fg${ds[$d]} ${w/#0/&8-} &3:: "
        done
        r="${r%::*}"
        printf "%s\n" "$r&5[&3$i&5]"
    fi
done < "$ff" | splitter_bar &

.:[ git me! ] :.

Offline

#296 2012-07-20 11:44:40

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: dminiwm snapwm & bipolarbar

thanks alot cookie, that works perfectly! Much appreciated!

@moetunes

Sorry for reporting unrelated things...

Offline

#297 2012-07-20 14:31:00

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,250

Re: dminiwm snapwm & bipolarbar

Thanks for splitter. I know it's brand new but I thought I would mention a couple things I've noticed: conky doesn't seem to get aligned all the way to the right here and the first icon gets a little mangled sometimes. Here's a screenshot:
tZXQwOQ
It is working though. smile I'll keep playing with it, maybe it's something I'm doing. Thanks again.

Offline

#298 2012-07-20 19:18:39

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

@stlarch if you are using conky to set the root windows' name in .xinitrc the same as you would for snapwm then what you're doing is right. Try a git pull now, I think it's sorted. Thanks for speaking up. wink

Cheers


You're just jealous because the voices only talk to me.

Offline

#299 2012-07-20 19:39:46

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,018

Re: dminiwm snapwm & bipolarbar

That fix ^ wasn't quite right so try another git pull and it should be good.
(I can be a bit too optimistic at times though...)

Cheers

Last edited by moetunes (2012-07-20 19:49:48)


You're just jealous because the voices only talk to me.

Offline

#300 2012-07-21 12:52:06

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,250

Re: dminiwm snapwm & bipolarbar

It still doesn't get aligned all the way to the right. And the left part from monsterwm doesn't start up right away either now. As soon as I open a window, the left part comes up and stays. The mangling of the the first icon seems to be fixed. Here's what I have in my .xinitrc:

ff="/tmp/monsterwm.fifo"
[[ -p $ff ]] || mkfifo -m 600 "$ff"

ds=("web" "term" "foo" "misc")

ms=("T" "M" "B" "G" "F")

while read -t 60 -r wmout || true; do
    if [[ $wmout =~ ^(([[:digit:]]+:)+[[:digit:]]+ ?)+$ ]]; then
        unset r
        read -ra desktops <<< "$wmout"
        for desktop in "${desktops[@]}"; do
            IFS=':' read -r d w m c u <<< "$desktop"
            ((c)) && fg="&3" i="${ms[$m]}" || fg="&2"
            ((u)) && w+='&9!'
            r+="$fg${ds[$d]} ${w/#0/&8-} &7:: "
        done
        r="${r%::*}"
        printf "%s\n" "$r&2[&3$i&2]"
    fi

done < "$ff" | splitter_bar &

conky | while read -r; do xsetroot -name "$REPLY"; done &

monsterwm > "$ff"

Offline

Board footer

Powered by FluxBB