From c3df483bcebb72c2eb4b9469d9770204b8114501 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Fri, 30 Dec 2022 17:23:04 +0100 Subject: new rotated screen --- config/awesome/rc.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 74c49e6..127ebf0 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -44,7 +44,8 @@ local hostname = io.popen("uname -n"):read() -- Setup laptop screen -- 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 eDP-1 --mode 1920x1080 --pos 0x0 --output HDMI-2 --primary --mode 1920x1080 --pos 1920x0") -awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x360 --output HDMI-2 --primary --mode 3440x1440 --pos 1920x0") +-- awful.spawn.with_shell("xrandr --output eDP-1 --mode 1920x1080 --pos 0x360 --output HDMI-2 --primary --mode 3440x1440 --pos 1920x0") +awful.spawn.with_shell("xrandr --output HDMI-A-0 --mode 1920x1080 --rotate right --output DisplayPort-0 --mode 3440x1440 --pos 1080x0") awful.spawn.with_shell("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1") @@ -80,7 +81,7 @@ awful.layout.layouts = { -- awful.layout.suit.tile.left, -- awful.layout.suit.tile.bottom, -- awful.layout.suit.tile.top, - -- awful.layout.suit.fair.horizontal, + awful.layout.suit.fair.horizontal, awful.layout.suit.spiral, -- awful.layout.suit.spiral.dwindle, -- awful.layout.suit.max, @@ -155,7 +156,7 @@ local tasklist_buttons = gears.table.join( local function set_wallpaper(s) local wallpaper = awful.util.getdir("config") .. "brown-hair-brunette-green-eyes.jpg" - gears.wallpaper.maximized(wallpaper, s, true) + gears.wallpaper.maximized(wallpaper, s, false) end -- Re-set wallpaper when a screen's geometry changes (e.g. different resolution) -- cgit v1.2.3