summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-06-29 22:01:24 -0500
committerzachir <zachir@librem.one>2022-06-29 22:01:24 -0500
commit3568d3eeece711b72f859b5f44de40b0229286cb (patch)
tree5f5a2ce79dce2ee689ff301d793d1a0a17bf2311
parentfa65f1036ba21f0b481ed148f073df6323a65b18 (diff)
rc.lua: set bar height, fix spblue, add tremc scratchpad
-rw-r--r--rc.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/rc.lua b/rc.lua
index e205ed2..2f6061b 100644
--- a/rc.lua
+++ b/rc.lua
@@ -223,7 +223,7 @@ awful.screen.connect_for_each_screen(function(s)
}
-- Create the wibox
- s.mywibox = awful.wibar({ position = "top", screen = s })
+ s.mywibox = awful.wibar({ position = "top", screen = s, height = 24})
-- Add widgets to the wibox
s.mywibox:setup {
@@ -298,7 +298,7 @@ globalkeys = gears.table.join(
end,
{description = "Toggle pulsemixer scratchpad"}),
awful.key({ modkey, "Control" }, "v", function ()
- scratch.toggle("st -c sppmxr -g 100x30 -e bluetoothctl", { class = "spblue" })
+ scratch.toggle("st -c spblue -g 100x30 -e bluetoothctl", { class = "spblue" })
awful.placement.centered()
end,
{description = "Toggle bluetoothctl scratchpad"}),
@@ -317,6 +317,11 @@ globalkeys = gears.table.join(
awful.placement.centered()
end,
{description = "Toggle profanity scratchpad"}),
+ awful.key({ modkey, "Control" }, "d", function ()
+ scratch.toggle("st -c sptrem -g 100x30 -e tremc", { class = "sptrem" })
+ awful.placement.centered()
+ end,
+ {description = "Toggle tremc scratchpad"}),
awful.key({ modkey, }, "a", function ()
spawnatbottom = not spawnatbottom
end,
@@ -626,6 +631,7 @@ awful.rules.rules = {
"spncmp",
"spmutt",
"spprof",
+ "sptrem",
"ProtonMail Bridge",
"TheFiniteDemo",
"Arandr",