about summary refs log tree commit diff
path: root/awesome
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2017-11-26 15:41:07 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2017-11-26 15:41:07 +0700
commit2f254e8c7f564f246190f48372b4c317651ce764 (patch)
treef88ec027835efdbac334c37f322b2303c3f236d1 /awesome
parent215695710f8b04e70ed5dbd0426c1e15b0b225d7 (diff)
downloaddotfiles-2f254e8c7f564f246190f48372b4c317651ce764.tar.gz
Update 2017-11-26
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua16
1 files changed, 7 insertions, 9 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 4c762a4..39f9428 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -46,15 +46,15 @@ end
 beautiful.init("~/.config/awesome/themes/gruvbox/theme.lua")
 
 -- This is used later as the default terminal and editor to run.
-terminal = "x-terminal-emulator"
+terminal = "x-terminal-emulator -e dvtm"
 editor = "gvim"
 -- And some additional applications
-root_terminal = terminal .. " -e su -"
-ranger = terminal .. " -e ranger"
-python = terminal .. " -e python3"
-guile = terminal .. " -e guile"
-mutt = terminal .. " -e mutt"
-cmus = terminal .. " -e cmus"
+root_terminal = "x-terminal-emulator -e su --login --command dvtm"
+ranger = "x-terminal-emulator -e ranger"
+python = "x-terminal-emulator -e python3"
+guile = "x-terminal-emulator -e guile"
+mutt = "x-terminal-emulator -e mutt"
+cmus = "x-terminal-emulator -e cmus"
 cmus_pause = "cmus-remote --pause"
 cmus_prev = "cmus-remote --prev"
 cmus_next = "cmus-remote --next"
@@ -66,7 +66,6 @@ function volume_lower() awful.spawn("amixer sset Master 5%-", false) end
 function volume_raise() awful.spawn("amixer sset Master 5%+", false) end
 function volume_mute() awful.util.spawn("amixer sset Master toggle", false) end
 
-
 -- Default modkey.
 -- Usually, Mod4 is the key with a logo between Control and Alt.
 -- If you do not like this or do not have such a key,
@@ -152,7 +151,6 @@ vicious.register(mycpuusage, vicious.widgets.cpu,
                  end, 2)
 
 -- Create memory usage widgets
-vicious.cache(vicious.widgets.mem)
 mymemusage = wibox.widget.textbox() -- RAM
 vicious.register(mymemusage, vicious.widgets.mem,
                  function(widget, args)