pjeby / quick-explorer

Perform file explorer operations (and see your current file path) from the Obsidian.md title bar
ISC License
267 stars 12 forks source link

Is it possible to move quick-explorer's address bar to top. #101

Open luxuxl opened 1 month ago

luxuxl commented 1 month ago

I notice that in the showcase picture,the address bar is on top.But I can't find a setting to adjust it.It's not very convient for me to focus on the most bottom.

pjeby commented 1 month ago

There are two ways to do it. In either case, you go to Obsidian's "Appearance" settings, then choose one of the following:

The first option will add a separate title bar/menu at the top of every Obsidian window, and QE will appear there.

The second option will put a bar at the top of every tab instead, where the filename/path will appear and work as QE does.

(You can even have both enabled if you want, though that's kind of redundant.)

luxuxl commented 1 month ago

There are two ways to do it. In either case, you go to Obsidian's "Appearance" settings, then choose one of the following:

  • Either set "Advanced > Window frame style" to "Obsidian" and restart
  • OR, turn on "Interface > Show tab title bar"

The first option will add a separate title bar/menu at the top of every Obsidian window, and QE will appear there.

The second option will put a bar at the top of every tab instead, where the filename/path will appear and work as QE does.

(You can even have both enabled if you want, though that's kind of redundant.)

Got it, I have finished with css style

image

But now I meet a new problem, is there any way to hide the "attachments" folder 😹

pjeby commented 1 month ago

Try this:

.menu-item.is-qe-folder[data-file-path="attachments"] { display: none; }

You may need to tweak the path; I'm guessing from your picture the actual path is something like Obsidian/attachments; to block all paths like that you'd use $="/attachments" to match all paths that end in /attachments.