Skip to content

kwin script that shows & hides WezTerm via global hotkey

License

Notifications You must be signed in to change notification settings

Xinkai/kwin-wezterm-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KWin-WezTerm-Toggle

This is a KWin script for toggling the visibility of WezTerm.

Works with KWin 6 + Wayland. There is also a KWin 5 branch.

Useful before it is natively provided: wez/wezterm#1751

Installation

# This script does not start WezTerm. It is up to you how you start WezTerm.

# 1. Clone this repo
cd $ThisRepo

# 2. Adjust `KEY_SEQUENCE` in `main.js` if you want.
head contents/code/main.js

# 3. Install kwin script
kpackagetool6 --type=KWin/Script --install .

Other commands

# Uninstall
kpackagetool6 --type=KWin/Script --remove wezterm-toggle # Needs logout, because KWin wouldn't unregister old hotkey and its callback.

# Debug
plasma-interactiveconsole --kwin
qdbus org.kde.KWin /KWin showDebugConsole
journalctl --user --boot 0 --follow --identifier kwin_wayland

# List
kpackagetool6 --type=KWin/Script --list # --global

License

MIT License.

About

kwin script that shows & hides WezTerm via global hotkey

Topics

Resources

License

Stars

Watchers

Forks