Comments (22)
I'm not familiar with the project, but have you tried using it with mod_dock? That works with most 3rd party status bars. I'd be curious to hear!
from notion.
Sorry, I have no idea how I'd do that. Would you point me in the right direction please?
from notion.
Sure! Some background is at http://notion.sourceforge.net/notionconf/node4.html#SECTION00410000000000000000. Basically you copy /usr/local/etc/notion/cfg_defaults.lua to ~/.notion/cfg_defaults.lua to be able to tweak it, comment out dopath("mod_statusbar")
and introduce dopath("mod_dock")
instead. You may want to also copy and tweak cfg_dock.lua
. Then just start the statusbar after starting notion. Does that help?
from notion.
Thanks.
Is there any documentation for the dock configuration file?
And how do I add a program to the dock?
Edit: It seems launching polybar automatically goes to the dock, sweet!! Thank you
from notion.
Cool! Could you provide any recommendations on what we could improve in our documentation to make this more obvious?
from notion.
Maybe mention that is_dockapp
is provided by the EWMH spec, so it should automatically load to the dock. And more information on what embedded and floating docks are, with screenshot examples.
At the moment it's quite hard to find things in the documentation, and even then it doesn't seem that clear. A wiki might be better.
If I have a better way to contact you, I could message you about anything I find unclear when I come across it.
from notion.
Maybe mention that
is_dockapp
is provided by the EWMH spec, so it should automatically load to the dock. And more information on what embedded and floating docks are, with screenshot examples.
Sounds good! What would you think would be a good place for these docs? In Configuring and extending Notion with Lua or perhaps by adding a README to mod_dock like we do for mod_xrandr?
At the moment it's quite hard to find things in the documentation, and even then it doesn't seem that clear. A wiki might be better.
I'm not convinced moving to a wiki would help. You can contribute to the documentation by creating pull requests on https://github.com/raboof/notion or https://github.com/raboof/notion-doc
If I have a better way to contact you, I could message you about anything I find unclear when I come across it.
I think github issues are the easiest to keep track of things.
from notion.
hmm.. I wonder how much effort it would be to add support for notion workspaces to polybar, similar to what it seems to have for i3 and bspwm.
from notion.
Might be interesting to track this as a separate issue. It probably reads some EWMH properties for that? It's been a while since I looked into that, but I vaguely remember this was a little tricky to fit in because Notion has workspaces per screen (which I really like) instead of workspaces spanning the screens (which IIRC EWMH is geared towards). I could be misremembering, though.
from notion.
perhaps by adding a README to mod_dock like we do for mod_xrandr?
Yes, that sounds good!!
I think github issues are the easiest to keep track of things.
Fair enough
from notion.
At the moment it's quite hard to find things in the documentation
For example, is autostarting applications documented anywhere? Like in i3. I found ioncore.exec_on()
, but I don't know where I should put that to start polybar after Notion starts.
The good thing about a wiki is that you can search every page at once, and create pages for rather specific situations (see arch wiki).
from notion.
perhaps by adding a README to mod_dock like we do for mod_xrandr?
Yes, that sounds good!!
Would you want to take a crack at PR'ing? 👼
from notion.
At the moment it's quite hard to find things in the documentation
For example, is autostarting applications documented anywhere? Like in i3. I found
ioncore.exec_on()
I'm not sure it should even be the responsibility of the windowmanager to start applications on startup - shouldn't that be on whatever also starts the windowmanager? I start my statusbar from my ~/.Xsession, for example. Nonetheless it would of course be helpful to explain this somewhere and give pointers to different ways of achieving that.
I don't know where I should put that to start polybar after Notion starts.
I think you could just put that in your main cfg_notion.lua
(http://notion.sourceforge.net/notionconf/node4.html#SECTION00400000000000000000)
from notion.
perhaps by adding a README to mod_dock like we do for mod_xrandr?
Yes, that sounds good!!
Would you want to take a crack at PR'ing? angel
I might, but I don't think I'm very good at explaining things.
I also have to finish setting up Notion first lol
At the moment it's quite hard to find things in the documentation
For example, is autostarting applications documented anywhere? Like in i3. I found
ioncore.exec_on()
I'm not sure it should even be the responsibility of the windowmanager to start applications on startup - shouldn't that be on whatever also starts the windowmanager? I start my statusbar from my ~/.Xsession, for example. Nonetheless it would of course be helpful to explain this somewhere and give pointers to different ways of achieving that.
I don't know where I should put that to start polybar after Notion starts.
I think you could just put that in your main
cfg_notion.lua
(http://notion.sourceforge.net/notionconf/node4.html#SECTION00400000000000000000)
Hmm, I'll look into using .Xsession. Thank you.
from notion.
I also have to finish setting up Notion first lol
😄
Hmm, I'll look into using .Xsession. Thank you.
It is probably a bit 'old-fashioned', but it works for me and it's the reason I haven't taken the time to find out how this would work on more 'modern' systems. Perhaps more 'modern' systems just make this the responsibility of the windowmanager and we should add/document this feature, but I'm not sure.
from notion.
Perhaps more 'modern' systems just make this the responsibility of the windowmanager and we should add/document this feature, but I'm not sure.
Most seem to. i3, and xfce for example.
I believe xfce has an autostart directory, and i3 just has a configuration file for it.
On a semi-related note; how do you change the wallpaper in Notion?
from notion.
Might be good to start separate tickets for separate topics ;)
On a semi-related note; how do you change the wallpaper in Notion?
You mean for 'floating' workspaces? I don't think Notion has anything specific for setting the background, it just relies on X11 for that. This means it will typically 'inherit' the background already set by your login manager, but you can update it with apps like xsetroot
(e.g. xsetroot -solid blue
) - I'm sure there are others. One thing I noticed is that the new background doesn't take effect until it is redrawn - so you might need to switch workspaces or move your window around to see it.
This is possibly a bug - perhaps the WM is notified of the background change and it is up to the WM to trigger the repaint? Not sure.
from notion.
You mean for 'floating' workspaces?
Hey, some people like transparent windows for their TWM ;-P
but you can update it with apps like xsetroot (e.g. xsetroot -solid blue) - I'm sure there are others. One thing I noticed is that the new background doesn't take effect until it is redrawn - so you might need to switch workspaces or move your window around to see it.
Hmm, I tried using feh
to set the background, but that didn't seem to do anything.
And yeah, it should probably be up to the WM to trigger the repaint. Since some people might have wallpaper slideshows or something
from notion.
You mean for 'floating' workspaces?
Hey, some people like transparent windows for their TWM ;-P
Sure! I was just asking for clarification, no judgement ;).
Hmm, I tried using
feh
to set the background, but that didn't seem to do anything.
feh --bg-fill /some/image
worked for me for a 'floating' workspace (with the caveat already mentioned above that it needs a nudge to redraw). Indeed on tiling workspaces I don't see the background image. I suspect Notion is drawing black squares over it on the tabs. I'm not sure if that's accurate and how easy it would be to make those transparent instead, though.
from notion.
You can set transparent background for tiled workspaces in the theme file of the theme you are using for example mine is ~/.notion/look_greenlight2.lua
and I have this line:
de.defstyle("frame", {
background_colour = "#000000",
transparent_background = true,
})
from notion.
I attach my 2 favorite customized theme files in case you want to try them.
from notion.
You mean for 'floating' workspaces?
Hey, some people like transparent windows for their TWM ;-P
Sure! I was just asking for clarification, no judgement ;).
Hmm, I tried using
feh
to set the background, but that didn't seem to do anything.
feh --bg-fill /some/image
worked for me for a 'floating' workspace (with the caveat already mentioned above that it needs a nudge to redraw). Indeed on tiling workspaces I don't see the background image. I suspect Notion is drawing black squares over it on the tabs. I'm not sure if that's accurate and how easy it would be to make those transparent instead, though.
It was because I needed to change my look.lua.
Now I have a service that changes the lockscreen and wallpaper every minute.
Though it would be nice if Notion redrew it automatically, or if I could trigger a redraw via a shell command
from notion.
Related Issues (20)
- OpenSnitch prompt not nicely positioned
- tiling->unsplit from the context menu crashes notion HOT 9
- compile error - libtu/locale.h:20:10: fatal error: 'libintl.h' file not found HOT 7
- Fresh install startup errors "Could not convert keysym to keycode" HOT 14
- How to change tiled-alt config? HOT 1
- Hide scratchpad when switching window to full-screen HOT 8
- __pthread_tpp_change_priority: Assertion failed HOT 10
- mod_dock: width of the *dock* area HOT 8
- EXTRA_LIBS doesn't work anymore HOT 14
- mod_notionflux: fchmod of socket always fails on FreeBSD HOT 2
- mod_xkb/xkbion: Per-window num/caps/scroll-lock?
- What exactly is mod_mgmtmode? HOT 1
- A more proper fix for the tiling->unsplit bug (#334)
- Strange behavior with Ghidra HOT 3
- Kludges for Gimp dialogs suggestions needed HOT 1
- Layout is not being saved HOT 3
- [notionwm.net] Links to Arch and Nix packages broken HOT 1
- What determines if a look is hidpi? HOT 1
- ioncore.goto_next directionals not really working in floating
- Clients mapped in fullscreen state get additional WGroupCW when switched to windowed state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notion.