Code Monkey home page Code Monkey logo

mudeer's People

Contributors

boris-barboris avatar darkstego avatar mehyar-als avatar pascalif avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mudeer's Issues

Fullscreen tiled has stopped working

Sadly, the killer feature of Mudeer, tiling the fullscreen version of an application, has stopped working in Fedora 39 on KDE Wayland. It's running KDE Plasma 5.27.9, frameworks 5.111.0, and QT 5.15.11.

Now, apps lose their fullscreen interface and go back to windowed when using a Mudeer shortcut to push them to a corner of the screen.

Tiling kb shortcuts apply to desktop (wallpaper) and Application Dashboard

Sometimes, if I'm not paying attention, I try to tile a window while none are active, or, since I'm using the meta key as the base for all my shortcuts, I accidentally trigger the Application Dashboard and subsequently move/resize it.

It's just an annoyance, I know how to reset the desktop if this happens even though I've disabled the fullscreen mudeer shortcut. however, it "would be nice" if it were possible to limit the tiling to window type of Normal, Dialog, and Utility.

When I get a chance this weekend I'll take a look and see if it's easy for me to do and submit a patch if I do, but I figure I'd note this here.

Wish: Save/Restore Window settings / positions

Hi,

a wish, and maybe one that isn't able to be granted, but lets try:
It would be nice, if Mudeer could save Window status, that is position and size, of windows, and restore them. That is, with a laptop that gets connected and disconnected to an external monitor, windows move around.

Concrete example:
Laptop has a 4k screen. External monitor attached is 5k. Usual active is 5k, so all of Mudeers settings work nicely there, and one sorts the windows like one likes.
Now detach the external monitor (say, on way to work, or because one uses an HDMI switch to do something on a different machine), internal laptop screen takes over. As its not ultra wide, window placing there is wrong.
Attach external monitor again (switch back) - window placing stays wrong.

It would be great, if Mudeer could (maybe optionally) support fixing up the windows in such a situation and put em back where they belong on UW.

Greetings,
Ganneff

feature request: allow modify shortcuts

Thanks first for making such a useful tool for the KDE

Currently, some shortcuts conflict with the system's native shortcuts, e.g. Meta + D (Win + D) = show desktop, which is already a familiar operation for users from Windows.

The readme mentioned we can check out the conflict shortcut in the system setting, but instead of modify some commonly used shortcut, will it possible to DIY the shortcut for this plugin?

For example, I also use the Rectange App on Mac, which provides the DIY function, it would be great that I can keep consistent between my different devices

Mudeer for huge 4k monitor

I'm looking for a tiling window manager that can help me with my setup. Let let me know if/how you think mudeer could be applied to the following scenario.

I have a single huge flat (not curved) 4k monitor. The monitor is so big that I barely look at the top left/right corners and in fact spend most of my time looking at the bottom center of the screen where I swap windows in/out of that area as I work on them. I'd like to separate the display in 6 different zones (1..6) where the master zone where I focus my work is zone 5.

    25%             50%            25%
 _______________________________________
|          |                   |         |
|     1    |         2         |    3    |
|   Dash   |    Live Charts    |   IM    |     50%
|          |                   |         |
|__________|___________________|_________|
|          |                   |         |
|    4     |         5         |    6    |
|   Spawn  |      Master       |  Tasks  |     50%
|          |                   |         |
 __________|___________________|_________|

Column 1 (zone 1 and 4) takes up 25% of the width of the screen. Same thing for column 3 (zone 3 and 6), leaving the middle section with 50% of the screen. The status/menu bar is at the bottom of the screen, below all zones.

Most tiling manager have a way to make that grid layout work fine, but the next part is where things get tricky.

I currently have to manually move a window to zone 5 when I want to focus on it for more than a few seconds. I currently do that with the mouse and have to resize as best I can. And when I'm done, I have to move it back to where it was before the focus occured. I'd like to create a shortcut to move/resize a window to zone 5 and at the same time move the window currently in zone 5 to another zone (I could use zone 4 as a place to spawn new window and temporarily place unfocused windows).

So is this something mudeer can be customized to do? What are your suggestions regarding how to do this?

thanks for your input!

Unable to use dual full screen

Perhaps I'm just misunderstanding how I'm supposed to use the split full-screen or maybe I'm misundertanding the functionality itself. I should note I'm just using a regular size screen, I'm not sure if that should make a difference.

I'd like to watch a video in full screen mode on half my screen, while have a note taking application open on the other half. It doesn't matter to me if the note taking application is in full screen mode or simply occupies the rest of the screen in the normal window.

I have no other shortcuts set to meta+ctrl+shift+f, but I am unable to get a full screen application to use just half the screen as shown in the gif on the homepage.

I'm trying the following 2 ways: 1 starting with the video window simply in focus and the other with it already in full screen mode (taking up the entire screen).

meta+ctrl+shift+f + side arrow
meta+ctrl+shift+f release then meta+side arrow

same with meta+alt+shift+f

