diff --git a/.config/nvim/lua/core/variables.lua b/.config/nvim/lua/core/variables.lua index 82d207a..d525909 100644 --- a/.config/nvim/lua/core/variables.lua +++ b/.config/nvim/lua/core/variables.lua @@ -31,9 +31,8 @@ vim.keymap.set("n", "", "cnextzz") vim.keymap.set("n", "", "bp") vim.keymap.set("n", "", "bn") --Undo dir +vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" vim.opt.undofile = true ---Backup dir -vim.opt.backup = true --Org mode hide links vim.opt.conceallevel = 2 vim.opt.concealcursor = 'nc' diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index 369bca2..062f150 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -2,8 +2,8 @@ return { { "vimpostor/vim-tpipeline", config = function() - vim.g.tpipeline_restore = 0 - vim.g.tpipeline_autoembed = 0 + vim.g.tpipeline_restore = 1 + vim.g.tpipeline_autoembed = 1 vim.o.laststatus = 0 vim.g.tpipeline_statusline = '%=%l:%c' end diff --git a/.config/tmux/tmux_plugins.conf b/.config/tmux/tmux_plugins.conf index 00bb099..7da6c6c 100644 --- a/.config/tmux/tmux_plugins.conf +++ b/.config/tmux/tmux_plugins.conf @@ -14,7 +14,7 @@ set -g @plugin 'sainnhe/tmux-fzf' #set -g @catppuccin_window_tabs_enabled on set -g @resurrect-strategy-nvim 'session' set -g @resurrect-capture-pane-contents 'on' -#set -g @continuum-restore 'on' +set -g @continuum-restore 'on' set -g @continuum-save-interval '5' #set -g @continuum-boot 'on' #set -g @continuum-boot-options 'alacritty' diff --git a/.config/tmux/tmux_status_bar.conf b/.config/tmux/tmux_status_bar.conf index 0d21a5c..f912ac8 100644 --- a/.config/tmux/tmux_status_bar.conf +++ b/.config/tmux/tmux_status_bar.conf @@ -5,31 +5,20 @@ set -g status-bg "#1d2021" set -g @unfocused-fg "#d4be98" set -g @focused-bg "#d4be98" set -g @focused-fg "#1d2021" - # Set status bar position set -g status-position top +# Set status bar style +set -g status-style ' #[bg=#{status-bg},fg=#{@unfocused-fg}] ' + # Set status bar justification set -g status-justify left # Set right side of the status bar -set -g status-right '#(cat #{socket_path}-\#{session_id}-vimbridge-R)' - -set -g status-left '[#S] ' - -# Set status bar style -set -g status-style ' #[bg=#{status-bg},fg=#{@unfocused-fg}]' +set -g status-right '#[bg=#{status-bg},fg=#{@unfocused-fg}] #S' # Set window status format -set -g window-status-format ' #I:#W ' +set -g window-status-format ' #[bg=#{status-bg},fg=#{@unfocused-fg}] #I:#W ' # Set window status format for the current window -set -g window-status-current-format '#[bg=#{@focused-bg},fg=#{@focused-fg}] #I:#W ' - - -# AUTO RENAME WINDOW -set-option -g status-interval 1 - -set-option -g automatic-rename on - -set-option -g automatic-rename-format "#{?#{==:#{pane_current_command},zsh},#{b:pane_current_path},#{pane_current_command}}" +set -g window-status-current-format ' #[bg=#{@focused-bg},fg=#{@focused-fg}] #I:#W ' diff --git a/.local/bin/csgores b/.local/bin/csgores deleted file mode 100755 index 1967928..0000000 --- a/.local/bin/csgores +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -nvidia-settings --assign CurrentMetaMode="DP-0: nvidia-auto-select +0+0 {viewportin=1920x1440, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +1920+0 {rotation=right}" diff --git a/.local/bin/desktopres b/.local/bin/desktopres deleted file mode 100755 index 6c42ae8..0000000 --- a/.local/bin/desktopres +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -nvidia-settings --assign CurrentMetaMode="DP-0: nvidia-auto-select +0+0 {AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +2560+0 {rotation=right}" diff --git a/.local/bin/mouserotation.sh b/.local/bin/mouserotation.sh deleted file mode 100755 index d6663e0..0000000 --- a/.local/bin/mouserotation.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -for id in `xinput --list | awk '/Razer Razer DeathAdder V3 Pro .*pointer/ {print $8}' | sed 's/id=\(.*\)/\1/'`; do - notify-send "Applied Mouse Rotation" - xinput set-prop $id "Coordinate Transformation Matrix" 0.9848 0.1736 0 -0.1736 0.9848 0 0 0 1 - sleep 1 -done diff --git a/.local/bin/tms b/.local/bin/tms index f4c7a5d..6b9c737 100755 --- a/.local/bin/tms +++ b/.local/bin/tms @@ -16,7 +16,6 @@ if [[ -z $selected ]]; then fi selected_name=$(basename "$selected" | tr . _) -selected_name=${selected_name^^} tmux_running=$(pgrep tmux) if [[ -z $TMUX ]] && [[ -z $tmux_running ]]; then