From b2194f79dd08899daf61c7f91467c519b8cd38b9 Mon Sep 17 00:00:00 2001 From: liph Date: Thu, 5 Feb 2026 17:07:01 +0100 Subject: [PATCH] added hostname var in ohmyposh --- aerc/.config/aerc/accounts.conf | 20 ++++++++++---------- niri/.config/niri/config.kdl | 6 ++++++ ohmyposh/.config/ohmyposh/zen.toml | 7 +++++++ 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/aerc/.config/aerc/accounts.conf b/aerc/.config/aerc/accounts.conf index 5fb25ae..c0a4d5d 100644 --- a/aerc/.config/aerc/accounts.conf +++ b/aerc/.config/aerc/accounts.conf @@ -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 - 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 +# 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 diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index 0123954..3a12739 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -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" diff --git a/ohmyposh/.config/ohmyposh/zen.toml b/ohmyposh/.config/ohmyposh/zen.toml index b08a62b..e47760f 100644 --- a/ohmyposh/.config/ohmyposh/zen.toml +++ b/ohmyposh/.config/ohmyposh/zen.toml @@ -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'