From 46ed9cd0144e4ae7dfb677f9866c200c26614394 Mon Sep 17 00:00:00 2001 From: McSinyx Date: Mon, 6 Jun 2016 10:00:02 +0700 Subject: Add ctags --- awesome/.config/awesome/rc.lua | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'awesome') diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 4785931..6d21a5a 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -137,7 +137,7 @@ vicious.register( function(widget, args) return(" CPU%03d%%"):format(args[1]) end, - 5 + 2 ) mycpuwidget = wibox.widget.background() mycpuwidget:set_widget(mycpuwidget_text) @@ -151,7 +151,7 @@ vicious.register( function(widget, args) return(" MEM%03d%%"):format(args[1]) end, - 5 + 2 ) mymemwidget = wibox.widget.background() mymemwidget:set_widget(mymemwidget_text) @@ -424,24 +424,24 @@ globalkeys = awful.util.table.join( ";", function() mypromptbox[mouse.screen]:run() end ), - awful.key( - {modkey}, - "x", - function() - awful.prompt.run({prompt = "Run Lua code: "}, - mypromptbox[mouse.screen].widget, - awful.util.eval, nil, - awful.util.getdir("cache") .. "/history_eval") - end - ), + --awful.key( + -- {modkey}, + -- "x", + -- function() + -- awful.prompt.run({prompt = "Run Lua code: "}, + -- mypromptbox[mouse.screen].widget, + -- awful.util.eval, nil, + -- awful.util.getdir("cache") .. "/history_eval") + -- end + --), -- Menubar awful.key({modkey, "Shift"}, "p", function() menubar.show() end), -- Applications - awful.key({modkey}, "t", function() awful.util.spawn(terminal) end), + awful.key({modkey}, "x", function() awful.util.spawn(terminal) end), awful.key( {modkey, "Shift"}, - "t", + "x", function() awful.util.spawn(terminal .. " -e su -") end ), awful.key( @@ -454,6 +454,11 @@ globalkeys = awful.util.table.join( "r", function() awful.util.spawn(terminal .. " -e ranger") end ), + awful.key( + {modkey}, + "t", + function() awful.util.spawn(terminal .. " -e htop") end + ), awful.key( {modkey}, "c", -- cgit 1.4.1