new rice for void linux

This commit is contained in:
Clay Gomera 2023-10-19 23:34:51 -04:00
parent a0b3a9bd0a
commit d640492370
58966 changed files with 382751 additions and 68 deletions

3
user/.bash_logout Normal file
View file

@ -0,0 +1,3 @@
# ~/.bash_logout
clear

View file

@ -15,7 +15,7 @@ fi
# environment variables # environment variables
export EDITOR="~/.local/bin/lvim" export EDITOR="~/.local/bin/lvim"
export VISUAL="neovide --neovim-bin $EDITOR" export VISUAL="~/.local/bin/neovide.AppImage --neovim-bin $EDITOR"
export BROWSER="qutebrowser" export BROWSER="qutebrowser"
export VIEWER="zathura" export VIEWER="zathura"

View file

@ -122,25 +122,25 @@ alias \
# bat as cat # bat as cat
[ -x "$(command -v bat)" ] && alias cat="bat" [ -x "$(command -v bat)" ] && alias cat="bat"
# use emasc for vim if present. # use lunarvim for vim if present.
[ -x "$(command -v nvim)" ] && alias vim="nvim" [ -x "$(command -v ~/.local/bin/lvim)" ] && alias vim="~/.local/bin/lvim"
# Changing "ls" to "exa" # Changing "ls" to "eza"
alias \ alias \
ls="exa --icons -al --color=always --group-directories-first" \ ls="eza --icons -al --color=always --group-directories-first" \
la="exa --icons -a --color=always --group-directories-first" \ la="eza --icons -a --color=always --group-directories-first" \
ll="exa --icons -l --color=always --group-directories-first" \ ll="eza --icons -l --color=always --group-directories-first" \
lt="exa --icons -aT --color=always --group-directories-first" \ lt="eza --icons -aT --color=always --group-directories-first" \
l.='exa --icons -a | grep -E "^\."' l.='eza --icons -a | grep -E "^\."'
# function to detect os and assign aliases to package managers # function to detect os and assign aliases to package managers
alias \ alias \
pac-up="paru -Syu" \ xb-up="sudo xbps-install -Su && xcheckrestart" \
pac-get="paru -S" \ xb-get="sudo xbps-install -S" \
pac-rmv="paru -Rcns" \ xb-rmv="sudo xbps-remove -R" \
pac-rmv-sec="paru -R" \ xb-rmv-sec="sudo xbps-remove" \
pac-qry="paru -Ss" \ xb-qry="sudo xbps-query -Rs" \
pac-cln="paru -Scc && paru -Rns $(pacman -Qtdq)" xb-cln="sudo xbps-remove -Oo"
# colorize grep output (good for log files) # colorize grep output (good for log files)
alias \ alias \

View file

@ -97,12 +97,7 @@ memory_display="on"
battery_display="on" battery_display="on"
disk_display="on" disk_display="on"
image_backend="chafa" ascii_distro="auto"
image_source="$HOME/.config/neofetch/img1.png"
image_size="320px"
image_loop="off"
aascii_distro="auto"
ascii_colors=(distro) ascii_colors=(distro)
ascii_bold="on" ascii_bold="on"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

View file

@ -39,13 +39,13 @@ case "$action" in
pkill X; # killing X will result in a logout pkill X; # killing X will result in a logout
;; ;;
"$option2") "$option2")
systemctl reboot || loginctl reboot; loginctl reboot;
;; ;;
"$option3") "$option3")
systemctl poweroff || loginctl poweroff; loginctl poweroff;
;; ;;
"$option4") "$option4")
slock systemctl suspend || slock loginctl suspend; slock loginctl suspend;
;; ;;
"$option5") "$option5")
slock; slock;

View file

@ -7,8 +7,8 @@
####################################### #######################################
## Screenshot & Screencast Directory ## ## Screenshot & Screencast Directory ##
####################################### #######################################
SHOTDIR="$XDG_PICTURES_DIR/screenshots" SHOTDIR="$XDG_PICTURES_DIR/Screenshots"
CASTDIR="$XDG_VIDEOS_DIR/screencasts" CASTDIR="$XDG_VIDEOS_DIR/Screencasts"
[ ! -d "$SHOTDIR" ] && [ ! -d "$CASTDIR" ] && mkdir -p "$SHOTDIR" "$CASTDIR" || echo [ ! -d "$SHOTDIR" ] && [ ! -d "$CASTDIR" ] && mkdir -p "$SHOTDIR" "$CASTDIR" || echo
###################### ######################

View file

