diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index ffc1852..d11a499 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -249,7 +249,7 @@ globalkeys = mytable.join( {description = "destroy all notifications", group = "hotkeys"}), -- Take a screenshot - awful.key({ modkey, altkey }, "p", function() os.execute("flameshot gui") end, + awful.key({ modkey, altkey }, "p", function() awful.spawn("flameshot gui") end, {description = "take a screenshot", group = "hotkeys"}), -- X screen locker @@ -719,13 +719,17 @@ awful.rules.rules = { } }, properties = { floating = true }}, -{ rule = { class = "Firefox" }, +{ rule_any = { class = {"firefox", "factorio"} }, properties = { opacity = 1, maximized = false, floating = false } }, -- Add titlebars to normal clients and dialogs { rule_any = {type = { "normal", "dialog" } }, properties = { titlebars_enabled = true } }, + { + rule = { class = "mpv" }, + properties = { fullscreen = true } + } -- Set Firefox to always map on the tag named "2" on screen 1. -- { rule = { class = "Firefox" }, diff --git a/.config/awesome/theme.lua b/.config/awesome/theme.lua index 00a8f67..8bbc5a7 100644 --- a/.config/awesome/theme.lua +++ b/.config/awesome/theme.lua @@ -103,7 +103,7 @@ mytextclock.font = theme.font theme.cal = lain.widget.cal({ attach_to = { mytextclock }, notification_preset = { - font = "Terminus 10", + font = "Monospace 10", fg = theme.fg_normal, bg = theme.bg_normal } @@ -119,7 +119,7 @@ theme.fs = lain.widget.fs({ }) theme.fs.widget:buttons(gears.table.join( awful.button({}, 1, function() - os.execute("Thunar") + awful.spawn("Thunar") end) ))