From e98a9de004121517f62cba89759473b2adfd970e Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 26 Jan 2025 12:30:50 -0600 Subject: [PATCH] update --- .../com.system76.CosmicAppList/v1/favorites | 3 +- .../v1/active-page | 2 +- .../com.system76.CosmicTerm/v1/font_name | 2 +- .../com.system76.CosmicTerm/v1/font_size | 2 +- .../com.system76.CosmicTerm/v1/profiles | 2 +- .zshrc | 29 ++++++++++--------- 6 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.config/cosmic/com.system76.CosmicAppList/v1/favorites b/.config/cosmic/com.system76.CosmicAppList/v1/favorites index e6ada8d..4b0e1e5 100644 --- a/.config/cosmic/com.system76.CosmicAppList/v1/favorites +++ b/.config/cosmic/com.system76.CosmicAppList/v1/favorites @@ -1,5 +1,6 @@ [ "io.gitlab.librewolf-community", - "kitty", + "com.system76.CosmicTerm", + "com.mitchellh.ghostty", "com.system76.CosmicFiles", ] \ No newline at end of file diff --git a/.config/cosmic/com.system76.CosmicSettings/v1/active-page b/.config/cosmic/com.system76.CosmicSettings/v1/active-page index 73915e8..77cf337 100644 --- a/.config/cosmic/com.system76.CosmicSettings/v1/active-page +++ b/.config/cosmic/com.system76.CosmicSettings/v1/active-page @@ -1 +1 @@ -"power" \ No newline at end of file +"window-management" \ No newline at end of file diff --git a/.config/cosmic/com.system76.CosmicTerm/v1/font_name b/.config/cosmic/com.system76.CosmicTerm/v1/font_name index 9438df2..4de8f69 100644 --- a/.config/cosmic/com.system76.CosmicTerm/v1/font_name +++ b/.config/cosmic/com.system76.CosmicTerm/v1/font_name @@ -1 +1 @@ -"FiraCode Nerd Font Mono" \ No newline at end of file +"GoMono Nerd Font" diff --git a/.config/cosmic/com.system76.CosmicTerm/v1/font_size b/.config/cosmic/com.system76.CosmicTerm/v1/font_size index 19c7bdb..b6a7d89 100644 --- a/.config/cosmic/com.system76.CosmicTerm/v1/font_size +++ b/.config/cosmic/com.system76.CosmicTerm/v1/font_size @@ -1 +1 @@ -16 \ No newline at end of file +16 diff --git a/.config/cosmic/com.system76.CosmicTerm/v1/profiles b/.config/cosmic/com.system76.CosmicTerm/v1/profiles index 7074393..3748627 100644 --- a/.config/cosmic/com.system76.CosmicTerm/v1/profiles +++ b/.config/cosmic/com.system76.CosmicTerm/v1/profiles @@ -4,7 +4,7 @@ command: "", syntax_theme_dark: "COSMIC Dark", syntax_theme_light: "COSMIC Light", - tab_title: "", + tab_title: " ", working_directory: "", hold: false, ), diff --git a/.zshrc b/.zshrc index 4a29b0d..20d823f 100644 --- a/.zshrc +++ b/.zshrc @@ -82,20 +82,21 @@ zinit light zsh-users/zsh-completions zinit light zsh-users/zsh-autosuggestions zinit light Aloxaf/fzf-tab +zinit wait lucid for OMZP::{'git','sudo','archlinux','aws','kubectl','kubectx','command-not-found','web-search','jsontools','copypath','copyfile','copybuffer','dirhistory'} # Add in snippets -zinit snippet OMZP::git -zinit snippet OMZP::sudo -zinit snippet OMZP::archlinux -zinit snippet OMZP::aws -zinit snippet OMZP::kubectl -zinit snippet OMZP::kubectx -zinit snippet OMZP::command-not-found -zinit snippet OMZP::web-search -zinit snippet OMZP::jsontools -zinit snippet OMZP::copypath -zinit snippet OMZP::copyfile -zinit snippet OMZP::copybuffer -zinit snippet OMZP::dirhistory +#zinit snippet OMZP::git +#zinit snippet OMZP::sudo +#zinit snippet OMZP::archlinux +#zinit snippet OMZP::aws +#zinit snippet OMZP::kubectl +#zinit snippet OMZP::kubectx +#zinit snippet OMZP::command-not-found +#zinit snippet OMZP::web-search +#zinit snippet OMZP::jsontools +#zinit snippet OMZP::copypath +#zinit snippet OMZP::copyfile +#zinit snippet OMZP::copybuffer +#zinit snippet OMZP::dirhistory #zinit snippet OMZP::history-substring-search # Load completions @@ -207,7 +208,7 @@ function omz_urlencode() { local safe_encodings safe_encodings=(UTF-8 utf8 US-ASCII) if [[ -z ${safe_encodings[(r)$encoding]} ]]; then - str=$(echo -E "$str" | iconv -f $encoding -t UTF-8) + str=$(echo -E "$str" | iconv ) if [[ $? != 0 ]]; then echo "Error converting string from $encoding to UTF-8" >&2 return 1