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.1.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.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: i3_screen_util-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 04fe2e9b28e2fa6baa65669e13b01cc5bb9e5bfdd041eaeb186178015e0cf626
MD5 2bb2f509befb9a41a1477b275d33956e
BLAKE2b-256 4cf1c566bf5cd5a971cf6286bdb2dbbffb1c76a47f1e8fe30da0f953ab33f04b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: i3_screen_util-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa8c8e37f3aa6a56308c7be13d740e3dc7af6c5c3d141afa5b4cf01e6f672588
MD5 3542db824747193f4e77e05b779d1525
BLAKE2b-256 c742fee5cd4bc8d7c545e725c611bf63232a1c5b03992708c9ba9e714fa15bd8

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