Window Blocker is a quick and dirty Python script made by request which allows users to manage and block certain windows or Chrome tabs.
- Add Chrome tabs or apps to a list for automatic closure when they become active.
- Add specific windows to a list for automatic closure when they become active.
- Start and stop checking for active windows.
- pygetwindow: For interacting with windows and getting active window information.
- tkinter: For building the graphical user interface.
- sv_ttk: A theme package for Tkinter.
-
Install the dependencies by running:
pip install -r requirements.txt -
Run the script:
python blocker.py -
Use the GUI to add Chrome tabs/apps or specific windows to the block list.
-
Click "Start Checking Windows" to begin monitoring active windows.
-
Click "Stop Checking Windows" to stop monitoring.
This project is licensed under the MIT License.