Compare commits

..

3 Commits

Author SHA1 Message Date
ef2bff1dd2
Update 02.09.2024 2024-09-02 19:47:25 +02:00
9d84415002
Add new neovim config submodules 2024-08-15 16:13:54 +02:00
7a6130cb81
Update 15.08.2024 2024-08-15 16:12:35 +02:00
11 changed files with 41 additions and 23 deletions

6
.gitmodules vendored
View File

@ -4,3 +4,9 @@
[submodule "scripts"] [submodule "scripts"]
path = scripts path = scripts
url = git@github.com:Legrems/scripts.git url = git@github.com:Legrems/scripts.git
[submodule "scripts-hidden"]
path = scripts-hidden
url = git@github.com:Legrems/scripts-hidden.git
[submodule "neovim-config"]
path = neovim-config
url = git@github.com:Legrems/neovim-config.git

View File

@ -19,9 +19,9 @@ set $i3_gaps_smart off
#~ Colors #~ Colors
set $i3_cl_col_bg #1E2128 set $i3_cl_col_bg #1E2128
set $i3_cl_col_fg #ABB2BF set $i3_cl_col_fg #ABB2BF
set $i3_cl_col_in #98C379 set $i3_cl_col_in #1786e8
set $i3_cl_col_afoc #5294E2 set $i3_cl_col_afoc #96cf6e
set $i3_cl_col_ifoc #62AEEF set $i3_cl_col_ifoc #a2cff6
set $i3_cl_col_ufoc #292d37 set $i3_cl_col_ufoc #292d37
set $i3_cl_col_urgt #C778DD set $i3_cl_col_urgt #C778DD
set $i3_cl_col_phol #1E2128 set $i3_cl_col_phol #1E2128

View File

@ -49,4 +49,4 @@ xsetroot -cursor_name left_ptr
"$idir"/scripts/i3_comp "$idir"/scripts/i3_comp
# Start mpd # Start mpd
exec mpd & # exec mpd &

View File

@ -24,6 +24,11 @@ returner-consumer-stdout.log
celery-exporter celery-exporter
.gitlab.nvim .gitlab.nvim
.prettierrc
*.sqlite3
pyrightconfig.json
arcanite_gestion/lib/ arcanite_gestion/lib/
dependencies.html dependencies.html

View File

@ -5,7 +5,7 @@ import json
def i3_command(command, *args, **kwargs): def i3_command(command, *args, **kwargs):
try: try:
return json.loads(sh.i3_msg(command, *args, **kwargs).stdout) return json.loads(sh.i3_msg(command, *args, **kwargs).stdout)
except: except Exception:
return [] return []
@ -18,5 +18,6 @@ def get_output():
def test(): def test():
pass pass
if __name__ == "__main__":
print(get_workspaces()) print(get_workspaces())
print(get_output()) print(get_output())

2
neovim

@ -1 +1 @@
Subproject commit 3f08c78c134c6c577b64d6b4161999ff459bd394 Subproject commit 822b092d1533065a0f347f2bb7cc685f605a2f2b

1
neovim-config Submodule

@ -0,0 +1 @@
Subproject commit f3bf598361b9da8753495b067772cd74fadf40b1

@ -1 +1 @@
Subproject commit 6b1d53f65dc5f2b1967489fd9e5d81d8064a1569 Subproject commit 36bd56bcc48c6818802fe177debaf98cdda25d3d

1
scripts-hidden Submodule

@ -0,0 +1 @@
Subproject commit 92ba9d1c4b5d8eee6c747db119fa60b40fc2b64f

View File

@ -20,7 +20,7 @@ bind -n M-s select-pane -D
bind -n M-d select-pane -R bind -n M-d select-pane -R
# reload conf # reload conf
bind r source-file ~/.tmux.conf bind r source-file ~/.tmux.conf; display-message "Tmux source file reloaded!"
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection bind -T copy-mode-vi v send-keys -X begin-selection
@ -30,17 +30,16 @@ set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",*:RGB" set -ag terminal-overrides ",*:RGB"
# change color # change color
#set -g pane-border-style 'fg=#660033' set -g pane-border-style '#{?pane_synchronized, fg=yellow, fg=black}'
#set -g pane-active-border-style 'fg=#990033 bg=default' set -g pane-active-border-style '#{?pane_synchronized, fg=red, fg=#52862d}'
set -g pane-border-style 'fg=#000055'
set -g pane-active-border-style 'fg=#6a00aa'
# status bar # status bar
set -g status-position top set -g status-position top
set -g status-justify left set -g status-justify centre
#set -g status-style 'fg=#660033 bg=#202020' set -g status-style 'fg=#ffffff #{?pane_synchronized, bg=red, bg=default}'
set -g status-style 'fg=#a000ff bg=#202020' set -g status-left "[#{session_name}] "
set -g status-left-length 60
# native xterm scrolling # native xterm scrolling
set -g mouse on set -g mouse on
@ -63,9 +62,10 @@ run -b '~/.tmux/plugins/tpm/tpm'
set -s escape-time 0 set -s escape-time 0
set-option -g default-terminal "screen-256color" set-option -g default-terminal "screen-256color"
bind-key -r f run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_sessionizer.py" bind f run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_sessionizer.py"
bind-key -r g run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_select_session.py" bind g run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_select_session.py"
bind-key -r h run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_select_pane.py" bind h run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_select_pane.py"
bind-key -r m run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_ssh_group.py" bind m run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_ssh_group.py"
bind-key -r j run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_multi_ssh.py" bind j run-shell "tmux neww /home/legrems/miniconda3/bin/python ~/Documents/dotfiles/scripts/tmux_multi_ssh.py"
bind-key -r i set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized, #[bg=red]!! ON !!,OFF}" bind i set-window-option synchronize-panes\;
# bind i set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized, #[bg=red]!! ON !!,OFF}"

4
zshrc
View File

@ -22,3 +22,7 @@ eval "$(zoxide init zsh | sed -e 's/\\builtin cd/cdwe/g')"
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. # Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin" export PATH="$PATH:$HOME/.rvm/bin"
export KEYTIMEOUT=1 export KEYTIMEOUT=1
fpath+=~/.zfunc; autoload -Uz compinit; compinit
zstyle ':completion:*' menu select