From aebda32c2a09fcbdc1e645f55a0c6de3b9a2cfaf Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sun, 21 Jun 2026 19:01:25 +0100 Subject: Add bookmark management scripts --- oxwm/.config/oxwm/config.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'oxwm/.config') diff --git a/oxwm/.config/oxwm/config.lua b/oxwm/.config/oxwm/config.lua index d899890..80b6d27 100644 --- a/oxwm/.config/oxwm/config.lua +++ b/oxwm/.config/oxwm/config.lua @@ -275,8 +275,18 @@ oxwm.key.bind({ modkey, "Control", "Shift" }, "9", oxwm.tag.toggletag(8)) -- Example: Press Mod4+Space, then release and press T to spawn a terminal without auto starting anything. oxwm.key.chord({ { { modkey }, "Space" }, - { {}, "T" } -}, oxwm.spawn({ "alacritty", "-e", "bash" })) + { {}, "B" } +}, oxwm.spawn({ "firefox" })) + +oxwm.key.chord({ + { { modkey }, "b" }, + { {}, "a" } +}, oxwm.spawn({ "add-bookmark.sh" })) + +oxwm.key.chord({ + { { modkey }, "b" }, + { {}, "o" } +}, oxwm.spawn({ "open-bookmark.sh" })) ------------------------------------------------------------------------------- -- Autostart @@ -286,7 +296,7 @@ oxwm.key.chord({ -- Keycode 108 was found using the exv command and pressing the AltGr key in the popup window. oxwm.autostart("xmodmap -e 'keycode 108 = Super_R' -e 'add mod4 = Super_R'") +oxwm.autostart("dunst") -- oxwm.autostart("picom") -- oxwm.autostart("feh --bg-scale ~/wallpaper.jpg") --- oxwm.autostart("dunst") -- oxwm.autostart("nm-applet") -- cgit v1.2.3-13-gbd6f