Updated dotfiles, added LICENSE
This commit is contained in:
parent
0c457db7cc
commit
d9834b6db0
68 changed files with 60 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -85,3 +85,6 @@ whispertux/
|
||||||
# SSH keys (public or private)
|
# SSH keys (public or private)
|
||||||
*.pub
|
*.pub
|
||||||
id_*
|
id_*
|
||||||
|
rustdesk/
|
||||||
|
*_scan_*.txt
|
||||||
|
*.m4a
|
||||||
|
|
|
||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2025 rpriven
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
0
scripts/ping-sweep.py → scripts/bin/ping-sweep.py
Normal file → Executable file
0
scripts/ping-sweep.py → scripts/bin/ping-sweep.py
Normal file → Executable file
0
scripts/ping-sweep.sh → scripts/bin/ping-sweep.sh
Normal file → Executable file
0
scripts/ping-sweep.sh → scripts/bin/ping-sweep.sh
Normal file → Executable file
|
|
@ -297,7 +297,7 @@ tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_4,$tmux_conf_theme_colou
|
||||||
tmux_conf_theme_status_left_bg="$tmux_conf_theme_colour_1,$tmux_conf_theme_colour_1,$tmux_conf_theme_colour_0"
|
tmux_conf_theme_status_left_bg="$tmux_conf_theme_colour_1,$tmux_conf_theme_colour_1,$tmux_conf_theme_colour_0"
|
||||||
|
|
||||||
# right
|
# right
|
||||||
tmux_conf_theme_status_right=" #[fg=#00afff,bg=#080808]#{prefix_highlight} #[fg=#00afff,bg=#080808]#{mouse} #[fg=#e4e4e4,bg=#080808]Online: #[fg=#5fff00,bg=#080808]#{online_status} #[fg=#e4e4e4,bg=#080808]#(~/.tmux/scripts/tmux-vpn-status/vpn-status.sh) VPN #[fg=#f7931a,bg=#080808] #{kripto} #[fg=#5fff00,bg=#080808]%R #[fg=#e4e4e4,bg=#080808] %a %d %b #[fg=#e4e4e4,bg=#d70000,bold] #{?#{==:#{username},root},!, #{username}} #[fg=#e4e4e4,bg=#d70000,bold]#{?username_ssh, @ #{username_ssh},} #[fg=#080808,bg=#e4e4e4,bold] #{hostname} "
|
tmux_conf_theme_status_right=" #[fg=#00afff,bg=#080808]#{prefix_highlight} #[fg=#00afff,bg=#080808]#{mouse} #[fg=#e4e4e4,bg=#080808]Online: #[fg=#5fff00,bg=#080808]#{online_status} #[fg=#e4e4e4,bg=#080808]#(~/.tmux/scripts/tmux-vpn-status/vpn-status.sh) VPN #[fg=#f7931a,bg=#080808] #{kripto} #[fg=#ff6600]#(~/.local/bin/xmr-price.sh) #[fg=#5fff00,bg=#080808]%R #[fg=#e4e4e4,bg=#080808] %a %d %b #[fg=#e4e4e4,bg=#d70000,bold] #{?#{==:#{username},root},!, #{username}} #[fg=#e4e4e4,bg=#d70000,bold]#{?username_ssh, @ #{username_ssh},} #[fg=#080808,bg=#e4e4e4,bold] #{hostname} "
|
||||||
|
|
||||||
# backup - working
|
# backup - working
|
||||||
# tmux_conf_theme_status_right=" #[fg=#00afff,bg=#080808]#{prefix_highlight} #[fg=#00afff,bg=#080808]#{mouse} #[fg=#e4e4e4,bg=#080808]Online: #[fg=#5fff00,bg=#080808]#{online_status} #[fg=#f7931a,bg=#080808] #{kripto} #[fg=#5fff00,bg=#080808]%R #[fg=#e4e4e4,bg=#080808] %a %d %b #[fg=#e4e4e4,bg=#d70000,bold] #{?#{==:#{username},root},!, #{username}} #[fg=#e4e4e4,bg=#d70000,bold]#{?username_ssh, @ #{username_ssh},} #[fg=#080808,bg=#e4e4e4,bold] #{hostname} "
|
# tmux_conf_theme_status_right=" #[fg=#00afff,bg=#080808]#{prefix_highlight} #[fg=#00afff,bg=#080808]#{mouse} #[fg=#e4e4e4,bg=#080808]Online: #[fg=#5fff00,bg=#080808]#{online_status} #[fg=#f7931a,bg=#080808] #{kripto} #[fg=#5fff00,bg=#080808]%R #[fg=#e4e4e4,bg=#080808] %a %d %b #[fg=#e4e4e4,bg=#d70000,bold] #{?#{==:#{username},root},!, #{username}} #[fg=#e4e4e4,bg=#d70000,bold]#{?username_ssh, @ #{username_ssh},} #[fg=#080808,bg=#e4e4e4,bold] #{hostname} "
|
||||||
|
|
@ -539,6 +539,30 @@ set -g @kripto_icon "₿ $"
|
||||||
set -g @kripto_ttl 150
|
set -g @kripto_ttl 150
|
||||||
set -g @krypto_round "true"
|
set -g @krypto_round "true"
|
||||||
|
|
||||||
|
# === POPUPS ===
|
||||||
|
# prices (prefix + g)
|
||||||
|
bind g display-popup -E -w 45% -h 50% -T " Prices " "bash -c '~/.local/bin/prices; echo; echo \" Press any key...\"; read -n1'"
|
||||||
|
# vitals (prefix + v)
|
||||||
|
bind v display-popup -E -w 80% -h 80% -T " Vitals " "btop"
|
||||||
|
# notes (prefix + n) - opens helix scratchpad
|
||||||
|
bind n display-popup -E -w 80% -h 80% -T " Notes " "hx ~/.claude/scratchpad/notes.md"
|
||||||
|
# docker (prefix + d)
|
||||||
|
bind d display-popup -E -w 80% -h 80% -T " Docker " "lazydocker"
|
||||||
|
# weather (prefix + w)
|
||||||
|
bind w display-popup -E -w 60% -h 70% -T " Weather " "bash -c 'curl -s wttr.in?0; echo; echo \" Press any key...\"; read -n1'"
|
||||||
|
# agenda (prefix + a) - cal.com events
|
||||||
|
bind a display-popup -E -w 50% -h 60% -T " Agenda " "bash -c '~/.local/bin/agenda; echo; echo \" Press any key...\"; read -n1'"
|
||||||
|
# search files (prefix + S) - fzf in current pane directory
|
||||||
|
bind S display-popup -E -w 90% -h 90% -T " Search " -d "#{pane_current_path}" "fzf --preview 'bat --color=always {} 2>/dev/null || cat {}'"
|
||||||
|
# yazi file manager (prefix + y) - in current pane directory
|
||||||
|
bind y display-popup -E -w 90% -h 90% -T " Files " -d "#{pane_current_path}" "yazi"
|
||||||
|
# clipboard yank (prefix + Y) - moved from y
|
||||||
|
bind Y run-shell -b "tmux save-buffer - | wl-copy"
|
||||||
|
# navi cheatsheet (prefix + N)
|
||||||
|
bind N display-popup -E -w 80% -h 80% -T " Navi " "navi"
|
||||||
|
# vit - VIM Interface for Taskwarrior (prefix + t)
|
||||||
|
bind t display-popup -E -w 90% -h 90% -T " Tasks " "vit"
|
||||||
|
|
||||||
# -- display -------------------------------------------------------------------
|
# -- display -------------------------------------------------------------------
|
||||||
|
|
||||||
set -g status-interval 5 # redraw status line every 5 seconds
|
set -g status-interval 5 # redraw status line every 5 seconds
|
||||||
|
|
@ -594,8 +618,9 @@ tmux_conf_copy_to_os_clipboard=true
|
||||||
# -- user customizations -------------------------------------------------------
|
# -- user customizations -------------------------------------------------------
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
# reload config (prefix + r) - sources main .tmux.conf which includes .local
|
||||||
unbind r
|
unbind r
|
||||||
bind r source-file ~/.tmux.conf.local
|
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
||||||
|
|
||||||
# set-option -g status-position top
|
# set-option -g status-position top
|
||||||
set-option -g status-position bottom
|
set-option -g status-position bottom
|
||||||
|
|
@ -629,7 +654,7 @@ set -g @session-wizard-windows on # default is off
|
||||||
# set -g @plugin 'wfxr/tmux-fzf-url'
|
# set -g @plugin 'wfxr/tmux-fzf-url'
|
||||||
# set -g @plugin 'omerxx/tmux-floax'
|
# set -g @plugin 'omerxx/tmux-floax'
|
||||||
|
|
||||||
set -g @plugin 'kenos1/tmux-cht-sh'
|
# set -g @plugin 'kenos1/tmux-cht-sh' # disabled - using S for fzf search
|
||||||
|
|
||||||
set -g @plugin 'BartSte/tmux-fzf-open'
|
set -g @plugin 'BartSte/tmux-fzf-open'
|
||||||
set -g @fzf-open-bind 'u'
|
set -g @fzf-open-bind 'u'
|
||||||
|
|
|
||||||
0
vit/.vit/config.ini
Normal file
0
vit/.vit/config.ini
Normal file
2
yazi/.config/yazi/yazi.toml
Normal file
2
yazi/.config/yazi/yazi.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[mgr]
|
||||||
|
show_hidden = true
|
||||||
|
|
@ -72,8 +72,12 @@ fi
|
||||||
export PATH="/opt/zig:$PATH"
|
export PATH="/opt/zig:$PATH"
|
||||||
export YDOTOOL_SOCKET=/run/user/1000/.ydotool_socket
|
export YDOTOOL_SOCKET=/run/user/1000/.ydotool_socket
|
||||||
|
|
||||||
# SSH agent socket (user systemd service, not system socket)
|
# SSH agent socket
|
||||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
# Old: user systemd ssh-agent.socket (kept getting hijacked by other agents)
|
||||||
|
# export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
||||||
|
#
|
||||||
|
# Now using GPG agent for YubiKey SSH support
|
||||||
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
|
||||||
# XWayland support for legacy X11 apps on Wayland
|
# XWayland support for legacy X11 apps on Wayland
|
||||||
# Only set XAUTHORITY if needed - let the system handle DISPLAY
|
# Only set XAUTHORITY if needed - let the system handle DISPLAY
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue