Skip to main content

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: load or save. 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.

Toggle Screenkey

Enable or disable screenkey window.

i3-screen-util screenkey

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

i3_screen_util-0.2.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

i3_screen_util-0.2.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file i3_screen_util-0.2.2.tar.gz.

File metadata

  • Download URL: i3_screen_util-0.2.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for i3_screen_util-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2a7bb34fe249c012dce1fe3d83c692f3fd36c0617ba38eec0ce505d05cb5cd85
MD5 c84c45d16eb9f087350874e1628e125c
BLAKE2b-256 eeb38117934af4299c70446ec801521a21dc20459436d80f94800cd47df94db9

See more details on using hashes here.

File details

Details for the file i3_screen_util-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: i3_screen_util-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for i3_screen_util-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d6d3001b3adf1f949acf191b118dc027aae9f8f0114cf3c440ef19b5052242c
MD5 f5589f3e76434506c5eb178da4904ab4
BLAKE2b-256 fabc2df639b8a24e4de23a1a4b8cb9b459443ee7869b909db92bd55dd817437a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page