about summary refs log tree commit diff
path: root/awesome
diff options
context:
space:
mode:
authorMcSinyx <vn.mcsinyx@gmail.com>2016-06-06 10:00:02 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2016-11-20 16:43:50 +0700
commit46ed9cd0144e4ae7dfb677f9866c200c26614394 (patch)
treedcac1d48f052b96a66efbdf2afb5128f2e5d4671 /awesome
parent25b5afef81a0901f211cda5132c97df3ae88c419 (diff)
downloaddotfiles-46ed9cd0144e4ae7dfb677f9866c200c26614394.tar.gz
Add ctags
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua33
1 files changed, 19 insertions, 14 deletions
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("<span color='#3c3836'> CPU%03d%%</span>"):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("<span color='#3c3836'> MEM%03d%%</span>"):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(
@@ -456,6 +456,11 @@ globalkeys = awful.util.table.join(
     ),
     awful.key(
         {modkey},
+        "t",
+        function() awful.util.spawn(terminal .. " -e htop") end
+    ),
+    awful.key(
+        {modkey},
         "c",
         function() awful.util.spawn(terminal .. " -e cmus") end
     ),