summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ar/.config/ncmpcpp/config4
-rw-r--r--ar/.config/shell/aliasrc4
-rw-r--r--ar/.config/zsh/scripts.zsh2
-rwxr-xr-xar/.local/bin/tmuxopen10
-rw-r--r--global/Music/.music.txt1
5 files changed, 13 insertions, 8 deletions
diff --git a/ar/.config/ncmpcpp/config b/ar/.config/ncmpcpp/config
index 3414c89..6cea647 100644
--- a/ar/.config/ncmpcpp/config
+++ b/ar/.config/ncmpcpp/config
@@ -335,7 +335,7 @@ song_columns_list_format = (20)[cyan]{a} (40)[yellow]{t} (30)[blue]{b} (10)[mage
## Note: Custom command that will be executed each time song changes. Useful for
## notifications etc.
##
-execute_on_song_change="pkill -RTMIN+11 dwmblocks"
+execute_on_song_change="pkill -RTMIN+2 dwmblocks"
#
##
## Note: Custom command that will be executed each time player state
@@ -343,7 +343,7 @@ execute_on_song_change="pkill -RTMIN+11 dwmblocks"
## state (either unknown, play, pause, or stop) for its duration.
##
#
-execute_on_player_state_change="pkill -RTMIN+11 dwmblocks"
+execute_on_player_state_change="pkill -RTMIN+2 dwmblocks"
#
#playlist_show_mpd_host = no
#
diff --git a/ar/.config/shell/aliasrc b/ar/.config/shell/aliasrc
index 3b2b693..524777c 100644
--- a/ar/.config/shell/aliasrc
+++ b/ar/.config/shell/aliasrc
@@ -272,6 +272,9 @@ ialias mv='mv -iv'
# mysql
alias msr='mysql -u si -p'
+# ncmpcpp
+alias mu='ncmpcpp'
+
# network
alias wi='sudo wifi-menu'
alias p1='ping 1.1.1.1'
@@ -489,6 +492,7 @@ alias za='zathura'
alias sps="source ${XDG_CONFIG_HOME:-${HOME}/.config}/shell/profile"
alias szs="source ${XDG_CONFIG_HOME:-${HOME}/.config}/zsh/.zshrc"
+# personal
alias ylogh='ylog -s hidden -c us | grep $(LC_TIME=C date +%d/%b) | grep -E "[0-9]{2}:[0-9]{2}:[0-9]{2} "'
alias ylogH='ylog -s hidden -c us | grep $(LC_TIME=C date -d "1 days ago" +%d/%b) | grep -E "[0-9]{2}:[0-9]{2}:[0-9]{2} "'
alias ylogp='ylog -s peertube | grep $(LC_TIME=C date +%d/%b) | grep -E "[0-9]{2}:[0-9]{2}:[0-9]{2} "'
diff --git a/ar/.config/zsh/scripts.zsh b/ar/.config/zsh/scripts.zsh
index d70522d..082e11f 100644
--- a/ar/.config/zsh/scripts.zsh
+++ b/ar/.config/zsh/scripts.zsh
@@ -569,7 +569,7 @@ function change_nvim_config_dir() {
echo "$config_path"
# Clear existing configurations if confirmed by the user
- echo -n "This will overwrite existing configurations. Continue? (y/n) "
+ echo -n "This will overwrite existing configurations. Continue? (y/N) "
read reply
if [[ $reply =~ ^[Yy]$ ]]; then
echo "Clearing existing Neovim configurations..."
diff --git a/ar/.local/bin/tmuxopen b/ar/.local/bin/tmuxopen
index 5362215..05cdfc8 100755
--- a/ar/.local/bin/tmuxopen
+++ b/ar/.local/bin/tmuxopen
@@ -35,14 +35,14 @@ wrapper() {
echo {q}
)+reload(
rm -f $tmp_files;
- rg --line-number --follow --fixed-strings --hidden --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!node_modules/**' {q} 2>/dev/null || true
+ rg --line-number --follow --fixed-strings --hidden --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!**/.github/**' --glob '!node_modules/**' --glob '!dist/**' --glob '!build/**' --glob '!__pycache__/**' --glob '!target/**' --glob '!.venv/**' --glob '!venv/**' --glob '!coverage/**' --glob '!.next/**' {q} 2>/dev/null || true
)"
file_bind="ctrl-f:transform-query(
current_query={q};
if [ ! -s $tmp_content_query ]; then
echo \$current_query > $tmp_content_query;
fi;
- rg --hidden --follow --files-with-matches --no-messages --glob '!**/.git/**' --glob '!node_modules/**' -- \$current_query > $tmp_files;
+ rg --hidden --follow --files-with-matches --no-messages --glob '!**/.git/**' --glob '!**/.github/**' --glob '!node_modules/**' --glob '!dist/**' --glob '!build/**' --glob '!__pycache__/**' --glob '!target/**' --glob '!.venv/**' --glob '!venv/**' --glob '!coverage/**' --glob '!.next/**' -- \$current_query > $tmp_files;
)+reload(
if [ -s $tmp_files ]; then
if [ -n {q} ]; then
@@ -59,12 +59,12 @@ wrapper() {
fi
)"
if command -v fd >/dev/null 2>&1; then
- dir_bind="ctrl-d:change-prompt(📁 )+reload(fd --follow --type d --hidden --absolute-path --color never --exclude .git --exclude node_modules --search-path \"\$PWD\")"
+ dir_bind="ctrl-d:change-prompt(📁 )+reload(fd --follow --type d --hidden --absolute-path --color never --exclude .git --exclude .github --exclude node_modules --exclude dist --exclude build --exclude __pycache__ --exclude target --exclude .venv --exclude venv --exclude coverage --exclude .next --search-path \"\$PWD\")"
else
- dir_bind="ctrl-d:change-prompt(📁 )+reload(find \"\$PWD\" -L -type d -name node_modules -prune -o -name .git -prune -o -type d -print)"
+ dir_bind="ctrl-d:change-prompt(📁 )+reload(find \"\$PWD\" -L -type d -name node_modules -prune -o -name .git -prune -o -name .github -prune -o -name dist -prune -o -name build -prune -o -name __pycache__ -prune -o -name target -prune -o -name .venv -prune -o -name venv -prune -o -name coverage -prune -o -name .next -prune -o -type d -print)"
fi
- rg --line-number --follow --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!LICENSE' '' 2>/dev/null |
+ rg --line-number --follow --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!**/.github/**' --glob '!node_modules/**' --glob '!dist/**' --glob '!build/**' --glob '!.next/**' --glob '!__pycache__/**' --glob '!target/**' --glob '!.venv/**' --glob '!venv/**' --glob '!coverage/**' --glob '!LICENSE' '' 2>/dev/null |
fzf-tmux \
--ansi --multi --delimiter : \
--reverse \
diff --git a/global/Music/.music.txt b/global/Music/.music.txt
index 131c624..89792ef 100644
--- a/global/Music/.music.txt
+++ b/global/Music/.music.txt
@@ -1024,3 +1024,4 @@ youtube QJL_C3U9LVA
youtube f2Pee5hnO-E
youtube PMeFllo1x8w
youtube Xh7PpK4PrTA
+youtube gu0B7eGU0iw