Kwin6 script that gives your terminal Alacritty, Kitty(or any other window that can change the own window class to: huake1, huake2) the ability to drop down by shortcut.
Huake - in the language of the ancestors of the ancient Sumerians means preparing a product for the final stage
Why? - Do you love drop down terminals as much as I do? -I don't think so. Yakuake perfectly worked until Wayland, now if it is open on one virtual desktop, it no longer opens on another, cannot disable the right click menu. The latters concerns Tilda issue from 2021.
- show and hide by shortcut,
AlacrittyorKittyor any other program that can override your window class tohuake1andhuake2 - maximize the window or configure his size and position on the screen
- always open on configured screen or open on active screen
- configure Kwin properties of these windows:
skip Taskbar,keep above,no Border,on all desktops
- kwin 6.x.x
- Desktop session: Plasma(Wayland) (X11 will work too, but not supported)
- install kwinscript
- add a program(
alacritty,kittytested) with parameters that override the window class tohuake1orhuake2to Autostart video - if you are using tiling scripts you need exclude
huake1andhuake2window classes if you don't want to dropdown terminals will be tiled
- Download the kwinscript file
- Open
System Settings>Window Management>KWin Scripts - Press
Import KWin script...on the top-right corner - Select the downloaded file
Alternatively, through command-line:
get info about package:
kpackagetool6 -t KWin/Script -s huake
install:
kpackagetool6 -t KWin/Script -i huake-x.x.x.x.kwinscript
upgrade:
kpackagetool6 -t KWin/Script -u huake-x.x.x.x.kwinscript
uninstall:
kpackagetool6 -t KWin/Script -r huake
Make sure you have npm and 7zip packages installed.
The simplest method to automatically build and install kwinscript package would be:
make install
You can also build .kwinscript package file using:
make package
uninstall package:
make uninstall
- Reboot.
Kitty
kitty --class 'huake1'
Alacritty
alacritty --class huake1