Skip to content

Commit

Permalink
feat(base): new zsh funcs, udpated program list
Browse files Browse the repository at this point in the history
  • Loading branch information
umgbhalla committed May 12, 2022
1 parent e530cf5 commit 17cf4d0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion base/bpytop/.config/bpytop/bpytop.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ theme_background=True
truecolor=True

#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
shown_boxes="net"
shown_boxes="cpu net proc mem"

#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.
update_ms=1000
Expand Down
12 changes: 8 additions & 4 deletions base/programs/program-list
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ ca-certificates-mozilla
ca-certificates-utils
cairo
cairomm
calcurse
cantarell-fonts
capitaine-cursors
catgirl
Expand Down Expand Up @@ -160,7 +161,6 @@ endeavouros-theming
eos-bash-shared
eos-translations
ethtool
eww-git
exa
exo
expat
Expand Down Expand Up @@ -219,7 +219,6 @@ ghostscript
giflib
girara
git
git-delta-git
github-cli
gjs
glew
Expand Down Expand Up @@ -598,6 +597,7 @@ java-runtime-common
jbig2dec
jdk-openjdk
jemalloc
jless
jq
jre-openjdk
jre-openjdk-headless
Expand Down Expand Up @@ -873,6 +873,7 @@ libressl
libretls
librevenge
librsvg
librsync
libsamplerate
libsasl
libseccomp
Expand Down Expand Up @@ -923,6 +924,7 @@ libvisual
libvorbis
libvpx
libvterm
libvterm01
libwacom
libwebp
libwpd
Expand Down Expand Up @@ -1024,6 +1026,7 @@ menu-cache
mesa
meson
metis
minikube
miniserve
minizip
mkinitcpio
Expand All @@ -1047,7 +1050,6 @@ ncurses
ndctl
neofetch
neon
neovide-git
neovim
neovim-lspconfig
neovim-plenary-git
Expand Down Expand Up @@ -1107,6 +1109,7 @@ os-prober
otf-operator-mono-lig
p11-kit
p7zip
pacfinder
pacman
pacman-contrib
pacman-mirrorlist
Expand Down Expand Up @@ -1166,7 +1169,6 @@ pfetch
picom-jonaburg-fix
pinentry
pipewire
pipewire-media-session
pipewire-pulse
pixman
pkgconf
Expand Down Expand Up @@ -1508,8 +1510,10 @@ webkit2gtk
webrtc-audio-processing
webtorrent-cli
wget
when
which
wine
wireplumber
wlroots
wmctrl
woff2
Expand Down
1 change: 1 addition & 0 deletions base/zsh/.config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ fi
# upwr
# upower -i $(upower -e | grep 'BAT') | grep -E "state|to\ full|percentage"
# paleofetch
when i
8 changes: 6 additions & 2 deletions base/zsh/.config/zsh/funcs.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
# - Kitty terminal
# - jq
# - ImageMagick

funtion jurl ()
{
curl $@ | jless

}
function xkcd () {
comicNum=$1
newestJson=$(curl -s https://xkcd.com/info.0.json)
Expand Down Expand Up @@ -611,7 +615,7 @@ fif() {
echo "Need a string to search for!";
return 1;
fi
SELECTED_FILES="$(rg --files-with-matches --no-messages "$1" | fzf $FZF_PREVIEW_WINDOW -m --preview "rg --ignore-case --pretty --context 10 '$1' {}")"
SELECTED_FILES="$(rg --hidden --files-with-matches --no-messages "$1" | fzf $FZF_PREVIEW_WINDOW -m --preview "rg --ignore-case --pretty --context 10 '$1' {}")"
if [ -n "$SELECTED_FILES" ]; then
nvim $(echo $SELECTED_FILES)
fi
Expand Down

0 comments on commit 17cf4d0

Please sign in to comment.