diff options
| -rw-r--r-- | awesome/.config/awesome/picom.conf | 10 | ||||
| -rw-r--r-- | kitty/.config/kitty/kitty.conf | 10 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/neo-tree.lua | 12 | ||||
| -rwxr-xr-x | scripts/.scripts/tmux-sessionizer.sh | 12 |
4 files changed, 27 insertions, 17 deletions
diff --git a/awesome/.config/awesome/picom.conf b/awesome/.config/awesome/picom.conf index a27e30c..6b559e5 100644 --- a/awesome/.config/awesome/picom.conf +++ b/awesome/.config/awesome/picom.conf @@ -182,11 +182,11 @@ opacity-rule = [ # Background-Blurring #
#################################
-# blur:
-# {
-# method = "dual_kawase";
-# strength = 0;
-# };
+blur:
+{
+ method = "dual_kawase";
+ strength = 4;
+};
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf index aef65cc..9593550 100644 --- a/kitty/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf @@ -944,8 +944,8 @@ inactive_tab_font_style normal #: The foreground and background colors # background_opacity 1.0 -# background_opacity 0.90 -background_opacity 1.00 +background_opacity 0.90 +# background_opacity 1.00 #: The opacity of the background. A number between 0 and 1, where 1 is #: opaque and 0 is fully transparent. This will only work if @@ -2044,3 +2044,9 @@ map opt+cmd+, debug_config # Catppuccin-Mocha include current-theme.conf # END_KITTY_THEME +# +# + +# My mappings +# map ctrl+a launch --cwd=/home/omar /home/omar/.scripts/tmux-sessionizer.sh +map ctrl+f send_text all ~/.scripts/tmux-sessionizer.sh\n diff --git a/nvim/.config/nvim/lua/plugins/neo-tree.lua b/nvim/.config/nvim/lua/plugins/neo-tree.lua index a43eb94..6d1a672 100644 --- a/nvim/.config/nvim/lua/plugins/neo-tree.lua +++ b/nvim/.config/nvim/lua/plugins/neo-tree.lua @@ -11,9 +11,9 @@ return { winbar = true, content_layout = "center", sources = { - { source = "filesystem", display_name = get_icon "FolderClosed" .. " File" }, - { source = "buffers", display_name = get_icon "DefaultFile" .. " Bufs" }, - { source = "git_status", display_name = get_icon "Git" .. " Git" }, + { source = "filesystem", display_name = get_icon "FolderClosed" .. " File" }, + { source = "buffers", display_name = get_icon "DefaultFile" .. " Bufs" }, + { source = "git_status", display_name = get_icon "Git" .. " Git" }, { source = "diagnostics", display_name = get_icon "Diagnostic" .. " Diagnostic" }, }, }, @@ -55,7 +55,7 @@ return { if node.type == "directory" or node:has_children() then if not node:is_expanded() then -- if unexpanded, expand state.commands.toggle_node(state) - else -- if expanded and has children, seleect the next child + else -- if expanded and has children, seleect the next child require("neo-tree.ui.renderer").focus_node(state, node:get_child_ids()[1]) end else -- if not a directory just open it @@ -83,9 +83,9 @@ return { for i, result in pairs(results) do if result.val and result.val ~= "" then vim.list_extend(messages, { - { ("%s."):format(i), "Identifier" }, + { ("%s."):format(i), "Identifier" }, { (" %s: "):format(result.msg) }, - { result.val, "String" }, + { result.val, "String" }, { "\n" }, }) end diff --git a/scripts/.scripts/tmux-sessionizer.sh b/scripts/.scripts/tmux-sessionizer.sh index 727735c..c536df7 100755 --- a/scripts/.scripts/tmux-sessionizer.sh +++ b/scripts/.scripts/tmux-sessionizer.sh @@ -3,23 +3,27 @@ if [[ $# -eq 1 ]]; then selected=$1 else - selected=$(find ~/test -mindepth 1 -maxdepth 2 -type d | fzf) + selected=$(find ~/programming -mindepth 1 -maxdepth 2 -type d | fzf) fi if [[ -z $selected ]]; then - exit 0 + exit 1 fi selected_name=$(basename "$selected" | tr . _) tmux_running=$(pgrep tmux) if [[ -z $TMUX ]] && [[ -z $tmux_running ]]; then - tmux new-session -s $selected_name -c $selected + tmux new-session -s $selected_name + tmux send-keys -t $selected_name "cd $selected" Enter + tmux send-keys -t $selected_name "clear" Enter exit 0 fi if ! tmux has-session -t=$selected_name 2> /dev/null; then - tmux new-session -ds $selected_name -c $selected + tmux new-session -ds $selected_name + tmux send-keys -t $selected_name "cd $selected" Enter + tmux send-keys -t $selected_name "clear" Enter fi tmux switch-client -t $selected_name |
