-
Notifications
You must be signed in to change notification settings - Fork 1
Some possible QOL additions [enchancement] #2
Comments
I can give you a general idea about some of these suggestions right now, but some of the possible ones may not be implemented for a while because I have school tomorrow.
|
A lot of keyboard shortcuts were added with v0.3.0. Try some of them out if you'd like, and see if there are any more you need. |
Seems like combos not work under wayland (not tested on x11) Also idea for improvement - add possibility lo remember app position in grid. If we has some apps, whats we launch on autostart, will be good to remember and restore his arrangement on session start. Also there no publik API from kde? Ill be heppy to join on project, but you does work in blind... meh. You a hero |
Keyboard shortcuts work for me, have you updated your script and shortcuts? I know for a fact that they won't work (along with most other things) on X11. I don't think there's any way to remember app position through a script, as scripts don't offer any persistent data that I know of other than configs. |
as i see, in tileClient func, you checking free position through loop for save current app position, we can add option for required apps, and save count data from this loop into cache or something like. And for restoration, just use counter for app. Key combos did,t work for me |
I guess I could add an option like that, but it would not persist on restart and would only work if the layout was created in the right order to be able to place the tile where it's needed. Honestly I don't really see a use case for this feature and don't remember anything similar on i3 or dwm or anything but what could go wrong I guess? If keyboard shortcuts don't work and interfere with applications, I think you may just have to change them. KWin should have priority in most places and almost no applications I know of use the meta key and can't be configured otherwise. Sorry, but I just don't think there's a way to make script keybinds override app shortcuts if they don't already. Bismuth probably had some weird and not entirely scripted way that they did it, if they did. |
I tried to change it several times. It doesn't work for some reason. |
Did you update the script to v1.0.0 and restart KWin? If you did, this may be a larger bug with the script. Turn on debug mode in the settings and restart Plasma. Execute the following command after trying to use a few keybinds -
and give me the output. |
seems like it just didn't catch any input. i bind untile/retile into meta+f, but it similar to any combinations
also i see, autoretiling works not all times. maybe it depends to this broke function call, or not in design now: |
I don't see anything in the log that suggested moving windows with keybinds. If you have a window that's untiled, then it will not retile if you move it into a new desktop. Windows will also not tile if there is no space in the layout. Can you send pictures or videos of this? |
well, that's exactly that problem - binded combinations doesn't recognized by script. Now it empty cause i temporary switched back to bismuth Seems like shortcuts just didn't call binded functions. I tried different combos through meta/ctrl/alt etc. |
I know why the shortcut duplicated, it's because I changed the internal shortcut ID with update 0.3.0. You can go into your ~/.config/kglobalshortcutsrc and delete the entry that just says "RetileWindow" All I can say for the other issues is that they work on my machine. I can look at it later. |
Are the shortcuts still broken because they are overwritten by other applications, or could you find a fix? |
Sorry, idk where to find API docs to new tile system for adequate write and connect functions, but i can suggest some improvements:
Floating windows always on top:
In theory, we can add window role for black/whitelisted apps (client.resourceClass, if i right understand code)
Or make another list for app, what's we need to guaranteed been floating
Prevent change screen, when retiling
As i see, we has func desctopChange with checking client.screen, but now on retiling it can change current app screen to main. Maybe we need add function for checking selected screen on retile, orr add suboption for app for remember it.
Add possiblity to save/remove user templates
Now we has only 3 default template on tile management screen. Idk, where find access to this, but if possible, we can realize this with create 2 new lists: 1 with user templates and second with default user, what's replace default list, if we has our custom templates, and add func to checking, for prevent user remove defaults.
Rearranging tiling inside areas and in global screen area through key combos (if possible)
Some code improvements
Like replace black/whitelists and some another lists from Array to Map's/Set, for prevent addition of same names and redundant rechecking through loops
The text was updated successfully, but these errors were encountered: