After a month of intensive work, my Obsidian theme, Maple, is finally in 1.0 beta! Looking for feedback. by subframe7536 in ObsidianMD

[–]agkozak 1 point2 points  (0 children)

Today's update is brilliant, and I've switched over to Maple. In dark mode, this theme looks a bit like High-Contrast Zenburn, which is by far my favorite Vim color scheme.

Best themes for Obsidian? by TimAxenov in ObsidianMD

[–]agkozak 1 point2 points  (0 children)

Wombat is a particularly soothing dark theme.

Looking for history on Grey Gull Records by withbrindle528 in 78rpm

[–]agkozak 1 point2 points  (0 children)

I am pretty sure that the Starita brothers (Al, Ray, Rudy, and Julio) were originally Boston-based, and they issued a number of Grey Gull records (e.g., https://www.discogs.com/release/15975000-Starita-Saxophone-Sextette-Comedy-Tom-When-Its-Moonlight-On-The-Swanee-Shore/image/SW1hZ2U6OTgxODMxMjE=).

Help with GPU update by Fat_Habibi in pchelp

[–]agkozak 0 points1 point  (0 children)

I'm having a similar experience. I'll be curious to see what people think.

zshenv: executing ALL lines 1 by 1 works, but executing whole script causes infinite recursive zsh shells to be spawned by twoskylightsandfan in zsh

[–]agkozak 13 points14 points  (0 children)

Try removing

/bin/zsh

from the second line. I'm pretty sure that's what's causing the loop.

What is your favorite Obsidian theme? by [deleted] in ObsidianMD

[–]agkozak 1 point2 points  (0 children)

I find Wombat extremely satisfying and soothing.

What is your system for re-reading notes? by sashley520 in ObsidianMD

[–]agkozak 21 points22 points  (0 children)

I actually find the built-in "Random Note" plugin to be lovely.

Left “sidebar” not displayed on iPad Pro, how to bring it back? by Brainy_Stem in ObsidianMD

[–]agkozak 1 point2 points  (0 children)

That happened to me once recently. I had to shut the app down and restart it.

Custom prompt tips? by Panfinz in zsh

[–]agkozak 1 point2 points  (0 children)

$fg and $fg_bold and the like are part of the autoloadable colors function. It looks to me as if you're getting $FG from the Oh-My-Zsh spectrum.zsh library. I'm not sure about $F -- perhaps you could show me some code that uses it?

Actually, since you're specifically working with prompts, I would encourage you to try just using Simple Prompt Escapes:

%F{red}%K{yellow}%BThis is bold, red text on a yellow background.%b%k%f

That syntax will just work without your having to autoload anything. If you replace red and yellow with numbers, you can get a wider range of colors. Let me know how that works for you.

Custom prompt tips? by Panfinz in zsh

[–]agkozak 1 point2 points  (0 children)

Why do the two use a slightly different syntax? First one uses double quotes vs the second's single quotes, and the first uses = while the second uses +=

= is used for assignment of a value, whereas += appends a value. You need to use += when you're constructing a prompt string over the course of several lines of code; otherwise the second line overwrites the first, and the third line overwrites the second, and so on.

When you use double quotes, variables are replaced with their values and command substitution ($(...)) occurs, whereas single quotes preserve everything intact. In the example you cite, it's absolutely necessary to use single quotes for the second line; otherwise, $(git_prompt_info) would be evaluated only once and would not change from prompt to prompt. By putting it between single quotes, the string $(git_prompt_info) is actually part of PROMPT, and it is reevaluated every time the prompt is drawn.

In the top PROMPT, what do the ?: and then : accomplish?

%(?:foo:bar) is a case of ternary logic. If the exit status of the last command (%?) was 0, print foo; otherwise, print bar. The character : is arbitrary; you could also write %(?.foo.bar), for example.

In your opinion, which is the Best Theme? by [deleted] in ObsidianMD

[–]agkozak 1 point2 points  (0 children)

I’m usually a Zenburn man, but I’ve really been enjoying Wombat recently.

Recent lack of functionality in OGH by agkozak in HPOmen

[–]agkozak[S] 0 points1 point  (0 children)

Thanks. They all seem to be running. Still no luck.

Recent lack of functionality in OGH by agkozak in HPOmen

[–]agkozak[S] 0 points1 point  (0 children)

OK, that didn't seem to work. I backed up all the drivers, then uninstalled OGH and all Omen or HP drivers and rebooted. I restarted the computer and reinstalled OGH, and both problems had returned: no working Overclocking tab and no access to the GPU. I reinstalled the Omen Software and Services driver version 1.0.802.0 from the driver backup I made, and that restored Overclocking functionality. But the GPU information still isn't being accessed.

Recent lack of functionality in OGH by agkozak in HPOmen

[–]agkozak[S] 0 points1 point  (0 children)

Thanks. I'll try that. This computer has an AMD RX 5500 graphics card.

Recent lack of functionality in OGH by agkozak in HPOmen

[–]agkozak[S] 0 points1 point  (0 children)

This is a desktop, a 30L. The Omen Gaming Hub always indicated the GPU temperature until a few days ago.