From 052a88fa5d94fdcae10c2606e69d4013def97ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Hern=C3=A1n=20Tarche?= Date: Thu, 15 Jul 2021 10:44:53 -0300 Subject: [PATCH] Quality changes or something, idk --- simple/init.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/simple/init.lua b/simple/init.lua index bf0fffa..14e229c 100644 --- a/simple/init.lua +++ b/simple/init.lua @@ -180,8 +180,7 @@ os_menu = awful.widget.launcher({ menu = awful.menu({ items = { { "Hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, - { "Manual", config.awesome.terminal .. " -e man awesome" }, - { "Edit config", config.awesome.editor_cmd .. " " .. awesome.conffile }, + { "Edit config", config.awesome.editor .. " .config/awesome/" }, { "Open terminal", config.awesome.terminal }, { "Lock", lockScreen, lock_icon }, { "Logout", function() awesome.quit() end, logout_icon }, @@ -198,6 +197,8 @@ os_menu = awful.widget.launcher({ -- {{{ Wibar -- Create a textclock widget mytextclock = wibox.widget.textclock() +mytextclock.format = " %H:%M:%S " +mytextclock.refresh = 0.5 -- Create a wibox for each screen and add it local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) t:view_only() end), @@ -254,7 +255,7 @@ awful.screen.connect_for_each_screen(function(s) set_wallpaper(s) -- Each screen has its own tag table. - awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1]) + awful.tag({ "1", "2", "3", "4", "5", "6" }, s, awful.layout.layouts[1]) -- Create a promptbox for each screen s.mypromptbox = awful.widget.prompt() @@ -351,8 +352,8 @@ end) -- {{{ Mouse bindings root.buttons(gears.table.join(awful.button({}, 3, function() mymainmenu:toggle() end), - awful.button({}, 4, awful.tag.viewnext), - awful.button({}, 5, awful.tag.viewprev))) + awful.button({}, 4, awful.tag.viewprev), + awful.button({}, 5, awful.tag.viewnext))) -- }}} -- {{{ Key bindings @@ -382,8 +383,8 @@ hotkey.registerKeys( awful.client.focus.byidx(-1) end, { description = "focus previous by index", group = "client" }), - awful.key({ config.keys.modkey, }, "w", function() mymainmenu:show() end, - { description = "show main menu", group = "awesome" }), + -- awful.key({ config.keys.modkey, }, "w", function() mymainmenu:show() end, + -- { description = "show main menu", group = "awesome" }), -- Layout manipulation awful.key({ config.keys.modkey, "Shift" }, "j", function() awful.client.swap.byidx(1) end,