Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Easy dual-monitor setup and hotplug support for minimalistic window managers

NotificationsYou must be signed in to change notification settings

chmln/enact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


enact

enact will detect the proper resolution of your secondary monitor (if any) and automatically set it up as soon as you plug it in (or out).

It usesxrandr under the hood and works great with window managers like i3, bspwm, and others.

Use cases:

  • a laptop and an abritrary secondary monitor (e.g. at work, home, etc.)
  • a desktop with two monitors

Install

Download the binary fromreleases or install via cargo:cargo install --git https://github.com/chmln/enact

Usage

Test it out then place this in your.xinitrc.

# Set up second monitor above laptopenact --pos top

Or to do the same, but also watch for changes and allow hotplugging

enact --pos top --watch&

You can also select which monitor will be the new primary one

enact --pos top --new_primary 1

Comparison With Similar Tools

Pros:

  • monitor hotplugging that actually works (never got this to work with autorandr or any other tool)
  • no need to setup any "profiles" or configuration, it just works
  • Single compiled binary, no dependencies on python or anything else apart fromxrandr

Drawbacks:

  • Supports up to two displays max (at least currently)

Icon Attribution

“Monitor” byicon lauk, licensed under CC BY 3.0.

About

Easy dual-monitor setup and hotplug support for minimalistic window managers

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp