From 881212698b9ce6adc4571f5cb49ba21b79c90cdd Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 29 May 2025 21:29:18 +1000 Subject: [PATCH] feat: Update profile and zshrc --- .../btop@5hubham5ingh.js | 1 + .config/btop/btop.conf | 11 +++- .config/hypr/hyprland.conf | 5 +- .config/hypr/keybinds.conf | 56 +++++++++++++++---- .profile | 3 +- .zshrc | 8 +-- 6 files changed, 61 insertions(+), 23 deletions(-) diff --git a/.config/WallRizz/themeExtensionScripts/btop@5hubham5ingh.js b/.config/WallRizz/themeExtensionScripts/btop@5hubham5ingh.js index a09a4ae..1654042 100644 --- a/.config/WallRizz/themeExtensionScripts/btop@5hubham5ingh.js +++ b/.config/WallRizz/themeExtensionScripts/btop@5hubham5ingh.js @@ -61,6 +61,7 @@ function adjustColorForReadability(background, foreground) { } } + return fg.toHexString(); } diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index 66932bc..117111d 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -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. #* 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 = "WallRizz.theme" +color_theme = "catppuccin_macciato" #* If the theme set background should be shown, set to False if you want terminal background transparency. theme_background = False @@ -211,6 +210,9 @@ net_sync = True #* Starts with the Network Interface specified here. 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 = False @@ -227,6 +229,9 @@ log_level = "WARNING" #* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. 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. gpu_mirror_graph = True diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 5c511e8..2abd107 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -34,7 +34,7 @@ input { kb_layout = us kb_variant = kb_model = - kb_options = + kb_options = caps:none kb_rules = follow_mouse = 1 @@ -47,7 +47,6 @@ input { sensitivity = 0 # -1.0 to 1.0, 0 means no modification. } - general { # 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 allow_tearing = false - + snap { enabled = true diff --git a/.config/hypr/keybinds.conf b/.config/hypr/keybinds.conf index 95b8ac6..07159ff 100644 --- a/.config/hypr/keybinds.conf +++ b/.config/hypr/keybinds.conf @@ -32,16 +32,16 @@ bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch workspaces with mainMod + [0-9] -bind = $mainMod ALT, 1, workspace, 1 -bind = $mainMod ALT, 2, workspace, 2 -bind = $mainMod ALT, 3, workspace, 3 -bind = $mainMod ALT, 4, workspace, 4 -bind = $mainMod ALT, 5, workspace, 5 -bind = $mainMod ALT, 6, workspace, 6 -bind = $mainMod ALT, 7, workspace, 7 -bind = $mainMod ALT, 8, workspace, 8 -bind = $mainMod ALT, 9, workspace, 9 -bind = $mainMod ALT, 0, workspace, 10 +# bind = $mainMod ALT, 1, workspace, 1 +# bind = $mainMod ALT, 2, workspace, 2 +# bind = $mainMod ALT, 3, workspace, 3 +# bind = $mainMod ALT, 4, workspace, 4 +# bind = $mainMod ALT, 5, workspace, 5 +# bind = $mainMod ALT, 6, workspace, 6 +# bind = $mainMod ALT, 7, workspace, 7 +# bind = $mainMod ALT, 8, workspace, 8 +# bind = $mainMod ALT, 9, workspace, 9 +# bind = $mainMod ALT, 0, workspace, 10 # hyprlang noerror true 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 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 diff --git a/.profile b/.profile index 7febb45..f693373 100755 --- a/.profile +++ b/.profile @@ -34,6 +34,7 @@ export PATH="$PATH:/home/nathan/Android/Sdk/cmdline-tools/latest/bin/" . "$HOME/.cargo/env" 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" diff --git a/.zshrc b/.zshrc index 16c6c99..bf51719 100644 --- a/.zshrc +++ b/.zshrc @@ -13,12 +13,12 @@ else fi # TMP profiler -zmodload zsh/zprof +# zmodload zsh/zprof ### 📦 Plugin & Framework Setup export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="robbyrussell" -plugins=(nvm git sudo systemadmin tldr) +plugins=(nvm git sudo systemadmin) # Lazy-load nvm zstyle ':omz:plugins:nvm' lazy yes @@ -97,7 +97,3 @@ export FZF_DEFAULT_OPTS='--preview "bat --color=always {}"' fpath+=(${ZDOTDIR:-~}/.zsh_functions) FPATH+="$HOME/Git/eza/completions/zsh" export FPATH - -# Optional: compile config for faster loading -# zcompile ~/.zshrc -# zcompile ~/.zsh/cache/zcompdump