summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2022-08-27 21:59:12 -0700
committerMike Crute <mike@crute.us>2022-08-27 21:59:12 -0700
commit488054f9fe6e2195e90881f65b4870ac8409861f (patch)
tree7ca017c92cb61752fe9ef9958abe4afdd6dd73bd /.config
parentbc522f19940354c813d973c99258a34680ffd992 (diff)
downloaddotfiles-488054f9fe6e2195e90881f65b4870ac8409861f.tar.bz2
dotfiles-488054f9fe6e2195e90881f65b4870ac8409861f.tar.xz
dotfiles-488054f9fe6e2195e90881f65b4870ac8409861f.zip
Add XPS 9320
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/mcrute.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/awesome/mcrute.lua b/.config/awesome/mcrute.lua
index ccdf6dc..8143abf 100644
--- a/.config/awesome/mcrute.lua
+++ b/.config/awesome/mcrute.lua
@@ -60,12 +60,14 @@ local edp_display_modes = {
60 "1920x1080", 60 "1920x1080",
61 "2048x1152", 61 "2048x1152",
62 "2560x1440", 62 "2560x1440",
63 "2560x1600",
63 "2880x1620", 64 "2880x1620",
64} 65}
65 66
66local default_edp_display_modes = { 67local default_edp_display_modes = {
67 BOE_51207 = edp_display_modes[3], -- Dell XPS 13 93{7,8}0 68 BOE_51207 = edp_display_modes[3], -- Dell XPS 13 93{7,8}0
68 AUO_11048 = edp_display_modes[3], -- X1 Carbon Display 69 AUO_11048 = edp_display_modes[3], -- X1 Carbon Display
70 SHP_20757 = edp_display_modes[5], -- Dell XPS 13 9320
69} 71}
70 72
71-- Preferred daily driver mode 73-- Preferred daily driver mode
@@ -599,7 +601,7 @@ function configure_displays()
599 local displays = get_displays() 601 local displays = get_displays()
600 602
601 -- Only built-in (XPS 13) display is connected 603 -- Only built-in (XPS 13) display is connected
602 if #displays == 1 and (displays[1].edid == "AUO_11048" or displays[1].edid == "BOE_51207") then 604 if #displays == 1 and (displays[1].edid == "AUO_11048" or displays[1].edid == "BOE_51207" or displays[1].edid == "SHP_20757") then
603 awful.spawn.spawn("xrandr " .. 605 awful.spawn.spawn("xrandr " ..
604 "--output eDP-1 --mode " .. default_edp_mode .. " " .. 606 "--output eDP-1 --mode " .. default_edp_mode .. " " ..
605 "--output DP-1 --off " .. 607 "--output DP-1 --off " ..