delete empty tag

This commit is contained in:
vincent 2018-10-02 20:52:24 +02:00
parent 98fa0088cb
commit 4da212630f

View File

@ -45,7 +45,7 @@ beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
-- This is used later as the default terminal and editor to run. -- This is used later as the default terminal and editor to run.
terminal = "termite" terminal = "termite"
editor = os.getenv("EDITOR") or "nano" editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor editor_cmd = terminal .. " -e " .. editor
-- Default modkey. -- Default modkey.
@ -66,9 +66,9 @@ awful.layout.layouts = {
awful.layout.suit.fair.horizontal, awful.layout.suit.fair.horizontal,
awful.layout.suit.spiral, awful.layout.suit.spiral,
awful.layout.suit.spiral.dwindle, awful.layout.suit.spiral.dwindle,
awful.layout.suit.max, --awful.layout.suit.max,
awful.layout.suit.max.fullscreen, --awful.layout.suit.max.fullscreen,
awful.layout.suit.magnifier, --awful.layout.suit.magnifier,
awful.layout.suit.corner.nw, awful.layout.suit.corner.nw,
-- awful.layout.suit.corner.ne, -- awful.layout.suit.corner.ne,
-- awful.layout.suit.corner.sw, -- awful.layout.suit.corner.sw,
@ -183,7 +183,7 @@ awful.screen.connect_for_each_screen(function(s)
set_wallpaper(s) set_wallpaper(s)
-- Each screen has its own tag table. -- 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", "7", "8", "9" }, s, awful.layout.layouts[6])
-- Create a promptbox for each screen -- Create a promptbox for each screen
s.mypromptbox = awful.widget.prompt() s.mypromptbox = awful.widget.prompt()
@ -196,10 +196,10 @@ awful.screen.connect_for_each_screen(function(s)
awful.button({ }, 4, function () awful.layout.inc( 1) end), awful.button({ }, 4, function () awful.layout.inc( 1) end),
awful.button({ }, 5, function () awful.layout.inc(-1) end))) awful.button({ }, 5, function () awful.layout.inc(-1) end)))
-- Create a taglist widget -- Create a taglist widget
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, taglist_buttons) s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.noempty, taglist_buttons)
-- Create a tasklist widget -- Create a tasklist widget
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons) --s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, tasklist_buttons)
-- Create the wibox -- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s }) s.mywibox = awful.wibar({ position = "top", screen = s })