Skip to content

Commit

Permalink
Committed some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Apr 3, 2024
1 parent 51ce037 commit 139e6f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .bash/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ cinf() { # {{{
if [[ $# == 0 ]]; then
xargs -d '\n' realpath | sed 's/.*/file:\/\/&/' | xclip -in -selection clipboard -t text/uri-list
else
echo ${@} | xargs -d '\n' realpath | sed 's/.*/file:\/\/&/' | xclip -in -selection clipboard -t text/uri-list
printf "%s\n" "${@}" | xargs -d '\n' realpath | sed 's/.*/file:\/\/&/' | xclip -in -selection clipboard -t text/uri-list
fi
} # }}}

Expand Down
2 changes: 1 addition & 1 deletion .config/lattedockrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ windowSize=980,630
outlineWidth=1

[ScreenConnectors]
10=eDP-1:::1920,1080 1920x1080
10=eDP-1:::0,1080 1920x1080
11=HDMI-1:::1920,0 1920x1080
12=DP-1:::1920,0 1920x1080

Expand Down
2 changes: 1 addition & 1 deletion .config/lf/lfrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cmd filewidget ${{
}}

cmd clipboard &{{
echo $fx | xargs -d '\n' realpath | sed 's/.*/file:\/\/&/' | xclip -in -selection clipboard -t text/uri-list;
echo "$fx" | xargs -d '\n' realpath | sed 's/.*/file:\/\/&/' | xclip -in -selection clipboard -t text/uri-list;
lf -remote "send $id unselect"
}}

Expand Down
17 changes: 5 additions & 12 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# # HJKL for pane redimension
# bind H resize-pane -L 5
# bind J resize-pane -D 5
# bind K resize-pane -U 5
# bind L resize-pane -R 5

# change layout
bind-key ] next-layout
bind-key [ previous-layout
Expand All @@ -79,22 +73,21 @@ bind-key R command-prompt -p "Rename session:" "rename-session '%%'"

bind $ source-file ~/.tmux.conf \

bind S command-prompt -p "Session Name: " "new-session -s '%%'"
bind S command-prompt -p "New session name: " "new-session -s '%%'"
bind K command-prompt -p "Kill session: " "kill-session -t '%%'"
bind L command-prompt -p "Link To (session:window):" "link-window -s '%%'"

bind i command-prompt -p "Popup: " "display-popup -EE -d '#{pane_current_path}' -w80% -h80% 'bash -ic \"%%\"'"

# Link a target window here
bind L command-prompt -p "Link To (session:window):" "link-window -s '%%'"

# WINDOW MONITORING
# do not monitor for activity and silence by default
set-window-option -g monitor-activity off
set-window-option -g monitor-silence 0

# do not display messages about silence, bell and activity
set -g visual-activity off
set -g visual-activity on
set -g visual-bell off
set -g visual-silence off
set -g visual-silence on

# define keys for easy activity/silence monitoring
bind m set-window-option monitor-activity \; display "Toggle monitor activity: #{?monitor-activity,on,off}"
Expand Down

0 comments on commit 139e6f3

Please sign in to comment.