aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-04-27 17:07:02 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-04-27 17:07:02 +0200
commitd6455d46f370743a77ca45d44c2faacbb5597ef5 (patch)
tree2fd06311f31ea3ab3ca679de3c0ae12e2245b2a7
parent8cb58cc43cd329fbae75cedd1e889d977f0f9226 (diff)
downloaddotfiles-d6455d46f370743a77ca45d44c2faacbb5597ef5.tar.gz
dotfiles-d6455d46f370743a77ca45d44c2faacbb5597ef5.tar.bz2
dotfiles-d6455d46f370743a77ca45d44c2faacbb5597ef5.zip
layout review
-rw-r--r--config/awesome/rc.lua35
1 files changed, 14 insertions, 21 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index 0235ea3..08a5794 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -43,7 +43,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 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("xinput --set-prop \"SYN1B7E:01 06CB:2970 Touchpad\" \"Synaptics Two-Finger Scrolling\" 1 1")
@@ -74,18 +75,18 @@ local modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
- awful.layout.suit.fair,
+ -- awful.layout.suit.fair,
awful.layout.suit.tile,
- awful.layout.suit.tile.left,
- awful.layout.suit.tile.bottom,
- awful.layout.suit.tile.top,
- awful.layout.suit.fair.horizontal,
- -- awful.layout.suit.spiral,
+ -- awful.layout.suit.tile.left,
+ -- awful.layout.suit.tile.bottom,
+ -- awful.layout.suit.tile.top,
+ -- awful.layout.suit.fair.horizontal,
+ awful.layout.suit.spiral,
-- awful.layout.suit.spiral.dwindle,
-- awful.layout.suit.max,
- awful.layout.suit.max.fullscreen,
+ -- awful.layout.suit.max.fullscreen,
-- awful.layout.suit.magnifier,
- awful.layout.suit.floating,
+ -- awful.layout.suit.floating,
-- awful.layout.suit.corner.nw,
-- awful.layout.suit.corner.ne,
-- awful.layout.suit.corner.sw,
@@ -256,14 +257,6 @@ globalkeys = gears.table.join(
awful.key({ modkey, "Control" }, "t", function () awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
- awful.key({modkey, }, "F1", function () awful.screen.focus(1) end,
- {description = "Focus to first screen", group = "screen"}),
- awful.key({modkey, }, "F2", function () awful.screen.focus(2) end,
- {description = "Focus to second screen", group = "screen"}),
- awful.key({modkey, }, "F3", function () awful.screen.focus(3) end,
- {description = "Focus to third screen", group = "screen"}),
-
-
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
{description = "jump to urgent client", group = "client"}),
awful.key({ modkey, }, "Tab",
@@ -294,13 +287,13 @@ globalkeys = gears.table.join(
{description = "increase master width factor", group = "layout"}),
awful.key({ modkey, }, "n", function () awful.tag.incmwfact(-0.05) end,
{description = "decrease master width factor", group = "layout"}),
- awful.key({ modkey, "Shift" }, "n", function () awful.tag.incnmaster( 1, nil, true) end,
+ awful.key({ modkey, "Shift" }, "s", function () awful.tag.incnmaster( 1, nil, true) end,
{description = "increase the number of master clients", group = "layout"}),
- awful.key({ modkey, "Shift" }, "s", function () awful.tag.incnmaster(-1, nil, true) end,
+ awful.key({ modkey, "Shift" }, "n", function () awful.tag.incnmaster(-1, nil, true) end,
{description = "decrease the number of master clients", group = "layout"}),
- awful.key({ modkey, "Control" }, "n", function () awful.tag.incncol( 1, nil, true) end,
+ awful.key({ modkey, "Control" }, "s", function () awful.tag.incncol( 1, nil, true) end,
{description = "increase the number of columns", group = "layout"}),
- awful.key({ modkey, "Control" }, "s", function () awful.tag.incncol(-1, nil, true) end,
+ awful.key({ modkey, "Control" }, "n", function () awful.tag.incncol(-1, nil, true) end,
{description = "decrease the number of columns", group = "layout"}),
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end,
{description = "select next", group = "layout"}),