kwin-typescript-template
shell-scripts
kwin-typescript-template | shell-scripts | |
---|---|---|
1 | 12 | |
11 | 4 | |
- | - | |
10.0 | 3.4 | |
over 1 year ago | about 2 months ago | |
Shell | Shell | |
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.
kwin-typescript-template
-
Resize window to specific size (Wayland)?
For starters, https://develop.kde.org/docs/extend/plasma/kwin/ (https://forum.kde.org/viewtopic.php?f=305&t=163749&p=454755#p454755), https://github.com/RubixDev/kwin-typescript-template , and https://doc.qt.io/qt-5/qjsengine.html seem to be useful - would there be any other places (FAQ, best practice, ...) that would accelerate ramp-up / iterating for writing a meaningful kwin script, preferably in Typescript?
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.
What are some alternatives?
bashew - bash script micro-framework - from small stand-alone script to complex projects with CI/CD and testing
Grid-Tiling-Kwin - A kwin script that automatically tiles windows
yanjing - KWin script to resize and move windows
tile-gaps - KWin script to add space around windows touching a screen edge or other window
bash_loading_animations - Ready-to-use loading animations in ASCII and UTF-8 for easy integration into your Bash scripts.
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
trust - Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
floating-tiles - KWin script to prevent windows from overlapping
nx-library-starter - A starter project that is set up using NX Monorepo to create new Typescript libraries for the web
Fusuma - Multitouch gestures with libinput driver on Linux
KWin-window-positioning-scripts - KWin scripts controlling window placement on multi-monitor setups
Plasma-window-decorations - Window styles for KDE Plasma highlighting the active window in the color scheme's accent color