SkillAgentSearch skills...

Killswitch

One file to kill them all.

Install / Use

/learn @pongloongyeat/Killswitch
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img align="left" width="64" height="64" src="icons/icon.svg"> <h1 class="rich-diff-level-zero">KillSwitch</h1>

screenshot

Inspired by killall. Special thanks to hanaral for the icon!

Kills all applications. An attempt at making a simple one file app in Python.

Running

Requires GTK+-3.0, Granite, PyGObject and Python3. Right click on KillSwitch and select 'Run' or run via python3 KillSwitch.

Adding to Applications Menu

<b>With AppEditor (recommended):</b>

  1. Install AppEditor.
  2. Download KillSwitch (store it somewhere where it won't be accidentally deleted, i.e. in ~/Scripts for instance).
  3. Right click on KillSwitch and select "Create a Menu Entry".
  4. Configure it however you want.

<b>Manual:</b>

  1. Download KillSwitch (store it somewhere where it won't be accidentally deleted, i.e. in ~/Scripts for instance).
  2. Create a com.github.pongloongyeat.killswitch.desktop file in ~/.local/share/applications with the following
[Desktop Entry]
Type=Application
Name=KillSwitch
Exec=/path/to/KillSwitch
Icon=/path/to/icon.svg

Debugging

Under the AppInfo class, comment out os.system("pkill {}".format(self.exec_name)) and run via Terminal. Maybe a future, more feature-rich version that's not intended to be written in a single file can have a debugging flag/mode.

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated3y ago
Forks2

Languages

Python

Security Score

70/100

Audited on May 25, 2022

No findings