Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix revelation tag not being deleted #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ local capi = {
}

local clientData = {} -- table that holds the positions and sizes of floating clients
local t = false;

module("revelation")

Expand Down Expand Up @@ -104,6 +105,7 @@ function keyboardhandler (restore)
return false
elseif key == "Return" then
selectfn(restore)(capi.client.focus)
awful.tag.delete(t)
return false
elseif key == "Left" or key == "Right" or
key == "Up" or key == "Down" then
Expand All @@ -121,7 +123,7 @@ function expose(rule, s)
local rule = rule or {class=""}
local scr = s or capi.mouse.screen

local t = awful.tag.new({config.tag_name},
t = awful.tag.new({config.tag_name},
scr,
awful.layout.suit.fair)[1]
awful.tag.viewonly(t, t.screen)
Expand Down