From 78312e9b4d9eafd79fd455665a52bfdbe19c919a Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 11 May 2026 13:26:02 +0200 Subject: [PATCH] amssh now themed --- code.dev/mailsort | 1 + desktopenvs/hyprland/scripts/amssh | 39 ++++++++++++++++-------------- git/.gitconfig | 4 +++ 3 files changed, 26 insertions(+), 18 deletions(-) create mode 160000 code.dev/mailsort diff --git a/code.dev/mailsort b/code.dev/mailsort new file mode 160000 index 0000000..2c09cef --- /dev/null +++ b/code.dev/mailsort @@ -0,0 +1 @@ +Subproject commit 2c09cefa74e930c722e6dabcc231cfbdc8647804 diff --git a/desktopenvs/hyprland/scripts/amssh b/desktopenvs/hyprland/scripts/amssh index 816b528..c15ca96 100755 --- a/desktopenvs/hyprland/scripts/amssh +++ b/desktopenvs/hyprland/scripts/amssh @@ -269,23 +269,25 @@ BX=$(( (cols - BW) / 2 )); [[ $BX -lt 0 ]] && BX=0 BY=$(( (rows - BH) / 2 )); [[ $BY -lt 0 ]] && BY=0 # colour / style shortcuts -_b=$(tput bold); _r=$(tput sgr0) -_cy=$(tput setaf 6); _gr=$(tput setaf 2) -_re=$(tput setaf 1); _di=$(tput dim); _ye=$(tput setaf 3) +_b=$(tput bold); _r=$(tput sgr0); _di=$(tput dim) +_HL=$'\033[38;2;228;0;70m' # Highlights #E40046 +_DK=$'\033[38;2;80;24;221m' # Dark #5018DD +_QW=$'\033[38;2;214;171;171m' # Quasi-White #D6ABAB +_RH=$'\033[38;2;245;5;5m' # Red-Hivis #F50505 # ── draw box ────────────────────────────────────────────────────────────────── tput cup $BY $BX -printf "${_b}${_cy}╔$(printf '═%.0s' $(seq 1 $((BW-2))))╗${_r}" +printf "${_b}${_HL}╔$(printf '═%.0s' $(seq 1 $((BW-2))))╗${_r}" for (( i=1; i "$add_sh"; chmod +x "$add_sh" @@ -435,7 +437,8 @@ PREV sel=$(bash "$list_sh" \ | fzf \ --prompt="SSH › " \ - --header=$' \e[1mEnter\e[0m connect \e[1ma\e[0m add \e[1md\e[0m delete \e[1mq\e[0m quit\n \e[2mj/k\e[0m down/up \e[2mg/G\e[0m top/bottom \e[2m/\e[0m filter' \ + --color='fg:#D6ABAB,hl:#E40046,fg+:#D6ABAB,bg+:#1A1A1A,hl+:#F50505,info:#5018DD,prompt:#E40046,pointer:#E40046,marker:#5018DD,spinner:#E40046,header:#D6ABAB' \ + --header=$' \e[1m\e[38;2;228;0;70mEnter\e[0m connect \e[1m\e[38;2;228;0;70ma\e[0m add \e[1m\e[38;2;228;0;70md\e[0m delete \e[1m\e[38;2;228;0;70mq\e[0m quit\n \e[2m\e[38;2;80;24;221mj/k\e[0m down/up \e[2m\e[38;2;80;24;221mg/G\e[0m top/bottom \e[2m\e[38;2;80;24;221m/\e[0m filter' \ --bind="a:execute(bash '$add_sh')+reload(bash '$list_sh')" \ --bind="d:execute(bash '$del_sh' {1})+reload(bash '$list_sh')" \ --preview="bash '$prev_sh' {}" \ diff --git a/git/.gitconfig b/git/.gitconfig index ddf74c3..42eec9b 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -3,3 +3,7 @@ name = The_miro [credential] helper = store +[init] + defaultBranch = main +[push] + autoSetupRemote = true