diff options
| -rw-r--r-- | alacritty/.config/alacritty/alacritty.yml | 4 | ||||
| -rw-r--r-- | awesome/.config/awesome/picom.conf | 2 | ||||
| -rw-r--r-- | awesome/.config/awesome/rc.lua | 3 | ||||
| -rw-r--r-- | kitty/.config/kitty/current-theme.conf | 4 | ||||
| -rw-r--r-- | kitty/.config/kitty/kitty.conf.bak | 18 | ||||
| -rw-r--r-- | nvim/.config/nvim/lazy-lock.json | 2 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/config/keymaps.lua | 8 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/config/options.lua | 10 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/disabled.lua | 4 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/example.lua | 9 | ||||
| -rw-r--r-- | zsh/.zshrc | 1 |
11 files changed, 52 insertions, 13 deletions
diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 402df8b..803021f 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -144,7 +144,7 @@ font: style: Bold Italic # Point size - size: 13.0 + size: 11.0 # Offset is the extra space around each character. `offset.y` can be thought # of as modifying the line spacing, and `offset.x` as modifying the letter # spacing. @@ -170,7 +170,7 @@ font: colors: # Default colors primary: - background: '#0A0E14' + background: '#000000' foreground: '#B3B1AD' # Normal colors diff --git a/awesome/.config/awesome/picom.conf b/awesome/.config/awesome/picom.conf index 61ad968..e019e6a 100644 --- a/awesome/.config/awesome/picom.conf +++ b/awesome/.config/awesome/picom.conf @@ -199,7 +199,7 @@ blur: {
method = "dual_kawase";
strength = 4;
- for_window = ["class_g = 'Alacritty'"];
+ for_window = ["class_g = 'alacritty'"];
};
# Parameters for background blurring, see the *BLUR* section for more information.
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 6fbbd66..6c58bbc 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -337,6 +337,9 @@ globalkeys = my_table.join( awful.key({ altkey }, "p", function() awful.spawn("/home/omar/.scripts/power.sh") end, { description = "books", group = "hotkeys" }), + awful.key({ modkey }, "p", function() + awful.spawn("/home/omar/.scripts/execute_shell.sh") + end, { description = "execture arbitrary shell commands", group = "hotkeys" }), awful.key({ modkey }, "o", function() awful.util.spawn("rofi -show drun") end, { description = "rofi", group = "function keys" }), diff --git a/kitty/.config/kitty/current-theme.conf b/kitty/.config/kitty/current-theme.conf index 348ab67..713375e 100644 --- a/kitty/.config/kitty/current-theme.conf +++ b/kitty/.config/kitty/current-theme.conf @@ -10,7 +10,7 @@ # The basic colors foreground #CDD6F4 -background #101010 +background #000000 selection_foreground #1E1E2E selection_background #F5E0DC @@ -49,7 +49,7 @@ mark3_background #74C7EC # black color0 #000000 -color8 #1C1C1C +color8 #585B70 # red color1 #F38BA8 diff --git a/kitty/.config/kitty/kitty.conf.bak b/kitty/.config/kitty/kitty.conf.bak index 728d13c..80c9785 100644 --- a/kitty/.config/kitty/kitty.conf.bak +++ b/kitty/.config/kitty/kitty.conf.bak @@ -205,7 +205,7 @@ box_drawing_scale 0.001, 1, 1.5, 2 #: special keyword: background. Note that if cursor is set to none #: then this setting is ignored. -cursor_shape block +cursor_shape beam #: The cursor shape can be one of (block, beam, underline). Note that #: when reloading the config this will be changed only if the cursor @@ -943,9 +943,9 @@ inactive_tab_font_style normal #: The foreground and background colors -background_opacity 1.0 -# background_opacity 0.90 -# background_opacity 0.50 +# background_opacity 1.0 +background_opacity 0.50 +# 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 @@ -1228,7 +1228,7 @@ allow_hyperlinks yes #: </kittens/hints>. The special value of ``ask`` means that kitty #: will ask before opening the link when clicked. -shell_integration enabled +shell_integration no-cursor #: Enable shell integration on supported shells. This enables features #: such as jumping to previous prompts, browsing the output of the @@ -2041,6 +2041,12 @@ map opt+cmd+, debug_config # BEGIN_KITTY_THEME -# GitHub Dark +# Oceanic Material 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/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index c08e950..9c1dc1d 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -40,13 +40,13 @@ "nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" }, "nvim-spectre": { "branch": "master", "commit": "696cff781a4a7ecc91549736835e2acbd00fe859" }, "nvim-treesitter": { "branch": "master", "commit": "a8c14d68b024ffc20baec92d1acc91796bcfb485" }, - "nvim-treesitter-context": { "branch": "master", "commit": "2806d83e3965017382ce08792ee527e708fa1bd4" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "e69a504baf2951d52e1f1fbb05145d43f236cbf1" }, "nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" }, "nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" }, "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, + "rose-pine": { "branch": "main", "commit": "92762f4fa2144c05db760ea254f4c399a56a7ef5" }, "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, "telescope.nvim": { "branch": "master", "commit": "4522d7e3ea75ffddabdc39957168a8a7060b5df0" }, diff --git a/nvim/.config/nvim/lua/config/keymaps.lua b/nvim/.config/nvim/lua/config/keymaps.lua index c84bef7..9478c98 100644 --- a/nvim/.config/nvim/lua/config/keymaps.lua +++ b/nvim/.config/nvim/lua/config/keymaps.lua @@ -19,6 +19,8 @@ end map("v", "<S-j>", ":m '>+1<CR>gv=gv", { desc = "Move down" }) map("v", "<S-k>", ":m '<-2<CR>gv=gv", { desc = "Move up" }) +map("n", "<leader>t", ":lua require('dbgstmt').select()<CR>", { desc = "Move up" }) + -- fix annoying typs when saving or quitting vim.cmd([[ cnoreabbrev W! w! @@ -45,14 +47,18 @@ vim.cmd([[ map("n", "<leader>h", "<Cmd>noh<CR>", { desc = "remove highlights", remap = true }) map("n", "<leader>j", "/<()><CR>ciw<CR><C-o>O", { desc = "jump to <()>", remap = true }) -map("n", "<leader>c", "<Cmd>bd<CR>", { desc = "Close current buffer", remap = true }) +map("n", "<leader>C", "<Cmd>bd<CR>", { desc = "Close current buffer", remap = true }) map("n", "<leader>l", "", { desc = "unset lazy shortcut", remap = true }) map("n", "<leader>la", "<cmd>lua vim.lsp.buf.code_action()<CR>", { desc = "code actions", remap = true }) +map("n", "<leader>y", "<cmd>Telescop flutter commands<CR>", { desc = "Flutter commands", remap = true }) map("n", "gl", "<cmd>lua vim.diagnostic.open_float()<CR>", { desc = "Line diagnostics", remap = true }) +-- Better navigation map("n", "<C-d>", "<C-d>zz", { desc = "better half page down scroll", remap = true }) map("n", "<C-u>", "<C-u>zz", { desc = "better half page up scroll", remap = true }) map("n", "n", "nzz", { desc = "better jump for searched word", remap = true }) +map("n", "<C-o>", "<C-o>zz", { desc = "better next jump", remap = true }) +map("n", "<C-i>", "<C-i>zz", { desc = "better prev jump", remap = true }) -- competitest keymaps map("n", "<F2>", "<cmd> CompetiTest receive problem <CR>", { desc = "Receive test", remap = true }) diff --git a/nvim/.config/nvim/lua/config/options.lua b/nvim/.config/nvim/lua/config/options.lua index e78ac80..d1b395f 100644 --- a/nvim/.config/nvim/lua/config/options.lua +++ b/nvim/.config/nvim/lua/config/options.lua @@ -5,3 +5,13 @@ vim.opt.ch = 0 vim.opt.list = false vim.opt.confirm = false +vim.o.guifont = "Comic mono:h14" -- text below applies for VimScript + +-- Helper function for transparency formatting +local alpha = function() + return string.format("%x", math.floor(255 * vim.g.transparency or 0.8)) +end +-- g:neovide_transparency should be 0 if you want to unify transparency of content and title bar. +vim.g.neovide_transparency = 0.8 +vim.g.transparency = 0.8 +vim.g.neovide_background_color = "#0f1117" .. alpha() diff --git a/nvim/.config/nvim/lua/plugins/disabled.lua b/nvim/.config/nvim/lua/plugins/disabled.lua index 6eed0ab..9b3390c 100644 --- a/nvim/.config/nvim/lua/plugins/disabled.lua +++ b/nvim/.config/nvim/lua/plugins/disabled.lua @@ -8,6 +8,10 @@ return { enabled = false, }, { + "echasnovski/mini.ai", + enabled = false, + }, + { "nvim-treesitter/nvim-treesitter-context", enabled = false, }, diff --git a/nvim/.config/nvim/lua/plugins/example.lua b/nvim/.config/nvim/lua/plugins/example.lua index 81fc336..dd80f50 100644 --- a/nvim/.config/nvim/lua/plugins/example.lua +++ b/nvim/.config/nvim/lua/plugins/example.lua @@ -12,6 +12,12 @@ return { -- add gruvbox { "ellisonleao/gruvbox.nvim" }, + { 'rose-pine/neovim', name = 'rose-pine', + opts = { + disable_background = true + } + }, + { "catppuccin/nvim", name = "catppuccin", priority = 1000, opts = { flavour = "mocha", @@ -213,6 +219,9 @@ return { ensure_installed = { "bash", "html", + "rust", + "cpp", + "c", "javascript", "json", "lua", @@ -5,6 +5,7 @@ export PATH="$PATH:/usr/bin/docker:/usr/local/arm-cross-compiler/install/gcc-arm export PATH=$PATH:$ANDROID_HOME/emulator/ export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/platform-tools +export PATH="$PATH":"$HOME/.pub-cache/bin" # Starship prompt |
