[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Re: KWin script triggering?
From:       Simon Hafner <reactormonk () gmail ! com>
Date:       2013-02-27 20:36:45
Message-ID: CAGrs_g4FmNjgtShTHkkaWJygbdZA=FoWbNEp2d82M6AWa_s9GA () mail ! gmail ! com
[Download RAW message or body]

2013/2/27 Michail Vourlakos <mvourlakos@gmail.com>:
>> I assume it uses the same API as Javascript, so there is
>> registerShortcut for global ones (it works rather well, just remember
>> you need to kill the old script if you want to overwrite them)
>> I haven't found anything on desktop corner, maybe there is something.
>>
> Perfect, and what is the best way to kill the old script or execute one?
> Is there any command to do so from command line? or do i have to restart
> kwin and plasma?
With emacs [1] or from command line:

    qdbus org.kde.kwin.Scripting /X org.kde.kwin.Scripting.stop

Where X is the script id. To get all the ids:

    qdbus org.kde.kwin.Scripting

[1] https://github.com/Tass/kwin-minor-mode/blob/master/kwin.el#L141-L151
_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic