aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2022-12-30 17:23:04 +0100
committerOscar Najera <hi@oscarnajera.com>2022-12-30 19:33:28 +0100
commitc3df483bcebb72c2eb4b9469d9770204b8114501 (patch)
treeeb62800b6bbe272b1f6350f4a72ede5041ef9cb9 /config
parenta328c4bf886246c157ee54c4c88ec1929d9fcf3e (diff)
downloaddotfiles-c3df483bcebb72c2eb4b9469d9770204b8114501.tar.gz
dotfiles-c3df483bcebb72c2eb4b9469d9770204b8114501.tar.bz2
dotfiles-c3df483bcebb72c2eb4b9469d9770204b8114501.zip
new rotated screen
Diffstat (limited to 'config')
-rw-r--r--config/awesome/rc.lua7
1 files changed, 4 insertions, 3 deletions
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)