summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2022-05-01 15:53:27 -0500
committerZachIR <zachir@librem.one>2022-05-01 15:53:27 -0500
commit042793178c7954c2439f6037e78f723626f12c9f (patch)
treee9dc1755c2709db191e6d9c0dd446f7d87f0c240
parent57415852ef53654886aea8e26ee6d6102400cf3f (diff)
update awesome rc.lua to where it was
-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",