summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-27 17:13:29 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-27 17:13:29 +0900
commitfae1b51643c9d105760666dab5cef471f4d6042b (patch)
tree908be4373901081967b3eb41c7e859af79fe2c60
parent7dae83b76e135c5ba07fb78d9c402393cc51c3bb (diff)
modified tmux/tmux.conf, modified bin/emojiupdate
-rw-r--r--ar/.config/tmux/tmux.conf9
-rwxr-xr-xar/.local/bin/emojiupdate8
2 files changed, 10 insertions, 7 deletions
diff --git a/ar/.config/tmux/tmux.conf b/ar/.config/tmux/tmux.conf
index 1218cf2..ef28499 100644
--- a/ar/.config/tmux/tmux.conf
+++ b/ar/.config/tmux/tmux.conf
@@ -69,6 +69,9 @@ bind -r 'C-right' resize-pane -R 5
bind '@' choose-window 'join-pane -h -s "%%"'
bind '#' choose-window 'join-pane -s "%%"'
bind 'x' kill-pane
+bind 'a' kill-pane -a
+bind 'X' kill-window
+bind 'A' kill-window -a
bind -n 'M-k' move-pane -h -t '.{up-of}'
bind -n 'M-l' move-pane -t '.{right-of}'
bind -n 'M-h' move-pane -t '.{left-of}'
@@ -172,8 +175,8 @@ set -g @open-editor 'E'
set -g @open-o 'https://www.searx.thesiah.xyz/?q='
# pomodoro
-set -g @pomodoro_toggle 'a' # Start/pause a Pomodoro/break
-set -g @pomodoro_cancel 'A' # Cancel the current session
+set -g @pomodoro_toggle 'p' # Start/pause a Pomodoro/break
+set -g @pomodoro_cancel 'P' # Cancel the current session
set -g @pomodoro_menu 'C-a' # Pomodoro menu
set -g @pomodoro_restart 'R' # Restart
set -g @pomodoro_skip 'B' # Skip a Pomodoro/break
@@ -220,7 +223,7 @@ bind 'C-s' run-shell -b "~/.local/bin/tmux/tmux-fzf/scripts/session.sh"
bind 'C-w' run-shell -b "~/.local/bin/tmux/tmux-fzf/scripts/window.sh"
# tpm
-set -g @tpm-clean 'X'
+set -g @tpm-clean 'C-x'
# weather
set -g @tmux-weather-interval 60 # in minutes
diff --git a/ar/.local/bin/emojiupdate b/ar/.local/bin/emojiupdate
index cc2f1c5..a38faab 100755
--- a/ar/.local/bin/emojiupdate
+++ b/ar/.local/bin/emojiupdate
@@ -2,9 +2,9 @@
# Define input and output files
URL="https://unicode.org/Public/emoji/latest/emoji-test.txt"
-INPUT_FILE="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/char/emoji_raw"
-TEMP_FILE="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/char/emoji_temp"
-OUTPUT_FILE="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/char/emoji"
+INPUT_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji_raw"
+TEMP_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji_temp"
+OUTPUT_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji"
# Create the directory for output files if it doesn't exist
mkdir -p "$(dirname "$INPUT_FILE")"
@@ -39,7 +39,7 @@ awk '
awk -F'#' '
{
if (NF >= 2) {
- full_data = $2 # Extract the emoji and description (after #)
+ full_data = $2 # Extract the emoji and description (after #)
gsub(/^[[:space:]]+|[[:space:]]+$/, "", full_data) # Trim spaces around the entire field
split(full_data, parts, " ") # Split into parts by spaces