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
  • betterlockscreen

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: i3_screen_util-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8bc0735d9dfdde031578d2e4c4adfb5386c81ce51f5df891e8981926835d9cc7
MD5 49838cf284970c308d1723495dd096b2
BLAKE2b-256 c029678b3026aebbdf5260ddc9edec7a4604fb5698f3adcaa6c5f3fee7f4a6ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: i3_screen_util-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 103bd1cb1e09b124c3dbfe62dec055fee6078a046fbfc940c4702c135147108f
MD5 560a3c75c6256e422a87d4d198e7f233
BLAKE2b-256 4d6ada96872c32270bcc7b47adda498795643ce06838a1c6d0916abed1a2b28d

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