From 3f6cb4b981e3444ff6a50a3cb970537a64162c04 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 13 Aug 2019 12:52:01 +0300 Subject: [PATCH] rc.lua updated --- rc.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rc.lua b/rc.lua index 3189e3d..84d5afe 100644 --- a/rc.lua +++ b/rc.lua @@ -258,9 +258,11 @@ local volicon = wibox.widget.imagebox() volicon:set_image(beautiful.widget_vol) volicon:buttons( awful.util.table.join( - awful.button({ }, 1, function () os.execute("pgrep alsamixer || urxvt -e alsamixer --view=all &") end), - awful.button({ }, 4, function () os.execute("pgrep -x amixer || amixer set Master 1%+") end), - awful.button({ }, 5, function () os.execute("pgrep -x amixer || amixer set Master 1%-") end) + -- awful.button({ }, 1, function () os.execute("pgrep alsamixer || urxvt -e alsamixer --view=all &") end), + awful.button({ }, 1, function () os.execute("pgrep pavucontrol || pavucontrol &") end), + awful.button({ }, 3, function () os.execute("pgrep alsamixer || urxvt -e alsamixer -c 1 &") end), + awful.button({ }, 4, function () os.execute("pgrep -x amixer || amixer set Master 2%+") end), + awful.button({ }, 5, function () os.execute("pgrep -x amixer || amixer set Master 2%-") end) ) ) volpct = wibox.widget.textbox() @@ -303,7 +305,7 @@ local diskicon = wibox.widget.imagebox() diskicon:set_image(beautiful.widget_disk) diskicon:buttons(awful.util.table.join(awful.button({ }, 1, show_iotop))) disk = wibox.widget.textbox() -vicious.register(disk, vicious.widgets.fs, '${/mnt/bcache0 avail_gb}Gb ', 15) +vicious.register(disk, vicious.widgets.fs, '${/home avail_gb}Gb ', 15) disk:buttons(diskicon:buttons())