summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua21
1 files changed, 11 insertions, 10 deletions
diff --git a/rc.lua b/rc.lua
index 3d279d2..b2214ac 100644
--- a/rc.lua
+++ b/rc.lua
@@ -17,7 +17,7 @@ local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout libraries
-local wibox = require("wibox")
+local wibox = require("wibox")
local vicious = require("vicious")
-- Theme handling library
local beautiful = require("beautiful")
@@ -109,8 +109,8 @@ vicious.register(myvolwidget, vicious.widgets.volume, "$1%", 2, "Master")
-- Register buttons
myvolwidget:buttons(gears.table.join(
awful.button({ }, 1, function () exec("urxvt -T Alsamixer -e alsamixer") end),
- awful.button({ }, 4, function () exec("amixer -q -c 0 set Master 1dB+") end),
- awful.button({ }, 5, function () exec("amixer -q -c 0 set Master 1dB-") end)
+ awful.button({ }, 4, function () exec("amixer -q -c 0 set Master 1dB+", false) end),
+ awful.button({ }, 5, function () exec("amixer -q -c 0 set Master 1dB-", false) end)
))
-- }}}
@@ -125,10 +125,10 @@ vicious.register(mydatestwidget, vicious.widgets.date, "%R", 61, -21600) -- New
-- Register buttons
mydatewidget:buttons(gears.table.join(
-- GTK3 calendar applet with holidays: https://sysphere.org/~anrxc/local/sources/pylendar.py
- awful.button({ }, 1, function () exec(home .. "/bin/pylendar.py") end)
+ awful.button({ }, 1, function () exec(home .. "/bin/pylendar.py", false) end)
))
mydatestwidget:buttons(gears.table.join(
- awful.button({ }, 1, function () exec(home .. "/bin/pylendar.py") end)
+ awful.button({ }, 1, function () exec(home .. "/bin/pylendar.py", false) end)
))
-- }}}
@@ -325,9 +325,9 @@ globalkeys = gears.table.join(
{description = "lock the screen", group = "launcher"}),
awful.key({}, "#198", function () awful.spawn("amixer set Capture toggle") end,
{description = "mute the microphone", group = "launcher"}),
- awful.key({}, "#233", function () awful.spawn(home .. "/bin/plight.py -a -c plus") end,
+ awful.key({}, "#233", function () awful.spawn(home .. "/bin/plight.py -a -c plus", false) end,
{description = "increase brightness", group = "launcher"}),
- awful.key({}, "#232", function () awful.spawn(home .. "/bin/plight.py -a -c minus") end,
+ awful.key({}, "#232", function () awful.spawn(home .. "/bin/plight.py -a -c minus", false) end,
{description = "decrease brightness", group = "launcher"}),
-- Applications
@@ -565,6 +565,7 @@ awful.rules.rules = {
"Library", -- firefox downloads, history...
"Event Tester", -- xev
"Alsamixer",
+ "About Mozilla Firefox",
},
role = {
@@ -661,7 +662,7 @@ end
-- {{{ Autostart
-awful.spawn("/usr/bin/xinput set-prop 9 334 0 1 0") -- touchpad single finger scrolling
-awful.spawn(home .. "/bin/autostart-keychain-agent.sh") -- launch the ssh-agent
-awful.spawn(home .. "/bin/autostart-xmodmap-xdefaults.sh") -- xrdb merge defaults and keymap
+awful.spawn("/usr/bin/xinput set-prop 9 334 0 1 0", false) -- touchpad single finger scrolling
+awful.spawn(home .. "/bin/autostart-keychain-agent.sh", false) -- launch the ssh-agent
+awful.spawn(home .. "/bin/autostart-xmodmap-xdefaults.sh", false) -- xrdb merge defaults and keymap
-- }}}