@ -7,7 +7,7 @@
########################## ##########################
## Wallpapers Directory ## ## Wallpapers Directory ##
########################## ##########################
walldir="$XDG_PICTURES_DIR/wallpapers" walldir="$XDG_PICTURES_DIR/Wallpapers"
cd "$walldir" || exit # we cd into $walldir in order to get only the file name on the main prompt cd "$walldir" || exit # we cd into $walldir in order to get only the file name on the main prompt
####################### #######################

View file

@ -5,7 +5,7 @@
## / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake) ## ## / /_/ / / / /_/ / ,< / __/ Clay Gomera (Drake) ##
## /_____/_/ \__,_/_/|_|\___/ My custom dwm build ## ## /_____/_/ \__,_/_/|_|\___/ My custom dwm build ##
lxpolkit & /usr/libexec/polkit-gnome-authentication-agent-1 &
dwmblocks & dwmblocks &
sh "$HOME"/.fehbg & sh "$HOME"/.fehbg &
unclutter --hide-on-touch & unclutter --hide-on-touch &

View file

@ -47,8 +47,6 @@ const char *spcmd8[] = {"st", "-n", "spmsc", "-g", "140x35", "-e", "cmus", NULL
const char *spcmd9[] = {"st", "-n", "spflm", "-g", "140x35", "-e", ".config/vifm/scripts/vifmrun", NULL}; const char *spcmd9[] = {"st", "-n", "spflm", "-g", "140x35", "-e", ".config/vifm/scripts/vifmrun", NULL};
const char *spcmd10[] = {"st", "-n", "spytm", "-g", "140x35", "-e", "ytfzf", "-mlst", NULL}; const char *spcmd10[] = {"st", "-n", "spytm", "-g", "140x35", "-e", "ytfzf", "-mlst", NULL};
const char *spcmd11[] = {"st", "-n", "sprss", "-g", "140x35", "-e", "newsboat", NULL}; const char *spcmd11[] = {"st", "-n", "sprss", "-g", "140x35", "-e", "newsboat", NULL};
const char *spcmd12[] = {"st", "-n", "spgkk", "-g", "140x35", "-e", "geek-life", NULL};
const char *spcmd13[] = {"st", "-n", "sptut", "-g", "140x35", "-e", "tut", NULL};
static Sp scratchpads[] = { static Sp scratchpads[] = {
// NAME CMD // NAME CMD
@ -63,8 +61,6 @@ static Sp scratchpads[] = {
{"spflm", spcmd9}, {"spflm", spcmd9},
{"spytm", spcmd10}, {"spytm", spcmd10},
{"sprss", spcmd11}, {"sprss", spcmd11},
{"spgkk", spcmd12},
{"sptut", spcmd13},
}; };
// Tags // Tags
@ -158,8 +154,6 @@ static const Rule rules[] = {
{NULL, "spflm", NULL, SPTAG(8), 1, -1}, {NULL, "spflm", NULL, SPTAG(8), 1, -1},
{NULL, "spytm", NULL, SPTAG(9), 1, -1}, {NULL, "spytm", NULL, SPTAG(9), 1, -1},
{NULL, "sprss", NULL, SPTAG(10), 1, -1}, {NULL, "sprss", NULL, SPTAG(10), 1, -1},
{NULL, "spgkk", NULL, SPTAG(11), 1, -1},
{NULL, "sptut", NULL, SPTAG(12), 1, -1},
}; };
// Layout(s) // Layout(s)
@ -199,11 +193,11 @@ static const Key keys[] = {
// terminal // terminal
{MODKEY, XK_Return, spawn, {.v = termcmd}}, {MODKEY, XK_Return, spawn, {.v = termcmd}},
// text editor // text editor
{MODKEY, XK_e, spawn, SHCMD("neovide --neovim-bin ~/.local/bin/lvim")}, {MODKEY, XK_e, spawn, SHCMD("~/.local/bin/neovide.AppImage --neovim-bin ~/.local/bin/lvim")},
// web browser // web browser
{MODKEY, XK_w, spawn, SHCMD("qutebrowser")}, {MODKEY, XK_w, spawn, SHCMD("firefox")},
// chat // chat
{MODKEY, XK_s, spawn, SHCMD("org.signal.Signal")}, {MODKEY, XK_s, spawn, SHCMD("flatpak run org.signal.Signal")},
// keyboard layout // keyboard layout
// set keyboard layout to es // set keyboard layout to es
@ -321,8 +315,6 @@ static const Key keys[] = {
{MODKEY|Mod1Mask, XK_v, togglescratch, {.ui = 8 }}, {MODKEY|Mod1Mask, XK_v, togglescratch, {.ui = 8 }},
{MODKEY|Mod1Mask, XK_n, togglescratch, {.ui = 9 }}, {MODKEY|Mod1Mask, XK_n, togglescratch, {.ui = 9 }},
{MODKEY|Mod1Mask, XK_r, togglescratch, {.ui = 10 }}, {MODKEY|Mod1Mask, XK_r, togglescratch, {.ui = 10 }},
{MODKEY|Mod1Mask, XK_g, togglescratch, {.ui = 11 }},
{MODKEY|Mod1Mask, XK_t, togglescratch, {.ui = 12 }},
// misc // misc
// logout // logout

View file

@ -1,15 +0,0 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/var/desktop"
XDG_DOWNLOAD_DIR="$HOME/var/downloads"
XDG_TEMPLATES_DIR="$HOME/media/documents/templates"
XDG_PUBLICSHARE_DIR="$HOME/var/public"
XDG_DOCUMENTS_DIR="$HOME/media/documents"
XDG_MUSIC_DIR="$HOME/media/music"
XDG_PICTURES_DIR="$HOME/media/pictures"
XDG_VIDEOS_DIR="$HOME/media/videos"

View file

@ -173,12 +173,15 @@ command! reload :write | restart
" program. " program.
" Pdf " Pdf
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c filextype *.pdf zathura %c %i &
fileviewer *.pdf fileviewer *.pdf
\ vifmimg pdf %px %py %pw %ph %c \ vifmimg pdf %px %py %pw %ph %c
\ %pc \ %pc
\ vifmimg clear \ vifmimg clear
" cbz
filextype *.cbz zathura %c %i &
" PostScript " PostScript
filextype *.ps,*.eps,*.ps.gz filextype *.ps,*.eps,*.ps.gz
\ {View in zathura} \ {View in zathura}
@ -218,10 +221,6 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.as[fx] \*.as[fx]
\ {View using mpv} \ {View using mpv}
\ mpv %f, \ mpv %f,
\ {View using ffplay}
\ ffplay -fs -autoexit %f,
\ {View using Dragon}
\ dragon %f:p,
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob, fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx, \*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx] \*.as[fx]
@ -232,6 +231,8 @@ fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
" Web " Web
filextype *.html,*.htm filextype *.html,*.htm
\ {Open with lunarvim}
\ ~/.local/bin/lvim %c &,
\ {Open with emacs} \ {Open with emacs}
\ emacsclient -c %c &, \ emacsclient -c %c &,
\ {Open with vim} \ {Open with vim}
@ -255,6 +256,8 @@ fileviewer *.[1-8] man ./%c | col -b
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in sxiv} \ {View in sxiv}
\ sxiv -ia %f &, \ sxiv -ia %f &,
\ {View in nsxiv}
\ nsxiv -ia %f &,
\ {View in imv} \ {View in imv}
\ imv -b 1D2330 -d %d &, \ imv -b 1D2330 -d %d &,
\ {View in feh} \ {View in feh}

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
not-allowed

View file

@ -0,0 +1 @@
dnd-no-drop

View file

@ -0,0 +1 @@
watch

View file

@ -0,0 +1 @@
col-resize

View file

@ -0,0 +1 @@
vertical-text

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
context-menu

View file

@ -0,0 +1 @@
col-resize

View file

@ -0,0 +1 @@
closedhand

View file

@ -0,0 +1 @@
row-resize

View file

@ -0,0 +1 @@
bd_double_arrow

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
size_all

View file

@ -0,0 +1 @@
fd_double_arrow

View file

@ -0,0 +1 @@
openhand

View file

@ -0,0 +1 @@
size_all

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
openhand

View file

@ -0,0 +1 @@
x-cursor

View file

@ -0,0 +1 @@
link

Binary file not shown.

View file

@ -0,0 +1 @@
left_ptr

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
sb_v_double_arrow

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
row-resize

View file

@ -0,0 +1 @@
bd_double_arrow

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
watch

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
cross

View file

@ -0,0 +1 @@
not-allowed

Binary file not shown.

View file

@ -0,0 +1 @@
left_ptr

View file

@ -0,0 +1 @@
cross

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
closedhand

Binary file not shown.

View file

@ -0,0 +1 @@
dotbox

Binary file not shown.

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
sb_down_arrow

Binary file not shown.

View file

@ -0,0 +1 @@
dotbox

View file

@ -0,0 +1 @@
right_side

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
zoom-in

View file

@ -0,0 +1 @@
zoom-out

View file

@ -0,0 +1 @@
fd_double_arrow

View file

@ -0,0 +1 @@
pointer-move

View file

@ -0,0 +1 @@
size_all

View file

@ -0,0 +1 @@
not-allowed

View file

@ -0,0 +1 @@
openhand

View file

@ -0,0 +1 @@
closedhand

View file

@ -0,0 +1 @@
help

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
left_ptr_watch

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more