end
end
-run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas
+--run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas
-- This function implements the XDG autostart specification
--[[
local editor = os.getenv("EDITOR") or "nvim"
local gui_editor = os.getenv("GUI_EDITOR") or "gvim"
local browser = os.getenv("BROWSER") or "firefox"
-local scrlocker = "slock"
+local scrlocker = "slock systemctl suspend" --This is in order to lock and suspend in one command
awful.util.terminal = terminal
awful.util.tagnames = { "1", "2", "3", "4", "5" }
awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top,
- --awful.layout.suit.fair,
+ awful.layout.suit.fair,
--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.magnifier,
+ awful.layout.suit.magnifier,
--awful.layout.suit.corner.nw,
--awful.layout.suit.corner.ne,
--awful.layout.suit.corner.sw,
--awful.layout.suit.corner.se,
--lain.layout.cascade,
--lain.layout.cascade.tile,
- --lain.layout.centerwork,
+ lain.layout.centerwork,
--lain.layout.centerwork.horizontal,
--lain.layout.termfair,
--lain.layout.termfair.center,
{description = "toggle wibox", group = "awesome"}),
-- On the fly useless gaps change
- awful.key({ altkey, "Control" }, "+", function () lain.util.useless_gaps_resize(1) end,
+ awful.key({ altkey, "Control" }, "=", function () lain.util.useless_gaps_resize(1) end,
{description = "increment useless gaps", group = "tag"}),
awful.key({ altkey, "Control" }, "-", function () lain.util.useless_gaps_resize(-1) end,
{description = "decrement useless gaps", group = "tag"}),
{description = "show the menubar", group = "launcher"})
--]]
--[[ dmenu
+ --]]
awful.key({ modkey }, "x", function ()
os.execute(string.format("dmenu_run -i -fn 'Monospace' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
end,
- {description = "show dmenu", group = "launcher"})
- --]]
+ {description = "show dmenu", group = "launcher"}),
-- alternatively use rofi, a dmenu-like application with more features
-- check https://github.com/DaveDavenport/rofi for more details
--[[ rofi
--]]
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
- {description = "run prompt", group = "launcher"}),
-
+ {description = "run prompt", group = "launcher"})
+ --[[
awful.key({ modkey }, "x",
function ()
awful.prompt.run {
-- Titlebars
{ rule_any = { type = { "dialog", "normal" } },
- properties = { titlebars_enabled = true } },
+ properties = { titlebars_enabled = false } },
-- Set Firefox to always map on the first tag on screen 1.
{ rule = { class = "Firefox" },
-- https://github.com/lcpz/awesome-copycats/issues/251
-- }}}
--
+
+--awful.spawn.with_shell("/home/josuer08/.screenlayout/ontop.sh")
+--awful.spawn.with_shell("/home/josuer08/.local/bin/beautify")
awful.spawn.with_shell("feh --randomize --bg-fill /home/josuer08/Pictures/backgrounds/*")
awful.spawn.with_shell("compton")