diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index ef77bfa..4db162f 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -67,13 +67,13 @@ awful.layout.layouts = { awful.layout.suit.tile.top, awful.layout.suit.fair, awful.layout.suit.fair.horizontal, - awful.layout.suit.spiral, - awful.layout.suit.spiral.dwindle, + --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.corner.nw, - -- awful.layout.suit.corner.ne, + awful.layout.suit.corner.ne, -- awful.layout.suit.corner.sw, -- awful.layout.suit.corner.se, } @@ -111,7 +111,6 @@ mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesom mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu }) - -- Menubar configuration menubar.utils.terminal = terminal -- Set the terminal for applications that require it -- }}} @@ -141,30 +140,6 @@ local taglist_buttons = gears.table.join( awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end) ) -local tasklist_buttons = gears.table.join( - awful.button({ }, 1, function (c) - if c == client.focus then - c.minimized = true - else - -- Without this, the following - -- :isvisible() makes no sense - c.minimized = false - if not c:isvisible() and c.first_tag then - c.first_tag:view_only() - end - -- This will also un-minimize - -- the client, if needed - client.focus = c - c:raise() - end - end), - awful.button({ }, 3, client_menu_toggle_fn()), - awful.button({ }, 4, function () - awful.client.focus.byidx(1) - end), - awful.button({ }, 5, function () - awful.client.focus.byidx(-1) - end)) local function set_wallpaper(s) -- Wallpaper @@ -186,7 +161,8 @@ 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[6]) + awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[2]) + -- Create a promptbox for each screen s.mypromptbox = awful.widget.prompt() @@ -201,9 +177,6 @@ awful.screen.connect_for_each_screen(function(s) -- Create a taglist widget s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.noempty, taglist_buttons) - -- Create a tasklist widget - --s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons) - -- Create the wibox s.mywibox = awful.wibar({ position = "top", screen = s }) @@ -216,8 +189,8 @@ awful.screen.connect_for_each_screen(function(s) s.mytaglist, s.mypromptbox, }, - s.mytasklist, -- Middle widget - { -- Right widgets + nil -- Middle widget + ,{ -- Right widgets layout = wibox.layout.fixed.horizontal, mykeyboardlayout, wibox.widget.systray(), @@ -259,7 +232,7 @@ globalkeys = gears.table.join( end, {description = "focus previous by index", group = "client"} ), - awful.key({modkey},"o" , function() xrandr.xrandr() end, + awful.key({modkey,"Shift"},"o" , function() xrandr.xrandr() end, {description = "xrandr shortcut", group = "awesome"}), awful.key({ modkey, }, "w", function () mymainmenu:show() end, {description = "show main menu", group = "awesome"}),