summaryrefslogtreecommitdiff
path: root/oxwm
diff options
context:
space:
mode:
Diffstat (limited to 'oxwm')
-rw-r--r--oxwm/.config/oxwm/config.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/oxwm/.config/oxwm/config.lua b/oxwm/.config/oxwm/config.lua
index 80b6d27..4461bf5 100644
--- a/oxwm/.config/oxwm/config.lua
+++ b/oxwm/.config/oxwm/config.lua
@@ -138,7 +138,9 @@ oxwm.gaps.set_outer(0, 0)
-- Examples (uncomment to use):
-- oxwm.rule.add({ instance = "gimp", floating = true })
oxwm.rule.add({ class = "firefox", title = "Library", floating = true })
+oxwm.rule.add({ class = "firefox", role = "GtkFileChooserDialog", floating = true })
oxwm.rule.add({ class = "firefox", tag = 2 })
+oxwm.rule.add({ class = "zenity", floating = true })
-- oxwm.rule.add({ instance = "mpv", floating = true })
-- To find window properties, use xprop and click on the window
@@ -288,6 +290,11 @@ oxwm.key.chord({
{ {}, "o" }
}, oxwm.spawn({ "open-bookmark.sh" }))
+oxwm.key.chord({
+ { { modkey }, "Space" },
+ { {}, "p" }
+}, oxwm.spawn({ "power.sh" }))
+
-------------------------------------------------------------------------------
-- Autostart
-------------------------------------------------------------------------------