diff options
author | Mike Crute <mike@crute.us> | 2020-12-30 00:13:42 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-12-30 00:13:42 -0800 |
commit | d50ff95aa7f5397d3dbac133955294441131dd91 (patch) | |
tree | 4f6d970b5dea043b7abe93bc07cd338883e27c44 /.config | |
parent | 1dc6617ffd4e485531a1cb120bee82640fe09489 (diff) | |
download | dotfiles-d50ff95aa7f5397d3dbac133955294441131dd91.tar.bz2 dotfiles-d50ff95aa7f5397d3dbac133955294441131dd91.tar.xz dotfiles-d50ff95aa7f5397d3dbac133955294441131dd91.zip |
Add X1 carbon screen
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 c6092a4..fed2d90 100644 --- a/.config/awesome/mcrute.lua +++ b/.config/awesome/mcrute.lua | |||
@@ -556,7 +556,7 @@ function configure_displays() | |||
556 | local displays = get_displays() | 556 | local displays = get_displays() |
557 | 557 | ||
558 | -- Only built-in (XPS 13) display is connected | 558 | -- Only built-in (XPS 13) display is connected |
559 | if #displays == 1 and displays[1].edid == "AUO_11048" then | 559 | if #displays == 1 and (displays[1].edid == "AUO_11048" or displays[1].edid == "BOE_51207") then |
560 | awful.spawn.spawn("xrandr " .. | 560 | awful.spawn.spawn("xrandr " .. |
561 | "--output eDP-1 --mode " .. default_edp_mode .. " " .. | 561 | "--output eDP-1 --mode " .. default_edp_mode .. " " .. |
562 | "--output DP-1 --off " .. | 562 | "--output DP-1 --off " .. |
@@ -588,7 +588,9 @@ function configure_displays() | |||
588 | awful.spawn.spawn("xrandr --output " .. s.card .. " --auto --output eDP-1 --off") | 588 | awful.spawn.spawn("xrandr --output " .. s.card .. " --auto --output eDP-1 --off") |
589 | --split_screen_vertical() | 589 | --split_screen_vertical() |
590 | return | 590 | return |
591 | elseif s.edid == "AUO_11048" then -- XPS 13 Built-in display | 591 | elseif s.edid == "BOE_51207" then -- XPS 13 Built-in display |
592 | -- continue | ||
593 | elseif s.edid == "AUO_11048" then -- X1 Carbon Built-in display | ||
592 | -- continue | 594 | -- continue |
593 | elseif s.edid == "LG TV" then -- Home TV | 595 | elseif s.edid == "LG TV" then -- Home TV |
594 | awful.spawn.spawn("xrandr --output eDP-1 --mode " .. default_edp_mode .. " --output " .. s.card .. " --mode 1920x1080 --right-of eDP-1") | 596 | awful.spawn.spawn("xrandr --output eDP-1 --mode " .. default_edp_mode .. " --output " .. s.card .. " --mode 1920x1080 --right-of eDP-1") |