From 95d509eeaba97aa0a35bb8c42225495e69d3a2c1 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 21 Jan 2025 19:11:45 -0600 Subject: Use zkbd for zsh keybindings --- zsh/zshrc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index fb5b167..c95feb3 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -33,7 +33,16 @@ elif [ -f "$HOME"/.zshrc ]; then alias e='source ~/.zshrc' fi +source ~/.zkbd/$TERM-${${DISPLAY:t}:-$VENDOR-$OSTYPE} + +#autoload zkbd; zkbd bindkey -v +bindkey "${key[Backspace]}" backward-delete-char +bindkey "${key[Delete]}" delete-char +bindkey "${key[Home]}" beginning-of-line +bindkey "${key[End]}" end-of-line +bindkey "${key[PageUp]}" history-substring-search-up +bindkey "${key[PageDown]}" history-substring-search-down MYPROMPT=$'%B%S%F{002}[%n@%m]%s\UE0B0%F{015}%~%S%F{002}\UE0B0%#%s\UE0B0%f%k%b ' function zle-line-init zle-keymap-select { @@ -52,10 +61,10 @@ if [ -n "$ZPLUG_INSTALLED" ]; then # zsh history substring search zplug "zsh-users/zsh-history-substring-search", as:plugin - bindkey '^[[A' history-substring-search-up - bindkey '^[[B' history-substring-search-down - bindkey -M vicmd '^[[A' history-substring-search-up - bindkey -M vicmd '^[[B' history-substring-search-down + bindkey '${key[Up]}' history-substring-search-up + bindkey '${key[Down]}' history-substring-search-down + bindkey -M vicmd '${key[Up]}' history-substring-search-up + bindkey -M vicmd '${key[Down]}' history-substring-search-down bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down -- cgit v1.2.3 From a9be74adf57403f7840d09f7a0081b6390864d5a Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 21 Jan 2025 19:12:56 -0600 Subject: Change zsh prompt to have <~> for powerline --- zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index c95feb3..0d6ecd5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -44,9 +44,9 @@ bindkey "${key[End]}" end-of-line bindkey "${key[PageUp]}" history-substring-search-up bindkey "${key[PageDown]}" history-substring-search-down -MYPROMPT=$'%B%S%F{002}[%n@%m]%s\UE0B0%F{015}%~%S%F{002}\UE0B0%#%s\UE0B0%f%k%b ' +MYPROMPT=$'%B%S%F{002}[%n@%m]\UE0B2%F{015}%s%~%S%F{002}\UE0B0%#%s\UE0B0%f%k%b ' function zle-line-init zle-keymap-select { - VIM_PROMPT=$'%B%S%F{012}[%n@%m]%s\UE0B0%F{015}%~%S%F{012}\UE0B0%#%s\UE0B0%f%k%b ' + VIM_PROMPT=$'%B%S%F{012}[%n@%m]\UE0B2%F{015}%s%~%S%F{012}\UE0B0%#%s\UE0B0%f%k%b ' PS1="${${KEYMAP/vicmd/$VIM_PROMPT}/main/$MYPROMPT}" zle reset-prompt } -- cgit v1.2.3 From c654a8e82f10440551c2fec536c116000b7a6fe6 Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 21 Jan 2025 19:14:14 -0600 Subject: Set gtk, icon, and mouse themes GTK Theme is now darkest/white, icon theme is COSMIC, and mouse theme is BreezeX-Black. --- gtk-2.0/gtkrc | 6 +++--- gtk-3.0/settings.ini | 6 +++--- hypr/hyprland.conf | 4 ++-- xsettingsd/xsettingsd.conf | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index 6ae8019..6a23e8c 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -1,11 +1,11 @@ # DO NOT EDIT! This file will be overwritten by nwg-look. # Any customization should be done in ~/.gtkrc-2.0.mine instead. -gtk-theme-name="Flat-Remix-GTK-Green-Darkest-Solid" -gtk-icon-theme-name="Mint-X" +gtk-theme-name="Flat-Remix-GTK-White-Darkest-Solid" +gtk-icon-theme-name="Cosmic" gtk-font-name="Cantarell 11" gtk-cursor-theme-name="BreezeX-Black" -gtk-cursor-theme-size=24 +gtk-cursor-theme-size=32 gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=0 diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini index 33306a4..f876bba 100644 --- a/gtk-3.0/settings.ini +++ b/gtk-3.0/settings.ini @@ -1,9 +1,9 @@ [Settings] -gtk-theme-name=Flat-Remix-GTK-Green-Darkest-Solid -gtk-icon-theme-name=Mint-X +gtk-theme-name=Flat-Remix-GTK-White-Darkest-Solid +gtk-icon-theme-name=Cosmic gtk-font-name=Cantarell 11 gtk-cursor-theme-name=BreezeX-Black -gtk-cursor-theme-size=24 +gtk-cursor-theme-size=32 gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=0 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c4b05c0..afef32a 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -20,7 +20,7 @@ exec-once = pypr exec-once = lxqt-policykit-agent exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest-Solid' exec-once = import-gsettings icon-theme 'Mint-X-Grey' -exec-once = import-gsettings cursor-theme 'Breeze' +exec-once = import-gsettings cursor-theme 'BreezeX-Black' exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources exec-once = com.github.wwmm.easyeffects exec-once = systemctl --user start dunst @@ -30,7 +30,7 @@ exec-once = systemctl --user start hypridle #{{{ env # Environment variables set at launch -env = HYPRCURSOR_THEME,BreezeHypr +env = HYPRCURSOR_THEME,theme_BreezeX-Black env = HYPRCURSOR_SIZE,32 env = XCURSOR_THEME,BreezeX-Black env = XCURSOR_SIZE,32 diff --git a/xsettingsd/xsettingsd.conf b/xsettingsd/xsettingsd.conf index 27d09c3..c1e323c 100644 --- a/xsettingsd/xsettingsd.conf +++ b/xsettingsd/xsettingsd.conf @@ -1,5 +1,5 @@ -Net/ThemeName "Flat-Remix-GTK-Green-Darkest-Solid" -Net/IconThemeName "Mint-X" +Net/ThemeName "Flat-Remix-GTK-White-Darkest-Solid" +Net/IconThemeName "Cosmic" Gtk/CursorThemeName "BreezeX-Black" Net/EnableEventSounds 1 EnableInputFeedbackSounds 0 -- cgit v1.2.3