shell-scripts
KWin-window-positioning-scripts
shell-scripts | KWin-window-positioning-scripts | |
---|---|---|
12 | 7 | |
4 | 47 | |
- | - | |
3.4 | 0.0 | |
about 1 month ago | about 1 year ago | |
Shell | JavaScript | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shell-scripts
-
Whats your favorite workflow in KDE?
Touchpad gesture to alt-tab.
- Is it possible to use KDE's own Custom Shortcuts to print sentences?
-
Three-finger gesture for equivalent of alt-tabbing
Not natively. If you're on X11, you can use third-party tools for touchpad gestures; I have libinput-gestures and put together this (slightly hacky but functional for me) script which you're welcome to use.
- KWin Script - Cycle over windows in both directions
-
Apps open in different desktops at times rather than the one I open it in
For the time being, you can use this script as a workaround.
-
[Help] Meta only active Krunner, not toggle
Here is a script I created for this purpose: https://github.com/nclarius/shell-scripts/tree/main/toggle-krunner
-
Print-style debugging for kwin-scripts
Yes, journalctl. A GUI alternative is KSystemLog. You can filter the journal to KWin by _COMM="kwin_x11"/"kwin_wayland", however that output is still very noisy. It helps to prefix the print statements so you can filter by those with -g; here is an example. Note that for journal you can get live updated output with -f. If you're on Wayland and are not getting any output, try systemd boot.
-
How so setup only 1 Konsole windows be actived
Use this script I wrote with konsole.konsole as the window class: https://github.com/nclarius/shell-scripts/blob/main/open-on-current-desktop/open_firefox_on_current_desktop.sh
-
Floating Tiles v5.0
Always open on active/focused/primary screen/Always open on current desktop
-
KDE Activities - cannot open 2nd instance of chrome (switches back to 1st activity)
I wrote myself a custom launcher script to solve the same annoying behavior with virtual desktops and Firefox: https://github.com/nclarius/shell-scripts/tree/main/open-on-current-desktop Perhaps that can be used as a starting point to write a modification for activities and with Chrome.
KWin-window-positioning-scripts
-
After system update league stuck on wrong monitor
Sorry for late reply, moving. No, it does not remember it and always starts on the wrong monitor. I even tried this script. https://github.com/nclarius/KWin-window-positioning-scripts/tree/main/always-open-on-primary-screen
-
Window gaps with floating panels
See https://github.com/nclarius/KWin-window-positioning-scripts/issues/16. ***
-
Floating Tiles - Prevent Window Overlap v6.0
You might also be interested in some of my other window management scripts: - Always Open on Active/Focused/Primary Screen - Window Gaps - Keyboard-controllable move/resize commands
-
Always Open on Active/Focused/Primary Screen v3.0
or GitHub: KWin Window Positioning Scripts
-
Floating Tiles v5.0
Always open on active/focused/primary screen/Always open on current desktop
-
(Dual monitor) Some apps open on my primary monitor while some open on my secondary monitory
Re: " windows don't cascade if the mouse didn't move". That is annoying. For me, the exact behavior seems oddly app dependent. You can raise an issue on https://github.com/nclarius/KWin-window-positioning-scripts and discuss possible solutions, if any.
-
Floating Tiles: no-stacking stacking window management for KWin
Keyboard shortcut to swap the windows on the left and right halves of the screen: https://github.com/nclarius/KWin-window-positioning-scripts
What are some alternatives?
Grid-Tiling-Kwin - A kwin script that automatically tiles windows
krohnkite - A dynamic tiling extension for KWin
tile-gaps - KWin script to add space around windows touching a screen edge or other window
kwin-quick-tile-2 - KWin Script which adds shortcuts that behave like the 2x2 Snap feature from Windows 10 and adds top/bottom half tiling
floating-tiles - KWin script to prevent windows from overlapping
bismuth - KDE Plasma add-on, that tiles your windows automatically and lets you manage them via keyboard, similarly to i3, Sway or dwm.
Fusuma - Multitouch gestures with libinput driver on Linux
automatic-manual-duplex-printing - Shell script to semi-automatize manual two-sided printing
Plasma-window-decorations - Window styles for KDE Plasma highlighting the active window in the color scheme's accent color
KWin-window-geometry-scripts - KWin scripts to control window geometry via keyboard shortcuts