Comments (4)
@dalaidakkar great, thanks! so what needs to be done here is that we document this 😄
The lua console is 'notionflux' - @wilhelmy has recently done some great improvements to this tool. To get access to these improvements, you'll have to build Notion from source.
from notion.
I had some luck reattaching an accidentally detached (via the context menu) WGroupWS:
lua> ioncore.current():manager():manager():manager():manager()
WGroupWS: 0x7616f8
lua> s=ioncore.goto_next_screen()
nil
lua> s
WScreen: 0x764498
lua> ioncore.current():screen_of()
WScreen: 0x54b118
lua> s:attach( ioncore.current():manager():manager():manager():manager())
WGroupWS: 0x7616f8
This could be a basis for moving workspaces around between screens.
from notion.
you can already move and even nest workspaces inside a frame:
- go to workspace you want to detach
- context menu on any tab > workspace > toogle tag
- go to target workspace / frame
- menu on destiny frame tab > attach tagged
(can get a little confusing at first) also first save your session in case you want to restore your previous layout just exit and log back.
How did you get that lua console? I want to make some kind of bash script including notion commands to manage frames/workspaces, is that possible?
from notion.
Injecting lua code is already possible without my pimped-up notionflux, by using the plain old notionflux. If you want to script notion (edit: from bash), you can use notionflux (old or new) to inject commands. (Edit: but I'd suggest to use lua for scripting, maybe build a utility library and call into that from bash via notionflux.)
As for attaching workspaces this way, unfortunately it's broken. Using the method you described I've found myself with two WGroupWSes attached where only one should be (and them behaving in a weird way), and it also doesn't allow for easy-access keybindings to change the order of workspaces.
Experiments like the one I posted above are exactly the reason I extended notionflux the way I did, you're welcome to try, but the recent changes are mostly about interactive use, not use within scripts.
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.