mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
10 Commits
a4319ce470
...
ab2a623c8c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab2a623c8c | ||
|
|
ea3e1e14cc | ||
|
|
0cc589bcad | ||
|
|
6ba48b2733 | ||
|
|
1e3adf9c03 | ||
|
|
ca8cb1f6a7 | ||
|
|
54c0aa2af8 | ||
|
|
bca6b403eb | ||
|
|
42f3efb4b0 | ||
|
|
fee8a4dc47 |
@ -58,7 +58,22 @@ cmd extract ${{
|
||||
printf "%s\n\t" "$fx"
|
||||
printf "extract?[y/N]"
|
||||
read ans
|
||||
[ $ans = "y" ] && aunpack $fx
|
||||
[ $ans = "y" ] && {
|
||||
case $fx in
|
||||
*.tar.bz2) tar xjf $fx ;;
|
||||
*.tar.gz) tar xzf $fx ;;
|
||||
*.bz2) bunzip2 $fx ;;
|
||||
*.rar) unrar e $fx ;;
|
||||
*.gz) gunzip $fx ;;
|
||||
*.tar) tar xf $fx ;;
|
||||
*.tbz2) tar xjf $fx ;;
|
||||
*.tgz) tar xzf $fx ;;
|
||||
*.zip) unzip $fx ;;
|
||||
*.Z) uncompress $fx ;;
|
||||
*.7z) 7z x $fx ;;
|
||||
*.tar.xz) tar xf $fx ;;
|
||||
esac
|
||||
}
|
||||
}}
|
||||
|
||||
cmd delete ${{
|
||||
|
||||
@ -67,6 +67,14 @@ set noshowcmd
|
||||
nm <leader>i :call ToggleIPA()<CR>
|
||||
imap <leader>i <esc>:call ToggleIPA()<CR>a
|
||||
nm <leader>q :call ToggleProse()<CR>
|
||||
|
||||
" vim-airline
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
endif
|
||||
let g:airline_symbols.colnr = ' C:'
|
||||
let g:airline_symbols.linenr = ' L:'
|
||||
let g:airline_symbols.maxlinenr = '☰ '
|
||||
|
||||
" Shortcutting split navigation, saving a keypress:
|
||||
map <C-h> <C-w>h
|
||||
|
||||
1
.config/sxiv
Symbolic link
1
.config/sxiv
Symbolic link
@ -0,0 +1 @@
|
||||
nsxiv
|
||||
@ -13,5 +13,6 @@ if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
|
||||
else
|
||||
. "$HOME/.xprofile"
|
||||
fi
|
||||
|
||||
# Activate dbus variables
|
||||
dbus-update-activation-environment --all
|
||||
ssh-agent dwm
|
||||
|
||||
@ -36,7 +36,7 @@ filter() { sed "s/ /:/g" | awk -F':' '$7==""{printf "%s%s (%s) %s\n",$1,$3,$5,$6
|
||||
unopenedluks="$(for drive in $allluks; do
|
||||
uuid="${drive%% *}"
|
||||
uuid="${uuid//-}" # This is a bashism.
|
||||
for open in $decrypted; do
|
||||
[ -n "$decrypted" ] && for open in $decrypted; do
|
||||
[ "$uuid" = "$open" ] && break 1
|
||||
done && continue 1
|
||||
echo "🔒 $drive"
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
# When clicked, brings up `neomutt`.
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) setsid -f "$TERMINAL" -e neomutt ;;
|
||||
1) setsid -w -f "$TERMINAL" -e neomutt; pkill -RTMIN+12 "${STATUSBAR:-dwmblocks}" ;;
|
||||
2) setsid -f mw -Y >/dev/null ;;
|
||||
3) notify-send "📬 Mail module" "\- Shows unread mail
|
||||
- Shows 🔃 if syncing mail
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
filter() { sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;}
|
||||
filter() { sed "/^volume:/d;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;}
|
||||
|
||||
pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 &
|
||||
|
||||
|
||||
3
.local/bin/xdg-terminal-exec
Executable file
3
.local/bin/xdg-terminal-exec
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$TERMINAL" -e "$@"
|
||||
Loading…
x
Reference in New Issue
Block a user