neither will make the application occupy just half the screen.

I'm running X11server on

Kubuntu 22.04
KDE Plasma Version 5.24.7
KDE Frameworks Version 5.92.0
Qt Version 5.15.3

Am I misunderstanding the functionality/usage or is this an issue?

Plasma 6 compatibility

After updating to Plasma 6 it seems Mudeer is no longer working.

Unable to find the installation in kwin scripts and it fails after trying to install manually with the following errors:

╰─❯ cd Mudeer && make install

(cd package && zip -r mudeer.kwinscript ./*)
adding: contents/ (stored 0%)
adding: contents/code/ (stored 0%)
adding: contents/code/mudeer.js (deflated 72%)
adding: contents/config/ (stored 0%)
adding: contents/config/main.xml (deflated 60%)
adding: contents/ui/ (stored 0%)
adding: contents/ui/config.ui (deflated 78%)
adding: metadata.json (deflated 51%)
(cd package && mv mudeer.kwinscript ../)
kpackagetool5 -t KWin/Script -s mudeer \
&& kpackagetool5 -u mudeer.kwinscript \
|| kpackagetool5 -i mudeer.kwinscript
kf.package: Invalid metadata for package structure "KWin/Script"
Package type "KWin/Script" not found
kf.package: Invalid metadata for package structure "KWin/Script"
kf.package: Cannot set a path in a package without structure "mudeer"
Error: Can't find plugin metadata: mudeer
kf.package: Invalid metadata for package structure "KWin/Script"
Package type "KWin/Script" not found
Successfully installed /home/stefanmatic/Workspace/volatile/Mudeer/mudeer.kwinscript

There seems to be a documentation for porting KWin 5 scripts to KWin 6
https://invent.kde.org/plasma/kwin/-/wikis/Porting-your-scripts-to-KWin-6

Project Feedback/Reviews

I couldn't find a feedback section for Github projects so I am keeping it as an issue. If you have time and have used the project please reply below with any feedback about the project. What are things you like or don't like? Are there special ways you use the project. This isn't the place for specific bugs or feature requests. But it is very useful to know what people find good and what they don't.

Provide and option to split the vertical segments into thirds or quarters

Currently the tiling allows to partition the screen space horizontally by halves, thirds or quarters, but vertically it only allows for half splits. Initially I felt this was sufficient since monitors have way more space in the horizontal than the vertical, and with my main use case being super-ultrawide monitor it has been enough, and it guided the design of using shortcuts to move the windows.

I do agree that limiting the vertical splits to only 2 segments doesn't work for everyone, so I am looking to see if there is a method to expand the current system to make it simple to allow more splits in the vertical while not making the shortcut system even more unwieldy than it already is.

One idea that I had was to allow for a sequential input mode, when enabled the same shortcuts that split by thirds and quarters can be pressed again quickly to move the window to the correct height. So if Super-a is the shortcut for the first third segment, then pressing it once will move the window to the left third of the screen, and pressing it again will move it to the top third of that segment. This will allow way more possible positions without the need for adding any more shortcuts. The idea is to make this mode an option and also allow the sequential button timeout period to be adjustable in the script's setting.

Feature: FullScreen Top + Buttom

Thanks for the awesome script!

Could you please add two shortcuts for "Fullscreen Top" and "Fullscreen Buttom". These would do the job of "Quick Tile Window to the Top/Buttom" but without the window jumping to the next monitor after second click. Adding the two options would make the experience more consistent.

i am trader . i am not ablet to install this thing on window . please help

C:\Users\parth>git clone https://github.com/darkstego/Mudeer.git
fatal: destination path 'Mudeer' already exists and is not an empty directory.

C:\Users\parth>cd Mudeer && make install
'make' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\parth\Mudeer>make install
'make' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\parth\Mudeer>install
'install' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\parth\Mudeer>

please make quick tutorial video or explain step in detail . this step is suggested by chat gpt but seem like not working

Fullscreen tiling only works on Xorg (wayland limitation?)

Hi, I was trying your script since I have one of those monitors but I've observed that while fullscreen tiling works nicely on Xorg. On Wayland it will just make the window become fullscreen in the normal way, but with the window width limited to what the shortcut used intends and centered. This sound like the kind of behavior it complicates to get applied on Wayland but since I actually don't know I leave this issue here just in case.

Other window operations seem to work pretty well on wayland btw.

Thank You.

Gap does not space evenly

This might be because the space (gap amount) is being added around each window so then doubling the space between windows. A solution might be to add the gap amount to the desktops border too.

image

KDE 6!

Looking forward to the KDE 6 compatibility. Script currently not working with the KDE 6 beta

Request: Center 2/3 and Center 3/4 settings

I really love this script, it adds like 90%+ of the functionality I'm looking for. One thing I think is missing is a 2/3 and 3/4 window that's centered. I know there probably isn't many people that would use this, but I certainly would. I'm a complete noob with javascript, so I can read .js, but I'm lost on how to add these options myself...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.