Browse Source

feat: improve look of tmux status bar

master
Tovi Jaeschke-Rogers 8 months ago
parent
commit
d84ed63447
5 changed files with 16 additions and 56 deletions
  1. +4
    -4
      .config/alacritty/alacritty.toml
  2. +1
    -0
      .config/aliasrc
  3. +4
    -4
      .config/nvim/lua/tovi/plugins/harpoon.lua
  4. +3
    -48
      .config/nvim/lua/tovi/plugins/lualine.lua
  5. +4
    -0
      .tmux.conf

+ 4
- 4
.config/alacritty/alacritty.toml View File

@ -4,19 +4,19 @@
size = 11
[font.bold]
family = "Liberation Mono"
family = "Inconsolata"
style = "Bold"
[font.bold_italic]
family = "Liberation Mono"
family = "Inconsolata"
style = "Bold Italic"
[font.italic]
family = "Liberation Mono"
family = "Inconsolata"
style = "Italic"
[font.normal]
family = "Liberation Mono"
family = "Inconsolata"
style = "Regular"
[[keyboard.bindings]]


+ 1
- 0
.config/aliasrc View File

@ -46,6 +46,7 @@ alias \
paratest="docker compose exec fpm ./test" \
jsonlint="python -m json.tool" \
ts="~/.local/bin/tmux-sessionizer" \
tmux="tmux attach-session || tmux" \
fresh="docker compose exec fpm php artisan migrate:fresh --seed" \
shrug="echo '¯\\_(ツ)_/¯' | xclip -selection clipboard && echo 'Copied ASCII shrug to clipboard'" \
dab="cat ~/Documents/dab.txt | xclip -selection clipboard && echo 'Copied ASCII dab to clipboard'"


+ 4
- 4
.config/nvim/lua/tovi/plugins/harpoon.lua View File

@ -22,19 +22,19 @@ return {
harpoon.ui:toggle_quick_menu(harpoon:list())
end, { desc = "Toggle quick menu for harpoon" })
keymap.set("n", "<C-S-h>", function()
keymap.set("n", "<C-x>", function()
harpoon:list():select(1)
end, { desc = "Go to first harpoon file" })
keymap.set("n", "<C-S-j>", function()
keymap.set("n", "<C-c>", function()
harpoon:list():select(2)
end, { desc = "Go to second harpoon file" })
keymap.set("n", "<C-S-k>", function()
keymap.set("n", "<C-v>", function()
harpoon:list():select(3)
end, { desc = "Go to third harpoon file" })
keymap.set("n", "<C-S-l>", function()
keymap.set("n", "<C-b>", function()
harpoon:list():select(4)
end, { desc = "Go to fourth harpoon file" })
end,


+ 3
- 48
.config/nvim/lua/tovi/plugins/lualine.lua View File

@ -5,56 +5,11 @@ return {
local lualine = require("lualine")
local lazy_status = require("lazy.status")
-- local colors = {
-- blue = "#65D1FF",
-- green = "#3EFFDC",
-- violet = "#FF61EF",
-- yellow = "#FFDA7B",
-- red = "#FF4A4A",
-- fg = "#c3ccdc",
-- bg = "#112638",
-- inactive_bg = "#2c3043",
-- }
--
-- local my_lualine_theme = {
-- normal = {
-- a = { bg = colors.blue, fg = colors.bg, gui = "bold" },
-- b = { bg = colors.bg, fg = colors.fg },
-- c = { bg = colors.bg, fg = colors.fg },
-- },
-- insert = {
-- a = { bg = colors.green, fg = colors.bg, gui = "bold" },
-- b = { bg = colors.bg, fg = colors.fg },
-- c = { bg = colors.bg, fg = colors.fg },
-- },
-- visual = {
-- a = { bg = colors.violet, fg = colors.bg, gui = "bold" },
-- b = { bg = colors.bg, fg = colors.fg },
-- c = { bg = colors.bg, fg = colors.fg },
-- },
-- command = {
-- a = { bg = colors.yellow, fg = colors.bg, gui = "bold" },
-- b = { bg = colors.bg, fg = colors.fg },
-- c = { bg = colors.bg, fg = colors.fg },
-- },
-- replace = {
-- a = { bg = colors.red, fg = colors.bg, gui = "bold" },
-- b = { bg = colors.bg, fg = colors.fg },
-- c = { bg = colors.bg, fg = colors.fg },
-- },
-- inactive = {
-- a = { bg = colors.inactive_bg, fg = colors.semilightgray, gui = "bold" },
-- b = { bg = colors.inactive_bg, fg = colors.semilightgray },
-- c = { bg = colors.inactive_bg, fg = colors.semilightgray },
-- },
-- }
--
-- configure lualine with modified theme
lualine.setup({
options = {
theme = 'eldritch',
section_separators = { left = "", right = "" },
component_separators = { left = "|", right = "|" },
theme = 'catppuccin',
component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' },
},
sections = {
lualine_b = {


+ 4
- 0
.tmux.conf View File

@ -68,5 +68,9 @@ set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'mocha' # or frappe, macchiato, mocha
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_window_middle_separator " "
set -g @catppuccin_status_modules_right "application session directory date_time"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Loading…
Cancel
Save