diff options
author | Mike Crute <mike@crute.us> | 2019-02-09 17:18:44 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-02-09 17:18:44 -0800 |
commit | 4dac8b145c9eb852721e61d998aa75e9b75aaf69 (patch) | |
tree | 91f5a40dcfdb1b3afa643e0a5a6ed420d7c5575f /.config | |
parent | 4ff4a7a6621028c71537f92de79579fb83462af4 (diff) | |
download | dotfiles-4dac8b145c9eb852721e61d998aa75e9b75aaf69.tar.bz2 dotfiles-4dac8b145c9eb852721e61d998aa75e9b75aaf69.tar.xz dotfiles-4dac8b145c9eb852721e61d998aa75e9b75aaf69.zip |
Add another Dell monitor
Diffstat (limited to '.config')
-rw-r--r-- | .config/awesome/mcrute.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/awesome/mcrute.lua b/.config/awesome/mcrute.lua index 5449ac0..ea5ec0f 100644 --- a/.config/awesome/mcrute.lua +++ b/.config/awesome/mcrute.lua | |||
@@ -551,13 +551,15 @@ function configure_displays() | |||
551 | end | 551 | end |
552 | 552 | ||
553 | for _, s in pairs(displays) do | 553 | for _, s in pairs(displays) do |
554 | if s.edid == "DELL U2715H" then -- 27" Dell monitors | 554 | if s.edid == "DELL U2715H" then -- 27" Dell monitors (assumed 2) |
555 | awful.util.spawn("xrandr " .. | 555 | awful.util.spawn("xrandr " .. |
556 | "--output DP-1 --auto " .. | 556 | "--output DP-1 --auto " .. |
557 | "--output DP-2 --auto --right-of DP-1 " .. | 557 | "--output DP-2 --auto --right-of DP-1 " .. |
558 | "--output eDP-1 --off") | 558 | "--output eDP-1 --off") |
559 | return | 559 | return |
560 | elseif s.edid == "DELL U3415W" then -- 34" widescreen Dell monitors | 560 | elseif s.edid == "DELL U3219Q" then -- 32" 4k Dell monitor |
561 | awful.util.spawn("xrandr --output " .. s.card .. " --auto --output eDP-1 --off") | ||
562 | elseif s.edid == "DELL U3415W" then -- 34" curved widescreen Dell monitors | ||
561 | awful.util.spawn("xrandr --output " .. s.card .. " --auto --output eDP-1 --off") | 563 | awful.util.spawn("xrandr --output " .. s.card .. " --auto --output eDP-1 --off") |
562 | return | 564 | return |
563 | elseif s.edid == "DELL_XPS_13" then -- Built-in display | 565 | elseif s.edid == "DELL_XPS_13" then -- Built-in display |