From 161403bcc65f13e52416996683d9ddb384865673 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Tue, 21 Feb 2023 00:10:40 -0800 Subject: [PATCH] updates --- .config/dunst/dunstrc | 4 ++-- .config/nvim/lua/autocmds.lua | 4 ++++ .config/sxhkd/sxhkdrc | 2 +- .config/zsh/.zshrc | 10 ++++---- .config/zsh/aliases/aliases | 2 ++ .local/share/pkglist.txt | 43 +++++++++++++++++++++++++++++++++-- 6 files changed, 54 insertions(+), 11 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index f5ba3e9..79db094 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -24,7 +24,7 @@ # dynamic width from 0 to 300 # width = (0, 300) # constant width of 300 - width = (0,300) + width = (0,200) # The maximum height of a single notification, excluding the frame. height = 300 @@ -118,7 +118,7 @@ ### Text ### - font = Monospace 8 + font = Monospace 6 # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. diff --git a/.config/nvim/lua/autocmds.lua b/.config/nvim/lua/autocmds.lua index c55c2bf..da93f99 100644 --- a/.config/nvim/lua/autocmds.lua +++ b/.config/nvim/lua/autocmds.lua @@ -106,6 +106,7 @@ autocmd("BufNewFile", { once = false, group = _group, }) + autocmd("BufEnter", { pattern = "*", callback = function() @@ -152,6 +153,9 @@ autocmd('BufUnload', { }) +vim.cmd [[autocmd BufEnter *.g :setlocal filetype=gentee]] + + -- auto format on write vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]] diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 428874e..9295443 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -31,7 +31,7 @@ super + ctrl + alt + m # file manager super + h - pcmanfm + nemo # program launcher super + d diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 3cea95b..f1d94bd 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -35,7 +35,7 @@ PATH="$PATH:/usr/local/opt/openjdk/libexec/openjdk.jdk/Contents/Home/bin" PATH="$PATH:/home/abs3nt/.nimble/bin" # ZSH SETTINGS -HISTFILE=$XDG_STATE_HOME/zsh/history +export HISTFILE=$XDG_STATE_HOME/zsh/history HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory @@ -60,7 +60,6 @@ __git_files () { # PLUGINS zinit ice lucid wait'0' -zinit light joshskidmore/zsh-fzf-history-search zinit ice depth=1; zinit light romkatv/powerlevel10k zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-history-substring-search @@ -81,16 +80,13 @@ for f in $XDG_CONFIG_HOME/zsh/aliases/*; do source $f; done # KEYBINDING bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down +bindkey '^r' _atuin_search_widget # PLUGIN SETTINGS HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND=false HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND=false HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true -export ZSH_FZF_HISTORY_SEARCH_REMOVE_DUPLICATES=1 -export ZSH_FZF_HISTORY_SEARCH_DATES_IN_SEARCH=0 -export ZSH_FZF_HISTORY_SEARCH_EVENT_NUMBERS=0 - eval "$(dircolors)" zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} @@ -102,3 +98,5 @@ if [ -f '/home/abs3nt/Dev/google-cloud-sdk/path.zsh.inc' ]; then . '/home/abs3nt # The next line enables shell command completion for gcloud. if [ -f '/home/abs3nt/Dev/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/abs3nt/Dev/google-cloud-sdk/completion.zsh.inc'; fi +export ATUIN_NOBIND="true" +eval "$(atuin init zsh)" diff --git a/.config/zsh/aliases/aliases b/.config/zsh/aliases/aliases index 348bc5e..165ebf5 100644 --- a/.config/zsh/aliases/aliases +++ b/.config/zsh/aliases/aliases @@ -9,6 +9,8 @@ alias stern='stern --container-state running,waiting,terminated' alias colo='sudo openfortivpn -c ~/.config/openfortivpn/vpn.conf' alias dots='pacman -Qqe > ~/.local/share/pkglist.txt && yadm add -u && yadm commit -m "updates" && yadm push && yadm log -1 --stat' +alias jq='gojq' + alias mkdir='mkdir -pv' alias calc='fend' diff --git a/.local/share/pkglist.txt b/.local/share/pkglist.txt index 50f8446..556f82c 100644 --- a/.local/share/pkglist.txt +++ b/.local/share/pkglist.txt @@ -1,5 +1,7 @@ alsa-firmware alsa-utils +atool +atuin base base-devel bat @@ -8,63 +10,99 @@ betterdiscordctl-git bind brave-bin bspwm +catdoc discord discord-canary dog +dracula-gtk-theme duf dunst efibootmgr +elinks exa feh fend +ffmpegthumbnailer flameshot fzf +gimp git glow +go gospt-git gping grub +highlight htop intel-media-driver -jq +jdk-openjdk +jre-openjdk +kimageformats kubectl +libmythes +libreoffice-fresh linux linux-firmware +lrzip +lxappearance ly-git +mediainfo mosh nautilus +nemo +nemo-fileroller +nemo-image-converter +neofetch neovim networkmanager nitch noto-fonts-emoji +odt2txt openfortivpn-git openssh +p7zip pamixer pavucontrol +perl-image-exiftool +pfetch picom pipewire pipewire-alsa pipewire-jack pipewire-pulse +postgresql-libs +python-chardet +python-pip python2 pywal-16-colors qbittorrent +qimgv-git qpwgraph +qtraw-git +ranger reflector ripgrep rofi rofi-greenclip +ruby-pleaserun +rustup signal-desktop-beta sof-firmware spotifyd +squashfs-tools sxhkd tmux ttf-mononoki-nerd +ueberzug +unace +unixodbc +unrar +w3m weechat wezterm-git wireplumber xclip -xdg-ninja-git +xdg-user-dirs xdg-utils xorg-server xorg-xev @@ -72,5 +110,6 @@ xorg-xinit xorg-xset xorg-xsetroot yadm +yarn yay zsh