Update awesome config to mirror hs more directly

- its not perfect but at least i can launch rofi again
master
jowj 5 years ago
parent f76793bd5d
commit c5072ad7cf

@ -71,7 +71,7 @@ awful.layout.layouts = {
-- 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.corner.nw,
-- awful.layout.suit.corner.ne,
@ -99,7 +99,7 @@ mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
-- Menubar configuration
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
menubar.utils.terminal = konsole -- Set the terminal for applications that require it
-- }}}
-- Keyboard map indicator and switcher
@ -274,13 +274,18 @@ globalkeys = gears.table.join(
{description = "go back", group = "client"}),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
{description = "open a terminal", group = "launcher"}),
awful.key({ "Control", "Mod1" }, "k", function () awful.spawn(terminal) end,
{description = "open a terminal", group = "launcher"}),
awful.key({ modkey, "Control" }, "r", awesome.restart,
{description = "reload awesome", group = "awesome"}),
{description = "reload awesome", group = "awesome"}),
awful.key({ modkey, "Shift" }, "q", awesome.quit,
{description = "quit awesome", group = "awesome"}),
{description = "quit awesome", group = "awesome"}),
awful.key({ "Control", "Mod1" }, "space",
function()
awful.util.spawn("rofi -combi-modi window,drun,ssh -theme solarized -font 'hack 10' -show combi")
end),
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
{description = "increase master width factor", group = "layout"}),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
@ -562,3 +567,13 @@ end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}
-- -- enable vertical monitor detection automatically
-- awful.screen.connect_for_each_screen(function(s)
-- if s.geometry.width >= s.geometry.height then
-- awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" }, s, awful.layout.layouts[1])
-- else
-- awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" }, s, awful.layout.layouts[2])
-- end
-- end)

Loading…
Cancel
Save