diff --git a/rc.lua b/rc.lua index 8aea524..14a50b3 100644 --- a/rc.lua +++ b/rc.lua @@ -497,61 +497,17 @@ globalkeys = awful.util.table.join( awful.spawn.easy_async('xdotool key Caps_Lock', function() end) end, {description="switch the caps lock", group="screen control"}), - awful.key({modkey}, "#83", function() - awful.spawn.easy_async("tvrs enable left", function() end) - end, {description="Sets the second screen to the left of the main screen", group="screen control"}), - - awful.key({modkey, "Ctrl"}, "Left", function() - awful.spawn.easy_async("tvrs enable left", function() end) - end, {description="Sets the second screen to the left of the main screen", group="screen control"}), - - awful.key({modkey}, "#84", function() - awful.spawn.easy_async("tvrs duplicate", function() end) - end, {description="Sets the second screen to copy the main screen", group="screen control"}), - - awful.key({modkey, "Ctrl"}, "Return", function() - awful.spawn.easy_async("tvrs duplicate", function() end) - end, {description="Sets the second screen to copy the main screen", group="screen control"}), - - awful.key({modkey}, "#85", function() - awful.spawn.easy_async("tvrs enable right", function() end) - end, {description="Sets the second screen to the right of the main screen", group="screen control"}), - - awful.key({modkey, "Ctrl"}, "Right", function() - awful.spawn.easy_async("tvrs enable right", function() end) - end, {description="Sets the second screen to the right of the main screen", group="screen control"}), - - awful.key({modkey}, "#80", function() - awful.spawn.easy_async("tvrs enable above", function() end) - end, {description="Sets the second screen above the main screen", group="screen control"}), - - awful.key({modkey, "Ctrl"}, "Up", function() - awful.spawn.easy_async("tvrs enable above", function() end) - end, {description="Sets the second screen above the main screen", group="screen control"}), - - awful.key({modkey}, "#88", function() - awful.spawn.easy_async("tvrs enable below", function() end) - end, {description="Sets the second screen below the main screen", group="screen control"}), - - awful.key({modkey, "Ctrl"}, "Down", function() - awful.spawn.easy_async("tvrs enable below", function() end) - end, {description="Sets the second screen below the main screen", group="screen control"}), + awful.key({modkey}, "#87", function() + awful.spawn.easy_async("x b", function() end) + end, {description="Sets the two screens view", group="screen control"}), awful.key({modkey}, "#90", function() - awful.spawn.easy_async("tvrs disable", function() end) - end, {description="Disable the second screen", group="screen control"}), - - awful.key({modkey, "Ctrl"}, "#22", function() - awful.spawn.easy_async("tvrs disable", function() end) - end, {description="Disable the second screen", group="screen control"}), + awful.spawn.easy_async("x d", function() end) + end, {description="Default view", group="screen control"}), awful.key({modkey, "Shift"}, "#90", function() - awful.spawn.easy_async("tvrs only-secondary", function() end) - end, {description="Disable the primary screen, using only the second", group="screen control"}), - - awful.key({modkey, "Ctrl", "Shift"}, "#22", function() - awful.spawn.easy_async("tvrs only-secondary", function() end) - end, {description="Disable the primary screen, using only the second", group="screen control"}), + awful.spawn.easy_async("x s", function() end) + end, {description="Inverse of the default view", group="screen control"}), awful.key({modkey}, "d", function() if naughty_suspended then