Added workspaces and changed rofi font.
This commit is contained in:
parent
f7dca65739
commit
6d6345417d
@ -196,7 +196,7 @@ awful.screen.connect_for_each_screen(function(s)
|
|||||||
|
|
||||||
-- Each screen has its own tag table.
|
-- Each screen has its own tag table.
|
||||||
|
|
||||||
awful.tag({ "dev", "media", "social", "misc1", "misc2" }, s, awful.layout.layouts[1])
|
awful.tag({ "a", "r", "s", "t", "z", "x", "c", "v" }, s, awful.layout.layouts[1])
|
||||||
|
|
||||||
-- Create a promptbox for each screen
|
-- Create a promptbox for each screen
|
||||||
s.mypromptbox = awful.widget.prompt()
|
s.mypromptbox = awful.widget.prompt()
|
||||||
@ -360,7 +360,7 @@ globalkeys = gears.table.join(
|
|||||||
--awful.key({ modkey }, "space", function() menubar.show() end,
|
--awful.key({ modkey }, "space", function() menubar.show() end,
|
||||||
-- {description = "show the menubar", group = "launcher"}),
|
-- {description = "show the menubar", group = "launcher"}),
|
||||||
-- rofi
|
-- rofi
|
||||||
awful.key({ modkey }, "space", function() awful.spawn("rofi -show run") end,
|
awful.key({ modkey }, "space", function() awful.spawn("rofi -show run -font 'SourceCodePro 12'") end,
|
||||||
{description = "rofi", group = "launcher"}),
|
{description = "rofi", group = "launcher"}),
|
||||||
-- }}}
|
-- }}}
|
||||||
-- Custom bindings
|
-- Custom bindings
|
||||||
@ -465,6 +465,9 @@ local bindings = {
|
|||||||
"s",
|
"s",
|
||||||
"t",
|
"t",
|
||||||
"z",
|
"z",
|
||||||
|
"x",
|
||||||
|
"c",
|
||||||
|
"v",
|
||||||
}
|
}
|
||||||
|
|
||||||
for i = 1, #bindings do
|
for i = 1, #bindings do
|
||||||
@ -596,7 +599,7 @@ awful.rules.rules = {
|
|||||||
client.connect_signal("manage", function (c)
|
client.connect_signal("manage", function (c)
|
||||||
-- Set the windows at the slave,
|
-- Set the windows at the slave,
|
||||||
-- i.e. put it at the end of others instead of setting it master.
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
if not awesome.startup then awful.client.setslave(c) end
|
--if not awesome.startup then awful.client.setslave(c) end
|
||||||
|
|
||||||
if awesome.startup
|
if awesome.startup
|
||||||
and not c.size_hints.user_position
|
and not c.size_hints.user_position
|
||||||
@ -664,17 +667,20 @@ custom_rules = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
rule = { class = "firefox" },
|
rule = { class = "firefox" },
|
||||||
properties = { tag = "media", screen = startup_screen }
|
properties = { tag = "r", screen = startup_screen }
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
rule = { class = "discord" },
|
rule = { class = "discord" },
|
||||||
properties = { tag = "social", screen = startup_screen }
|
properties = { tag = "s", screen = startup_screen }
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
rule = { class = "Steam" },
|
rule = { class = "Steam" },
|
||||||
properties = { tag = "misc1", screen = startup_screen }
|
properties = { tag = "t", screen = startup_screen }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
rule = { class = "UE4Editor" },
|
||||||
|
properties = { tag = "t", screen = startup_screen }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
-- concat own rules with rules
|
-- concat own rules with rules
|
||||||
|
Loading…
Reference in New Issue
Block a user