|
|
@ -7,10 +7,7 @@ |
|
|
|
-- You should have received a copy of the GNU General Public License along with Reno desktop. If not, see <https://www.gnu.org/licenses/>. |
|
|
|
-- Basic client control menu |
|
|
|
local awmtk2 = require("awmtk2") |
|
|
|
local wibox = require("wibox") |
|
|
|
local gears = require("gears") |
|
|
|
local awful = require("awful") |
|
|
|
local beautiful = require("beautiful") |
|
|
|
local menugen = require("context_menu") |
|
|
|
|
|
|
|
return function(args) |
|
|
@ -61,9 +58,10 @@ return function(args) |
|
|
|
end) |
|
|
|
local widget = menugen({ |
|
|
|
items = { |
|
|
|
{ "Kill client", function() client.focus:kill() end }, |
|
|
|
{ "Raise client", function() client.focus:raise() end}, |
|
|
|
{ "Lower client", function() client.focus:lower() end}, |
|
|
|
{ "Terminate client", function() client.focus:kill() end }, |
|
|
|
{ "Kill client", function() awful.spawn("kill -KILL "..tostring(client.focus.pid)) end }, |
|
|
|
{ "Toggle above", function() client.focus.above = (not client.focus.above) end}, |
|
|
|
{ "Toggle below", function() client.focus.below = (not client.focus.below) end}, |
|
|
|
{ "Move to tag", move_to_tag }, |
|
|
|
{ "Switch on tag", add_to_tag } |
|
|
|
}, |
|
|
|