From 654414db7eb87c4e5cdebada3201c78153c347a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eahin=20Akkaya?= Date: Thu, 14 Mar 2024 11:13:21 +0300 Subject: [PATCH] Update main config --- .config/btop/btop.conf | 4 ++-- .config/kitty/kitty.conf | 14 ++++++++++++++ .config/task/taskrc | 11 ++++++----- .config/tmux/dark.conf | 22 ++++++++++++++++------ .config/tmux/light.conf | 20 ++++++++++++++------ .config/tmux/tmux.conf | 16 ++++++++++++---- 6 files changed, 64 insertions(+), 23 deletions(-) diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index b43f32f..7386ac6 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -56,7 +56,7 @@ update_ms = 2000 #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu lazy" +proc_sorting = "memory" #* Reverse sorting order, True or False. proc_reversed = False @@ -211,4 +211,4 @@ selected_battery = "Auto" #* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. -log_level = "WARNING" +log_level = "WARNING" \ No newline at end of file diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 1d6605d..b11dad1 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1,5 +1,19 @@ # vim:fileencoding=utf-8:foldmethod=marker +# map f1 show_kitty_env_vars + +kitty_mod alt +#: Special modifier key alias for default shortcuts. You can change +#: the value of this option to alter all default shortcuts that use +#: kitty_mod. + +clear_all_shortcuts yes +#: Remove all shortcut definitions up to this point. Useful, for +#: instance, to remove the default shortcuts. + + +# kitty-scrollback.nvim Kitten alias +action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py # include ./themes/themes/OneDark.conf include ~/.local/share/nvim/lazy/tokyonight.nvim/extras/kitty/tokyonight_day.conf diff --git a/.config/task/taskrc b/.config/task/taskrc index e8e065b..6a8dae1 100644 --- a/.config/task/taskrc +++ b/.config/task/taskrc @@ -27,11 +27,11 @@ hooks.location=~/.config/task/hooks # Color theme (uncomment one to use) -include solarized-dark-256.theme -#include dark-16.theme -#include light-16.theme -#include light-256.theme -#include dark-256.theme +# include solarized-dark-256.theme +# include dark-16.theme +# include light-16.theme +# include light-256.theme +# include dark-256.theme #include dark-red-256.theme #include dark-green-256.theme #include dark-blue-256.theme @@ -45,3 +45,4 @@ include solarized-dark-256.theme news.version=2.6.0 # color.calendar.holiday=black on yellow +include light-256.theme diff --git a/.config/tmux/dark.conf b/.config/tmux/dark.conf index 2f54f23..9c54c09 100644 --- a/.config/tmux/dark.conf +++ b/.config/tmux/dark.conf @@ -30,11 +30,21 @@ # st.color7: #ACB0D0 # st.color15: #ABB2BF -darker_accent="#e0af68" -accent="#528ef5" -lighter_accent="#3b4261" +# # tokyonight +# darker_accent="#e0af68" +# accent="#518DF6" +# lighter_accent="#0B55D5" +# bg="default" +# fg_text="#111111" + + +# kanagawa +darker_accent="#44300D" +accent="#986e1f" +lighter_accent="#664915" bg="default" -fg_text="#111111" +fg_text="#E4BC77" + prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}" sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}" mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}" @@ -56,9 +66,9 @@ setw -g window-status-activity-style "none" setw -g window-status-separator "" setw -g window-status-style "none,fg=$fg_text,bg=$bg" -set -g status-left "#[fg=$fg_text,bg=$accent] #S #[fg=$accent,bg=$bg,nobold,nounderscore,noitalics] " +set -g status-left "#[fg=$fg_text,bg=$lighter_accent] #S #[fg=$lighter_accent,bg=$bg,nobold,nounderscore,noitalics] " -setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$accent,bg=$lighter_accent] #I#[fg=$accent,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]" +setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$fg_text,bg=$lighter_accent] #I#[fg=$fg_text,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]" setw -g window-status-current-format "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent,bold]#I#[fg=$fg_text,bg=$accent]#W#F#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]" # set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] $uptime %H:%M %d/%m/%Y#[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics]#[bg=$fg_text,fg=$darker_accent,bold]$prefix$sync$mode" diff --git a/.config/tmux/light.conf b/.config/tmux/light.conf index c5e260e..dd6aa28 100644 --- a/.config/tmux/light.conf +++ b/.config/tmux/light.conf @@ -11,7 +11,7 @@ # st.color5: #9854f1 # st.color6: #007197 # st.color7: #6172b0 -# st.color8: #a1a6c5 +# st.color8: #a1a6c5j # st.color9: #f52a65 # st.color10: #587539 # st.color11: #8c6c3e @@ -28,12 +28,20 @@ # prefix_color="colour11" # TokyoNight colors for Tmux -darker_accent="#6172b0" -accent="#2e7de9" -bg1="#d1d4e3" +# darker_accent="#6172b0" +# accent="#2e7de9" +# bg1="#d1d4e3" +# bg2="default" +# grayish="#a8aecb" +# prefix_color="#8c6c3e" + +# kanagawa colors +darker_accent="#727169" +accent="#727169" +bg1="#DCD7BA" bg2="default" -grayish="#a8aecb" -prefix_color="#8c6c3e" +grayish="#C8C093" +prefix_color="#77713f" prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}" sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}" diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 6935b40..43cb05c 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,12 +1,20 @@ # remap prefix to Control + Space -set -g prefix C-Space -bind C-Space last-window +set -g prefix C-s +bind C-s send-prefix +bind-key C-] send-keys "C-]" # set -g prefix Escape # bind Escape send-keys Escape -# bind "'" last-window +bind "'" last-window unbind C-b -set-option -g allow-passthrough on +set -sg escape-time 0 # see https://github.com/neovim/neovim/issues/2035 + + +### required for showing images in terminal +set-option -gq allow-passthrough on +# for hiding images when window is switched +set -g visual-activity off +### # Smart pane switching with awareness of Vim splits. # See: https://github.com/christoomey/vim-tmux-navigator