Skip to content

Commit

Permalink
update through script - 2024-07-11 10:39:09
Browse files Browse the repository at this point in the history
  • Loading branch information
oasido committed Jul 11, 2024
1 parent ac9751b commit 2009cdf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .local/bin/scripts/audio-startup
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/env sh

sleep 10 && pw-jack carla -n ~/Sync/audio-setup.carxp
20 changes: 11 additions & 9 deletions .tmux.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# General settings
set-option -g default-terminal "screen-256color"
set -sa terminal-overrides ",xterm-256color:RGB"
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q'
set -ga terminal-overrides ",xterm-256color:Tc"
set -ga terminal-overrides ",alacritty:RGB"

set -s escape-time 50
set -g base-index 1
set-option -g focus-events on
set -g focus-events on
set -g mouse on

# Prefix and key bindings
unbind C-b
set-option -g prefix C-a
set -g prefix C-a
bind-key C-a send-prefix
bind r source-file ~/.tmux.conf

Expand All @@ -22,8 +26,8 @@ bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
bind-key -r G run-shell "~/.local/bin/scripts/tmux-sessionizer ~/personal"

# Open new panes in the current path
bind c new-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -v -c "#{pane_current_path}"

# Copy mode (vi mode)
Expand All @@ -32,12 +36,10 @@ bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'

# Status bar configuration
set -g status-fg colour8
set -g status-bg colour234
set -g status-style fg=colour8,bg=colour234
set -g status-left ' #S '
set -g status-left-length 15
set -g status-left-style fg=colour229,bg=colour166
set -g window-status-format "#[fg=colour8] #I #[fg=colour231]#W#[fg=colour166]#F "
set -g window-status-current-format "#[fg=colour117,bg=colour31] #I #[fg=colour231]#W#[fg=colour234]#F "
set -g window-status-separator ""

0 comments on commit 2009cdf

Please sign in to comment.