summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@gmail.com>2017-10-09 02:44:05 +0200
committerBenjamin Franzke <benjaminfranzke@gmail.com>2017-10-09 02:44:05 +0200
commitca2d132b39be958a4771d953e573b97968aacab7 (patch)
tree82c6b1f88dfdd50296b66dade7009880b7784b2c /.config
parent638d8e50347f22e6db6bfac10c524e335aa7be22 (diff)
downloaddotfiles-ca2d132b39be958a4771d953e573b97968aacab7.tar.gz
dotfiles-ca2d132b39be958a4771d953e573b97968aacab7.tar.bz2
dotfiles-ca2d132b39be958a4771d953e573b97968aacab7.zip
Update awesome rc.lua
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/rc.lua34
1 files changed, 17 insertions, 17 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index a08e3f8..1a8b907 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -11,11 +11,11 @@ local beautiful = require("beautiful")
local naughty = require("naughty")
local menubar = require("menubar")
-local vicious = require("vicious")
+--local vicious = require("vicious")
local switcher = require("switcher")
-require("eminent")
+--require("eminent")
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
@@ -60,7 +60,7 @@ spawn_once("nm-applet", "nm-applet")
beautiful.init(os.getenv("HOME") .. "/.local/share/awesome/themes/zenburn/theme.lua")
-- This is used later as the default terminal and editor to run.
-terminal = "urxvtc"
+terminal = "gnome-terminal"
editor = os.getenv("EDITOR") or "nano"
editor_cmd = terminal .. " -e " .. editor
@@ -185,18 +185,18 @@ mytasklist.buttons = awful.util.table.join(
if client.focus then client.focus:raise() end
end))
-mygmail = wibox.widget.textbox()
-gmail_t = awful.tooltip({ objects = { mygmail },})
+--mygmail = wibox.widget.textbox()
+--gmail_t = awful.tooltip({ objects = { mygmail },})
-mygmailimg = wibox.widget.imagebox()
-mygmailimg:set_image("/home/ben/.config/awesome/gmail.21.u.png")
-vicious.widgets.gmail.feed =
- vicious.register(mygmail, vicious.widgets.gmail,
- function (widget, args)
- gmail_t:set_text(args["{subject}"])
- gmail_t:add_to_object(mygmailimg)
- return args["{count}"]
- end, 60)
+--mygmailimg = wibox.widget.imagebox()
+--mygmailimg:set_image("/home/ben/.config/awesome/gmail.21.u.png")
+--vicious.widgets.gmail.feed =
+-- vicious.register(mygmail, vicious.widgets.gmail,
+-- function (widget, args)
+-- gmail_t:set_text(args["{subject}"])
+-- gmail_t:add_to_object(mygmailimg)
+-- return args["{count}"]
+-- end, 60)
for s = 1, screen.count() do
-- Create a promptbox for each screen
@@ -227,8 +227,8 @@ for s = 1, screen.count() do
-- Widgets that are aligned to the right
local right_layout = wibox.layout.fixed.horizontal()
if s == 1 then right_layout:add(wibox.widget.systray()) end
- right_layout:add(mygmail)
- right_layout:add(mygmailimg)
+ --right_layout:add(mygmail)
+ --right_layout:add(mygmailimg)
right_layout:add(mytextclock)
right_layout:add(mylayoutbox[s])
@@ -292,7 +292,7 @@ globalkeys = awful.util.table.join(
-- Standard program
awful.key({ modkey, }, "x", function () spawn_from_awesome(terminal, false) end),
awful.key({ modkey, }, "a", function () awful.util.spawn(terminal .. " -geometry 100x25 -e pa-sink-ctl" ) end),
- awful.key({ modkey, }, "w", function () awful.util.spawn("chromium") end),
+ awful.key({ modkey, }, "w", function () awful.util.spawn("google-chrome") end),
awful.key({ modkey, }, "n", function () awful.util.spawn("nautilus") end),
awful.key({ modkey, }, "v", function () awful.util.spawn("virt-manager --no-fork") end),
awful.key({ modkey, }, "p", function () awful.util.spawn("pidgin") end),