Author Topic: Bspwm edition announcements  (Read 63894 times)

0 Members and 1 Guest are viewing this topic.

Offline doaN

  • Neuling
  • *
  • Posts: 14
Re: Manjaro Bspwm respin
« Reply #15 on: 07. November 2014, 09:25:45 »
Really excited by this edition.

Awesome work, thanks!

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #16 on: 07. November 2014, 22:49:54 »
Next version is progressing nicely. I have added mygtk-menu, which tiles new apps to where menu was opened, and another menu, which allow user to control wrkspaces, layout and other stuff. I have added functions to the top panel. It has clickable xboomx for app menu, and clicking network indicator opens up nmcli_dmenu. I have now tried to limit number of AUR packages to minimum.

I still have some unresolved issues with upcoming release. As suggested by Ayceman, I added pulse-audio, and try to add scrollable volume indicator. Ideally I would want to click indicator to toggle mute, right click to open pavucontrol and scroll to change volume. However, bar does not yet seem to support having multiple mouse actions overlapping in one area. There is a patch for this, and LemonBoy might merge it into master branch in the future. In the meantime, I'll use the patched version.

More serious problem with volume indicator plan is that I can't find a script to get pulseaudio volume percentage. I have found some scripts, but they do not seem to work. Command pulseaudio-ctl prints the desired information, but also much else besides, and I dont know how to use grep/awk/cut to extract it from other stuff. Could somebody help me with this issue?

Also, if somebody knows how to trigger commands by clicking root window/desktop, it wuld be great. Window gaps of bspwm would go well together with openbox style menu.

Offline oli

  • Vollwertiges Mitglied
  • ***
  • Posts: 123
  • Branch: stable
  • Desktop: Openbox, Pekwm
  • GPU Card: Intel core processor integrated graphics controller
  • GPU driver: Free
  • Kernel: 3.18 or 3.16
  • Skill: Novice
Re: Manjaro Bspwm respin
« Reply #17 on: 08. November 2014, 14:45:49 »
More serious problem with volume indicator plan is that I can't find a script to get pulseaudio volume percentage. I have found some scripts, but they do not seem to work. Command pulseaudio-ctl prints the desired information, but also much else besides, and I dont know how to use grep/awk/cut to extract it from other stuff. Could somebody help me with this issue?

Try this:
Code: [Select]
pulseaudio-ctl | grep "Volume level" | tr -d [a-z] | cut -c 20-22
It's slightly weird because the output contains some colour information...
« Last Edit: 08. November 2014, 14:58:04 by oli »
Didn't we already pass that same stack of rocks twice?

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #18 on: 08. November 2014, 21:52:01 »
Many thanks! I will try it out.

Offline d34dkn16h7

  • Neuling
  • *
  • Posts: 27
  • Branch: unstable
  • Desktop: bspwm
  • GPU Card: AMD Radeon HD 7670M & Intel HD 4000
  • GPU driver: free for now
  • Kernel: 313 x64
  • Skill: Novice
Re: Manjaro Bspwm respin
« Reply #19 on: 09. November 2014, 00:22:39 »
Guys, Manjaro is awesome, but bspwm spin.. it's phenomenal for me. Why don't we compile some list of what needs to be done, i've been looking for an entry for linux programming and that list seems like a good start.

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #20 on: 09. November 2014, 22:39:44 »
If someone wants to contribute, help is certainly welcome. I hope this could become community edition that could be distributed in same place as other community editions, once certain level of quality is reached.

Here is a list of planned features and things to do for next release of bspwm respin:

