added hostname var in ohmyposh

This commit is contained in:
liph
2026-02-05 17:07:01 +01:00
parent 5a78d47050
commit b2194f79dd
3 changed files with 23 additions and 10 deletions

View File

@@ -41,13 +41,13 @@ copy-to = Sent
default = Inbox
aliases = blue@liphlink.xyz,red@liphlink.xyz
[proton]
source = imap+insecure://liiph%40protonmail.com:dRvBWYW3uERY6xqXDgJLeQ@127.0.0.1:1144
outgoing = smtp+insecure://liiph%40protonmail.com:dRvBWYW3uERY6xqXDgJLeQ@127.0.0.1:1026
default = INBOX
from = Liph <spam@liphlink.xyz>
copy-to = Sent
archive = Archive
postpone = Drafts
folders-sort = INBOX,Drafts,Sent,Archive,Spam,Trash
aliases = liiph@proton.me,liiph@pm.me,ph.waibel@proton.me,ph.waibel@pm.me
# [proton]
# source = imap+insecure://liiph%40protonmail.com:dRvBWYW3uERY6xqXDgJLeQ@127.0.0.1:1144
# outgoing = smtp+insecure://liiph%40protonmail.com:dRvBWYW3uERY6xqXDgJLeQ@127.0.0.1:1026
# default = INBOX
# from = Liph <spam@liphlink.xyz>
# copy-to = Sent
# archive = Archive
# postpone = Drafts
# folders-sort = INBOX,Drafts,Sent,Archive,Spam,Trash
# aliases = liiph@proton.me,liiph@pm.me,ph.waibel@proton.me,ph.waibel@pm.me

View File

@@ -102,6 +102,12 @@ match app-id=r#"^org\.gnome\.World\.Secrets$"#
block-out-from "screen-capture"
}
// terminal window-rule
window-rule {
match app-id="^(zoom|us.zoom.Zoom)$"
exclude title="^.*Zoom Workplace"
open-floating true
}
window-rule {
match at-startup=true app-id="kitty"
open-on-workspace "1"

View File

@@ -20,6 +20,13 @@ type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = '{{ .HostName }} '
foreground = 'magenta'
background = 'transparent'
type = 'text'
style = 'plain'
[[blocks.segments]]
template = '{{ .Path }}'
foreground = 'blue'