extensive update: some cleanup, todo/agenda changes, publishing system, swayfx, WIPs, etc.
This commit is contained in:
@ -23,8 +23,7 @@ alias \
|
||||
mkd="mkdir -pv" \
|
||||
ffmpeg="ffmpeg -hide_banner"
|
||||
wedit(){
|
||||
which $@ >/dev/null 2>&1 && [ -n "$1" ] && vim $(which $@) && exit 0
|
||||
printf "file doesn't exist.\n"
|
||||
which $@ >/dev/null 2>&1 && [ -n "$1" ] && vim $(which $@) || printf "file doesn't exist.\n"
|
||||
}
|
||||
|
||||
# Colorize commands when possible.
|
||||
@ -52,7 +51,7 @@ alias \
|
||||
|
||||
# misc
|
||||
alias \
|
||||
ytmus="yt-dlp --embed-metadata --embed-thumbnail -xc -f bestaudio/best --restrict-filenames" \
|
||||
ytmus="yt-dlp --embed-metadata --embed-thumbnail -xc -f 'bestaudio[ext=m4a]'" \
|
||||
ytvid="yt-dlp --embed-metadata --embed-thumbnail --embed-chapters --write-auto-subs -f bestvideo'[height<=1080]''[ext=mp4]'+bestaudio'[ext=m4a]'/best'[ext=mp4]'/best" \
|
||||
t="todo.sh -t -d $HOME/notebook/todo/todo.cfg" \
|
||||
fj="firejail --profile=$HOME/.config/firejail/game.profile" \
|
||||
@ -60,8 +59,8 @@ alias \
|
||||
hgs="hugo server --noHTTPCache --disableFastRender"
|
||||
|
||||
# ytfzf
|
||||
alias \
|
||||
ytfzf="ytfzf --thumb-viewer=imv" \
|
||||
ytfzf-video="ytfzf --detach -t" \
|
||||
ytfzf-audio="ytfzf -m" \
|
||||
ytfzf-history="ytfzf --detach -H"
|
||||
#alias \
|
||||
# ytfzf="ytfzf --thumb-viewer=imv" \
|
||||
# ytfzf-video="ytfzf --detach -t" \
|
||||
# ytfzf-audio="ytfzf -m" \
|
||||
# ytfzf-history="ytfzf --detach -H"
|
||||
|
@ -1,14 +0,0 @@
|
||||
# You can add comments to these files with #
|
||||
cac ${XDG_CACHE_HOME:-$HOME/.cache}
|
||||
cf ${XDG_CONFIG_HOME:-$HOME/.config}
|
||||
D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads}
|
||||
d ${XDG_DOCUMENTS_DIR:-$HOME/Documents}
|
||||
dt ${XDG_DATA_HOME:-$HOME/.local/share}
|
||||
rr $HOME/.local/src
|
||||
h $HOME
|
||||
m ${XDG_MUSIC_DIR:-$HOME/Music}
|
||||
mn /mnt
|
||||
pp ${XDG_PICTURES_DIR:-$HOME/Pictures}
|
||||
sc $HOME/.local/bin
|
||||
src $HOME/.local/src
|
||||
vv ${XDG_VIDEOS_DIR:-$HOME/Videos}
|
@ -1,20 +0,0 @@
|
||||
# keys filename description
|
||||
bf ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-files # This file, a list of bookmarked files
|
||||
bd ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs # A list of bookmarked directories similar to this file
|
||||
cfx ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources # Colors, themes and variables for X11
|
||||
cfs ${XDG_CONFIG_HOME:-$HOME/.config}/sway/config
|
||||
cfb ${XDG_CONFIG_HOME:-$HOME/.config}/waybar/config
|
||||
cfB ${XDG_CONFIG_HOME:-$HOME/.config}/waybar/style.css
|
||||
|
||||
cfv ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/init.vim # vim/neovim config
|
||||
cfz $ZDOTDIR/.zshrc # zsh (shell) config
|
||||
cfa ${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc # aliases used by zsh (and potentially other shells)
|
||||
cfp ${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile # profile file for login settings for zsh
|
||||
cfm ${XDG_CONFIG_HOME:-$HOME/.config}/mutt/muttrc # mutt (email client) config
|
||||
cfn ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/config # newsboat (RSS reader)
|
||||
cfu ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls # RSS urls for newsboat
|
||||
cfmb ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/bindings # ncmpcpp (music player) keybinds file
|
||||
cfmc ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/config # ncmpcpp (music player) config
|
||||
cfl ${XDG_CONFIG_HOME:-$HOME/.config}/lf/lfrc # lf (file browser) config
|
||||
cfL ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope # lf's scope/preview file
|
||||
cfX ${XDG_CONFIG_HOME:-$HOME/.config}/nsxiv/exec/key-handler # sxiv (image viewer) key/script handler
|
@ -16,7 +16,7 @@ unsetopt PROMPT_SP
|
||||
# Default programs:
|
||||
export EDITOR="nvim"
|
||||
export TERMINAL="foot"
|
||||
export BROWSER="librewolf"
|
||||
export BROWSER="io.gitlab.librewolf-community"
|
||||
|
||||
# ~/ Clean-up:
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
@ -69,7 +69,7 @@ export XMODIFIERS=@im=fcitx
|
||||
export SDL_IM_MODULE=fcitx
|
||||
export GLFW_IM_MODULE=ibus
|
||||
#export QT_STYLE_OVERRIDE=adwaita-dark
|
||||
|
||||
export GTK_THEME=Materia:dark
|
||||
|
||||
#wayland
|
||||
#export QT_QPA_PLATFORM=wayland
|
||||
@ -77,6 +77,7 @@ export GLFW_IM_MODULE=ibus
|
||||
#export XDG_SESSION_DESKTOP=river
|
||||
#export XDG_CURRENT_SESSION_TYPE=wayland
|
||||
#export GDK_BACKEND="wayland,x11"
|
||||
export GDK_BACKEND="wayland"
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
#export WLR_RENDERER=vulkan
|
||||
|
||||
|
Reference in New Issue
Block a user