Skip to content

Instantly share code, notes, and snippets.

@nimag42
nimag42 / rc.lua
Last active June 6, 2022 09:45
AwesomeWM binding to configure positions of Monitors
-- This snippet is a code I wrote to configure the position of monitors with AwesomeWM
-- Usage :
-- Press your Display button (or whatever you binded it to)
-- Popup will show the name of a connected monitor
-- Press an arrow key or Display button to set this monitor in this direction relatively to your main monitor, (display for same position)
-- It will continue until you have configured all connected monitors
-- the name of your main screen as shown in xrandr
main_screen = "eDP1"