diff --git a/.install/zsh.sh b/.install/zsh.sh index 41dd57c..da46dc8 100644 --- a/.install/zsh.sh +++ b/.install/zsh.sh @@ -7,13 +7,16 @@ echo "Please select the zsh plugin manager:" zsh_manager=$(gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "oh my zsh" "zinit") if [[ "${zsh_manager}" == *"oh my zsh"* ]]; then source .install/install-packages.sh - RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions - git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting - _installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_ohmyzsh ~/.zshrc + if [ ! -d ~/.oh-my-zsh ]; then + RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" + fi + git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k + git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions + git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting + _installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_ohmyzsh ~/.zshrc else packagesYay=("zinit"); - source .install/install-packages.sh + source .install/install-packages.sh _installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_zinit ~/.zshrc fi _installSymLink p10k ~/.p10k.zsh ~/dotfiles/.p10k.zsh ~/ diff --git a/.zshrc_zinit b/.zshrc_zinit index 70f73a4..d13af97 100644 --- a/.zshrc_zinit +++ b/.zshrc_zinit @@ -46,7 +46,9 @@ eval "$(fzf --zsh)" # Miscs # ----------------------------------------------------- # fix ssh if in kitty -[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh" +if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then + alias ssh="kitty +kitten ssh" +fi # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh diff --git a/hypr/conf/keybindings/custom.conf b/hypr/conf/keybindings/custom.conf index 8416416..c4c292f 100644 --- a/hypr/conf/keybindings/custom.conf +++ b/hypr/conf/keybindings/custom.conf @@ -32,6 +32,7 @@ bind = $mainMod SHIFT, left, resizeactive, -100 0 bind = $mainMod SHIFT, up, resizeactive, 0 -100 bind = $mainMod SHIFT, down, resizeactive, 0 100 bind = $mainMod, G, togglegroup +bind = $mainMod CTRL, Tab, changegroupactive, f # Actions bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh diff --git a/hypr/conf/misc.conf b/hypr/conf/misc.conf index b5facfb..9bebf30 100644 --- a/hypr/conf/misc.conf +++ b/hypr/conf/misc.conf @@ -7,4 +7,5 @@ misc { disable_splash_rendering = true enable_swallow = true swallow_regex = ^(Alacritty|kitty|thunar)$ + font_family = FiraCode Nerd Font } diff --git a/hypr/conf/windows/default.conf b/hypr/conf/windows/default.conf index b880c5d..2ae9a3e 100644 --- a/hypr/conf/windows/default.conf +++ b/hypr/conf/windows/default.conf @@ -11,3 +11,12 @@ general { col.inactive_border = rgba(ffffffff) layout = dwindle } + +group { + col.border_active = $color11 + col.border_inactive = rgba(ffffffff) + groupbar { + col.active = $color11 + col.inactive = $color13 + } +} diff --git a/waybar/themes/meow-blur/modules.json b/waybar/themes/meow-blur/modules.json index a5ecd8e..2a8fb05 100644 --- a/waybar/themes/meow-blur/modules.json +++ b/waybar/themes/meow-blur/modules.json @@ -265,6 +265,7 @@ // Memory "memory": { "format": " {used:0.1f}G", + "tooltip-format": "{total:0.1f}G total\n{swapTotal:0.1f}G swap\n{used:0.1f}G used\n{avail:0.1f}G free\n{percentage}% used", "on-click": "alacritty -e htop", "interval": 10, "states": { @@ -369,6 +370,7 @@ }, "network#speed": { "format": "ī‚Ÿ {bandwidthTotalBits}", + "tooltip-format": " {bandwidthUpBits}\nīƒ— {bandwidthDownBits}", "interval": 5 },