dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit a5d8de2d8245f3bce88f4dd4ee4e3baacf33f35c
parent bd3d244cf3d8a3f42f9be32cd12afedc367c3e2b
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 27 Jan 2018 09:29:31 -0500

WM-independent volume notification

Diffstat:
M.config/awesome/rc.lua | 9---------
M.xbindkeysrc | 3+++
2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua @@ -93,14 +93,6 @@ local function client_menu_toggle_fn() end end end - -local function sound_status() - awful.spawn.easy_async('my sound status', - function (stdout, stderr, reason, exit_code) - -- Use string.sub to trim the trailing carriage return - naughty.notify { text = string.sub(stdout, 1, -2) } - end) -end -- }}} -- {{{ Menu @@ -257,7 +249,6 @@ globalkeys = gears.table.join( {description = "view next", group = "tag"}), awful.key({ modkey, }, "Escape", awful.tag.history.restore, {description = "go back", group = "tag"}), - awful.key({ modkey, }, "v", sound_status), awful.key({ modkey, }, "j", function () awful.client.focus.byidx( 1) diff --git a/.xbindkeysrc b/.xbindkeysrc @@ -32,6 +32,9 @@ "my sound set-sink-mute 0 toggle" XF86AudioMute +"notify-send "`my sound status`"" + Mod4 + v + "my screen" Mod1 + Mod4 + Return