From 1c0fb275f3f302d6abc3ef560a80ceec8a8e6b8c Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 6 Jan 2026 22:54:41 +0100 Subject: refactor: move scripts to cmd50 --- user/open/config.toml | 11 +++++++++++ user/zsh/zshrc-workstation.sh | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 user/open/config.toml (limited to 'user') diff --git a/user/open/config.toml b/user/open/config.toml new file mode 100644 index 0000000..c99864d --- /dev/null +++ b/user/open/config.toml @@ -0,0 +1,11 @@ +[mime-types] +"application/pdf" = ["zathura"] +"image/*" = ["imv"] +"text/html" = ["firefox"] +"text/*" = ["foot", "vim"] +"video/*" = ["mpv"] + +[uri-schemes] +"http" = ["firefox"] +"https" = ["firefox"] +"mailto" = ["thunderbird"] diff --git a/user/zsh/zshrc-workstation.sh b/user/zsh/zshrc-workstation.sh index b7458b0..a31627b 100644 --- a/user/zsh/zshrc-workstation.sh +++ b/user/zsh/zshrc-workstation.sh @@ -20,7 +20,9 @@ path+=$NPM_CONFIG_PREFIX/bin eval "$(direnv hook zsh)" function ssh() { - # In my ~/.ssh/config I configure host-specific background colors, for example: + # When I ssh into a server my terminal changes to a host-specific background color via + # a LocalCommand configured in ~/.ssh/config and this ZSH function resets the color on exit. + # For example in ~/.ssh/config I could configure: # # Host forest # LocalCommand set-bg 003300 -- cgit v1.3.1