fix: more sensible document path

This commit is contained in:
Klesh Wong 2022-09-08 21:56:51 +08:00
parent bbbaafcf8e
commit c55f20e9fd
2 changed files with 2 additions and 3 deletions

3
bin/bm
View File

@ -9,8 +9,7 @@
# - [gmail](https://gmail.com)
# ```
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
set -q BOOKMARK_PATH; or set BOOKMARK_PATH $XDG_CONFIG_HOME/bookmarks.md
set -q BOOKMARK_PATH; or set BOOKMARK_PATH $HOME/Documents/bookmarks.md
if set -q BOOKMARK_SEARCHER
set BOOKMARK_SEARCHER (string split ' ' $BOOKMARK_SEARCHER)
else

View File

@ -567,7 +567,7 @@ local globalkeys = gears.table.join(
function() awful.spawn.with_shell('D_SELECTOR="rofi -dmenu -p dict.sh" d "$(xsel -o)"') end,
{ description = "dict.sh", group = "launcher" }),
awful.key({ modkey }, "o",
function() awful.spawn.with_shell('find ~/Nextcloud/notes/ | rofi -dmenu -title notes | xargs xdg-open') end,
function() awful.spawn.with_shell('find ~/Documents/ | rofi -dmenu -title notes | xargs xdg-open') end,
{ description = "open note", group = "launcher" })
)