mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 11:48:33 +02:00
xrandr: turn off disconnected outputs
When an output is disconnected, it is not automatically turned off by our xrandr command which only accounts for connected output.
This commit is contained in:
parent
0537902fe8
commit
a8f5c2ec7d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ local function menu()
|
|||
local choices = arrange(out)
|
||||
|
||||
for _, choice in pairs(choices) do
|
||||
local cmd = "xrandr"
|
||||
local cmd = "xrandr --auto"
|
||||
-- Enabled outputs
|
||||
for i, o in pairs(choice) do
|
||||
cmd = cmd .. " --output " .. o .. " --auto"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue