A screen management tool for your lovely i3wm config.
Project description
i3-screen-util
I originally started building a custom i3 screen management configuration for personal use, but as it grew, I decided to turn it into a project for others to use.
Just for you! <3
Installation
You can install i3-screen-util with pip:
pip install i3-screen-util
Features
- Organize Workspaces: Backup and load i3wm workspaces based on their current layout and position.
- Prevent Lockscreen: Automatically disable the lock screen while watching videos, regardless of fullscreen status.
- Toggle Monitor: Quickly enable/disable monitors by specifying their monitor number and location.
Dependencies
Before using i3-screen-util, ensure the following tools and packages are installed on your system:
- playerctl
- xautolock
- i3-save-tree
- i3-msg
- xrandr
- screenkey
API Reference
Organize Workspaces
Back up or restore i3wm workspaces.
i3-screen-util organize --action [load|save] --workspaces <path_to_file>
- --action:
loadorsave. Determines whether to restore or backup workspaces. - --workspaces: Path to the file where workspaces will be saved or from where they will be loaded.
Prevent Lockscreen
Temporarily disable the lock screen to prevent interruptions while watching videos.
i3-screen-util lockscreen
Toggle Monitor
Enable or disable a monitor by specifying its number and optional location positioning.
i3-screen-util toggle --monitor-number <num> [--locate-to <left|right>] [--locate-of <monitor_number>]
- --monitor-number: The monitor number to toggle (starting from 1).
- --locate-to: Optional. Position the monitor to the left or right of another monitor.
- --locate-of: Optional. The monitor number to position relative to.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file i3_screen_util-0.2.0.tar.gz.
File metadata
- Download URL: i3_screen_util-0.2.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd110186c7df7491df1d06d30a853098f2654e83c619a0fcd50289558eb3383c
|
|
| MD5 |
2e413cd2668c57f1e780fb4cdb8c1ee8
|
|
| BLAKE2b-256 |
431c12975dad32a888091c0e9a3b159eecba8b303eea0fdcb1189d909b440441
|
File details
Details for the file i3_screen_util-0.2.0-py3-none-any.whl.
File metadata
- Download URL: i3_screen_util-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10bb1abb55d1e9cd8d2c6b8142bfbb8391044dd445f71352f4f3b6b2382e6ba4
|
|
| MD5 |
678b355d0ee6915c25e1c1efb871cc94
|
|
| BLAKE2b-256 |
29aa6e5e0e2577d4faffe564dfccfb7e92b56de7954e570c42c5f6acafe56b71
|