feat: Update profile and zshrc

This commit is contained in:
2025-05-29 21:29:18 +10:00
parent c23af7303a
commit 881212698b
6 changed files with 61 additions and 23 deletions

View File

@@ -61,6 +61,7 @@ function adjustColorForReadability(background, foreground) {
} }
} }
return fg.toHexString(); return fg.toHexString();
} }

View File

@@ -1,9 +1,8 @@
#? Config file for btop v. 1.4.0 #? Config file for btop v. 1.4.3
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
#color_theme = "$HOME/.config/btop/themes/catppuccin_macchiato.theme" color_theme = "catppuccin_macciato"
color_theme = "WallRizz.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency. #* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = False theme_background = False
@@ -211,6 +210,9 @@ net_sync = True
#* Starts with the Network Interface specified here. #* Starts with the Network Interface specified here.
net_iface = "" net_iface = ""
#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
base_10_bitrate = "Auto"
#* Show battery stats in top right if battery is present. #* Show battery stats in top right if battery is present.
show_battery = False show_battery = False
@@ -227,6 +229,9 @@ log_level = "WARNING"
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. #* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
nvml_measure_pcie_speeds = True nvml_measure_pcie_speeds = True
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
rsmi_measure_pcie_speeds = True
#* Horizontally mirror the GPU graph. #* Horizontally mirror the GPU graph.
gpu_mirror_graph = True gpu_mirror_graph = True

View File

@@ -34,7 +34,7 @@ input {
kb_layout = us kb_layout = us
kb_variant = kb_variant =
kb_model = kb_model =
kb_options = kb_options = caps:none
kb_rules = kb_rules =
follow_mouse = 1 follow_mouse = 1
@@ -47,7 +47,6 @@ input {
sensitivity = 0 # -1.0 to 1.0, 0 means no modification. sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
} }
general { general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
@@ -61,7 +60,7 @@ general {
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false allow_tearing = false
snap { snap {
enabled = true enabled = true

View File

@@ -32,16 +32,16 @@ bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod ALT, 1, workspace, 1 # bind = $mainMod ALT, 1, workspace, 1
bind = $mainMod ALT, 2, workspace, 2 # bind = $mainMod ALT, 2, workspace, 2
bind = $mainMod ALT, 3, workspace, 3 # bind = $mainMod ALT, 3, workspace, 3
bind = $mainMod ALT, 4, workspace, 4 # bind = $mainMod ALT, 4, workspace, 4
bind = $mainMod ALT, 5, workspace, 5 # bind = $mainMod ALT, 5, workspace, 5
bind = $mainMod ALT, 6, workspace, 6 # bind = $mainMod ALT, 6, workspace, 6
bind = $mainMod ALT, 7, workspace, 7 # bind = $mainMod ALT, 7, workspace, 7
bind = $mainMod ALT, 8, workspace, 8 # bind = $mainMod ALT, 8, workspace, 8
bind = $mainMod ALT, 9, workspace, 9 # bind = $mainMod ALT, 9, workspace, 9
bind = $mainMod ALT, 0, workspace, 10 # bind = $mainMod ALT, 0, workspace, 10
# hyprlang noerror true # hyprlang noerror true
bind = $mainMod, 1, vdesk, 1 bind = $mainMod, 1, vdesk, 1
@@ -135,3 +135,39 @@ bind = $mainMod, T, exec, alacritty --config-file ~/dotfiles/.alacritty-nozellij
bind = $mainMod, W, exec, ~/.config/hypr/scripts/wallpaper.sh bind = $mainMod, W, exec, ~/.config/hypr/scripts/wallpaper.sh
bind = $mainMod CTRL, W, exec, systemctl --user start wallpaper.timer && WallRizz -r -n -d ~/.config/backgrounds bind = $mainMod CTRL, W, exec, systemctl --user start wallpaper.timer && WallRizz -r -n -d ~/.config/backgrounds
# Capslock toggle submap
$caps = VoidSymbol
bind = , $caps, submap, capsmode
submap = capsmode
# Bindings for submap
bind = , 1, exec, hyprctl notify 5 2000 0 "Opening Brave Browser"
bind = , 1, exec,brave --proxy-pac-url="https://pac.cn01.woodburn.au/proxy.pac" --enable-features=UseOzonePlatform --ozone-platform=wayland --use-gl=angle --ignore-gpu-blocklist --enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization,VaapiIgnoreDriverChecks,VaapiVideoDecodeLinuxGL,AcceleratedVideoEncoder,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE --disable-gpu-memory-buffer-video-frames
bind = , 1, submap, reset
bind = , 2, togglespecialworkspace, c2
bind = SHIFT, 2, movetoworkspace, special:c2
bind = , 3, togglespecialworkspace, c3
bind = SHIFT, 3, movetoworkspace, special:c3
bind = , 4, togglespecialworkspace, c4
bind = SHIFT, 4, movetoworkspace, special:c4
bind = , 5, togglespecialworkspace, c5
bind = SHIFT, 5, movetoworkspace, special:c5
bind = , 6, togglespecialworkspace, c6
bind = SHIFT, 6, movetoworkspace, special:c6
bind = , 0, exec, hyprctl notify 5 2000 0 "Restarting hyprpaper"
bind = , 0, exec, hyprpaper >> ~/.logs/hyprpaper.log
bind = , 0, submap, reset
bind = , catchall, submap, reset
submap = reset

View File

@@ -34,6 +34,7 @@ export PATH="$PATH:/home/nathan/Android/Sdk/cmdline-tools/latest/bin/"
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
export PATH="/home/nathan/.local/share/solana/install/active_release/bin:$PATH" export PATH="/home/nathan/.local/share/solana/install/active_release/bin:$PATH"
export HSD_API_KEY=30e7b7974d99c62b241a9daf3d4924a108515b03 export HSD_URL=hsd01.dev.woodburn.au
export HSD_API_KEY=y5cSK42tgVCdt4E58jkHjI3nQ9GU32bC
. "$HOME/.atuin/bin/env" . "$HOME/.atuin/bin/env"

8
.zshrc
View File

@@ -13,12 +13,12 @@ else
fi fi
# TMP profiler # TMP profiler
zmodload zsh/zprof # zmodload zsh/zprof
### 📦 Plugin & Framework Setup ### 📦 Plugin & Framework Setup
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell" ZSH_THEME="robbyrussell"
plugins=(nvm git sudo systemadmin tldr) plugins=(nvm git sudo systemadmin)
# Lazy-load nvm # Lazy-load nvm
zstyle ':omz:plugins:nvm' lazy yes zstyle ':omz:plugins:nvm' lazy yes
@@ -97,7 +97,3 @@ export FZF_DEFAULT_OPTS='--preview "bat --color=always {}"'
fpath+=(${ZDOTDIR:-~}/.zsh_functions) fpath+=(${ZDOTDIR:-~}/.zsh_functions)
FPATH+="$HOME/Git/eza/completions/zsh" FPATH+="$HOME/Git/eza/completions/zsh"
export FPATH export FPATH
# Optional: compile config for faster loading
# zcompile ~/.zshrc
# zcompile ~/.zsh/cache/zcompdump