From 99015beff3dd3757e1445f808cea49890f27ee1d Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Mon, 27 Feb 2023 09:20:08 -0500 Subject: [PATCH] removed old dep and added globbing for oh-my-zsh custom plugins/themes --- arch/i3.deps | 1 - gui/i3/base.conf | 4 ++-- meta/configs/oh-my-zsh.yaml | 12 ++++++------ shells/zsh/zshrc | 4 ++++ 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/arch/i3.deps b/arch/i3.deps index ae6e642..b5546e9 100644 --- a/arch/i3.deps +++ b/arch/i3.deps @@ -6,4 +6,3 @@ mpd mpc playerctl zscroll-git -pistol-git diff --git a/gui/i3/base.conf b/gui/i3/base.conf index 5541488..3213ba8 100644 --- a/gui/i3/base.conf +++ b/gui/i3/base.conf @@ -52,13 +52,13 @@ bindsym $mod+d exec --no-startup-id rofi-launcher # setting up a vimscratch pad to use vimwiki for_window [instance="todo"] move window to scratchpad for_window [instance="cal"] move window to scratchpad -for_window [instance="spotify"] move window to scratchpad +#for_window [instance="spotify"] move window to scratchpad for_window [instance="wiki"] move window to scratchpad for_window [instance="weather"] move window to scratchpad # bindings bindsym $mod+x exec i3-scratchpad.sh todo st -n todo -e vim ~/vimwiki/todo/index.md bindsym $mod+c exec i3-scratchpad.sh cal st -n cal -e calcurse -bindsym $mod+s exec i3-scratchpad.sh spotify spotify +#bindsym $mod+s exec i3-scratchpad.sh spotify spotify bindsym $mod+w exec i3-scratchpad.sh wiki st -n wiki -e vim ~/vimwiki/index.md diff --git a/meta/configs/oh-my-zsh.yaml b/meta/configs/oh-my-zsh.yaml index cf0b520..5a4b176 100644 --- a/meta/configs/oh-my-zsh.yaml +++ b/meta/configs/oh-my-zsh.yaml @@ -2,9 +2,9 @@ - [bin/oh-my-zsh-check.sh] - link: - ~/.oh-my-zsh/custom/plugins: - path: shells/oh-my-zsh/custom/plugins - force: true - ~/.oh-my-zsh/custom/themes: - path: shells/oh-my-zsh/custom/themes - force: true + ~/.oh-my-zsh/custom/plugins/: + path: shells/oh-my-zsh/custom/plugins/** + glob: true + ~/.oh-my-zsh/custom/themes/: + path: shells/oh-my-zsh/custom/themes/** + glob: true diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index 3ad84e8..0480da1 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -159,3 +159,7 @@ export FZF_DEFAULT_OPTS='--layout=reverse --border' # vim wiki alias alias vimwiki="vim $HOME/vimwiki/index.md" + +# yt-dlp alias for simplicity +alias yt-vid="yt-dlp -P $HOME/media/video" +alias yt-mu="yt-dlp -P $HOME/media/music -x -f m4a/bestaudio --add-metadata --recode mp4"