From 9d3a54bdd8b9670c689e71fac5d74a40361494c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 29 May 2021 10:17:16 +0200 Subject: fix screen --- config/awesome/rc.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'config') diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 7643e01..bd4130b 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -46,12 +46,8 @@ if "titanroam" == hostname then -- awful.spawn.with_shell("nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1") -- load the gpu performance profile saved in home awful.spawn.with_shell("xrandr --output eDP1 --mode 1920x1080 --output HDMI2 --mode 1920x1080 --left-of eDP1 --primary") awful.spawn.with_shell("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1") - -elseif "klappbier" == hostname then +elseif "klappbier" == hostname or "archlive" == hostname then awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP-1-3 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1-1 --primary --mode 2560x1440 --pos 1920x0 --rotate normal") - -elseif "archlive" == hostname then - awful.spawn.with_shell("xrandr --output eDP1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP1-1 --primary --mode 2560x1440 --pos 1920x0 --rotate normal --output DP1-3 --mode 1920x1080 --pos 0x0 --rotate normal") end -- {{{ Variable definitions -- cgit v1.2.3