General features:
-Autoupdating mygtkmenu ( https://bbs.archlinux.org/viewtopic.php?id=87975)
-Make mygtkmenu spawn by clicking root window, like openbox menu, so that window gaps become useful and running apps with mygtkmenu without manual tiling becomes possible
-move to pulseaudio
-enable exfat support
-mouse support for dmenu
-dmenu asks once for each app if it should be run in terminal or not http://codepad.org/c6U8u8my
-firefox instead of google-chrome
-remove gnome pie
-remove lxappearance as redundant
-use dex to autostart postinstall script?
-update postinstall script
-update conky
-add herbstluftwm/wmfs2

Bspwm features:
-Overlapping borders when window gap is set to 0?
-Loop feature
-Script to detect new monitors and create workspaces for them
-Somehow make aforemention script trigger when new monitor is plugged in?
-Make sure bspwm runs its bspwmrc naturally without workaround
-mouse follows focus: moving focus with keybindings to another window moves mouse to the center of that window

Look:
-Gtk theme, icon theme
-Matching bspwm colors (window borders)
-Matching bar colors
-Script to generate colors based on wallpaper on reboot?
-compton.conf: shadows and possibly animation?

Panel:
-Clickable top panel
-Multiple click actions on one area (->scrollable volume and workspaces)
-Font based icons for panel
-----
Planned panel layout:
M>••••>L>title<Wlan<Vol%<Bat%<Ram%<Cpu%<Time

Left, separated by >:
-Manjaro icon, left click for xboomx, right click for xfce app finder
-Ball shaped workspace indicators, left click to focus workspace, right click to move active window to workspace. Scroll to cycle between workspaces.
-Bspwm layout (monocle/tiling), click to cycle, right click for mygtkmenu based window manager action menu

Center:
title of active window

Right, separated by <:
-wlan signal strength and essid. Click to open dmenu_nmcli. Right click to open some dialog to connect to hidden network
-Volume %, scroll to change, click to toggle mute, right click to open pavucontrol
-Battery %, scroll to increase/decrease screen brightness, left click to see time left
-Ram %, click to open file manager, right click to open htop
-Cpu %
-Time
-----
Things on which contribution is possible/useful:
- script for multimonitor support. Relevant information for making the script can be found here: https://wiki.archlinux.org/index.php/Bspwm#Note_for_multi-monitor_setups
- PKGBUILD for rootcomas fork of the bar, so we can have multiple actions in one clickable area already before lemonboy merges this to master branch. The pull request is 3 months old. https://github.com/rootcoma/bar
- figure out how to make mygtkmenu spawn like openbox menu. Can xdotool or something be used to monitor when rootwindow is clicked?
-colorscheme, color and theme files
-compton.conf
-suggestions, criticism
-help/instructions about how to implement midi support
-ideas about how to make system tray integrate with bar regardless of different screen resolutions

Offline audiosl4ve

  • Neuling
  • *
  • Posts: 46
  • Linux scrub
  • Desktop: i3-gaps
  • GPU Card: Intel HD
  • Kernel: 64bit 4.1.11
  • Skill: Novice
Re: Manjaro Bspwm respin
« Reply #21 on: 10. November 2014, 20:49:43 »
i'll be moral support for you guys because i'm still novice, but i like tiled wm-ers and i'm really looking forward this release. Keep up the good work and spirit high!  ;D

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #22 on: 11. November 2014, 16:47:16 »
The color arguments of pulseaudio-ctl proved too difficult to pipe and parse for my meager skills. On the bright side, I found that pamixer does exactly what I need, without editing output at all. Bad news is that it is AUR package, and has boost as make depency. Boost is enormous, and I have no idea what it does. I wonder what I should do with the issue.

Offline oli

  • Vollwertiges Mitglied
  • ***
  • Posts: 123
  • Branch: stable
  • Desktop: Openbox, Pekwm
  • GPU Card: Intel core processor integrated graphics controller
  • GPU driver: Free
  • Kernel: 3.18 or 3.16
  • Skill: Novice
Re: Manjaro Bspwm respin
« Reply #23 on: 11. November 2014, 18:40:52 »
I guess my suggestion didn't work then? Its weird because it works on my system:

Code: [Select]
[oli::~]:) pulseaudio-ctl | grep "Volume level" | tr -d [a-z] | cut -c 20-22
79

Maybe if you show me the output of

Code: [Select]
pulseaudio-ctl | less

then I can see what is different about your output...

Didn't we already pass that same stack of rocks twice?

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #24 on: 12. November 2014, 07:59:20 »
pulseaudio-ctl | less yields:

Code: [Select]
ESC[01m/usr/bin/pulseaudio-ctl ESC[00mESC[01;34m{up,down,full,normal,mute}ESC[00m

 ESC[01mWhere ESC[00mESC[01;34mupESC[00mESC[01m and ESC[00mESC[01;34mdownESC[00mESC[01m adjust volume in ±5 % increments.ESC[00m
 ESC[01mWhere ESC[00mESC[01;34mfullESC[00mESC[01m adjust volume to 100%ESC[00m
 ESC[01mWhere ESC[00mESC[01;34mnormalESC[00mESC[01m adjust volume to 70%ESC[00m
 ESC[01mWhere ESC[00mESC[01;34mmuteESC[00mESC[01m toggles the mute status on/off.ESC[00m

 ESC[01mVolume level  : ESC[00mESC[01;31m47 %ESC[00m
 ESC[01mIs sink muted : ESC[00mESC[01;32mnoESC[00m
(END)

pulseaudio-ctl | grep "Volume level" | tr -d [a-z] | cut -c 20-22 returns
Code: [Select]
zsh: no matches found: [a-z]

Offline oli

  • Vollwertiges Mitglied
  • ***
  • Posts: 123
  • Branch: stable
  • Desktop: Openbox, Pekwm
  • GPU Card: Intel core processor integrated graphics controller
  • GPU driver: Free
  • Kernel: 3.18 or 3.16
  • Skill: Novice
Re: Manjaro Bspwm respin
« Reply #25 on: 12. November 2014, 08:56:11 »
O, looks like there is some difference between how zsh and bash are doing the tr command. Try this instead:

Code: [Select]
pulseaudio-ctl | grep "Volume level" | less | cut -c 36-38
In case you interested, the grep part finds the line containing "Volume level" and returns it, less exposes the color codes and cut -c 36-38 should remove everything except the 36th,37th and 38th characters from the resulting line which should should just leave the volume percentage.
Didn't we already pass that same stack of rocks twice?

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #26 on: 12. November 2014, 18:57:38 »
Awesome! That works. Many thanks!

Offline Reuben

  • Neuling
  • *
  • Posts: 2
  • Skill: Novice
Re: Manjaro Bspwm respin
« Reply #27 on: 14. November 2014, 14:29:08 »
The sourceforge project still seems down, has anyone got a new link to the ISO? Would love to give this a try.

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #28 on: 14. November 2014, 19:55:44 »
I was going to build new iso first, but I can upload the old iso in the meantime.

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Manjaro Bspwm respin
« Reply #29 on: 15. November 2014, 07:43:24 »