summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/rc.lua b/rc.lua
index 80ab23c..eca6fbe 100644
--- a/rc.lua
+++ b/rc.lua
@@ -59,7 +59,7 @@ beautiful.wallpaper = awful.util.get_configuration_dir() .. "../../background.pn
local battery_widget = require("awesome-wm-widgets.batteryarc-widget.batteryarc")
local mpd_widget = require("awesome-wm-widgets.mpdarc-widget.mpdarc")
-local volume_widget = require("awesome-wm-widgets.volumearc-widget.volumearc")
+local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
local brightness_widget = require("awesome-wm-widgets.brightness-widget.brightness")
@@ -84,7 +84,7 @@ editor_cmd = terminal .. " -e " .. editor
-- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
-modkey = "Mod1"
+modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
@@ -251,6 +251,7 @@ awful.screen.connect_for_each_screen(function(s)
},
volume_widget {
path_to_icon = "/usr/share/icons/Paper/scalable/status/audio-volume-muted-symbolic.svg",
+ widget_type = "arc",
mute_color = "#ff111111",
},
battery_widget { path_to_icons = "/usr/share/icons/Paper/scalable/status/" },
@@ -296,6 +297,11 @@ globalkeys = gears.table.join(
awful.placement.centered()
end,
{description = "Toggle pulsemixer scratchpad"}),
+ awful.key({ modkey, "Control" }, "v", function ()
+ scratch.toggle("st -c sppmxr -g 100x30 -e bluetoothctl", { class = "spblue" })
+ awful.placement.centered()
+ end,
+ {description = "Toggle bluetoothctl scratchpad"}),
awful.key({ modkey, "Control" }, "b", function ()
scratch.toggle("st -c spncmp -g 100x30 -e ncmpcpp", { class = "spncmp" })
awful.placement.centered()
@@ -614,6 +620,7 @@ awful.rules.rules = {
"sphtop",
"spterm",
"sppmxr",
+ "spblue",
"spncmp",
"spmutt",
"spprof",