Giter Site home page Giter Site logo

wezterm-bar's Introduction

wezterm.bar

A WezTerm plugin that makes your retro bar look nice.

local wezterm = require("wezterm")
local c = wezterm.config_builder()

-- build your config according to
-- https://wezfurlong.org/wezterm/config/lua/wezterm/config_builder.html

-- the plugin is currently made for Catppuccin only
c.color_scheme = "Catppuccin Mocha"

-- then finally apply the plugin
-- these are currently the defaults:
wezterm.plugin.require("https://github.com/nekowinston/wezterm-bar").apply_to_config(c, {
  position = "bottom",
  max_width = 32,
  dividers = "slant_right", -- or "slant_left", "arrows", "rounded", false
  indicator = {
    leader = {
      enabled = true,
      off = "",
      on = "",
    },
    mode = {
      enabled = true,
      names = {
        resize_mode = "RESIZE",
        copy_mode = "VISUAL",
        search_mode = "SEARCH",
      },
    },
  },
  tabs = {
    numerals = "arabic", -- or "roman"
    pane_count = "superscript", -- or "subscript", false
    brackets = {
      active = { "", ":" },
      inactive = { "", ":" },
    },
  },
  clock = { -- note that this overrides the whole set_right_status
    enabled = true,
    format = "%H:%M", -- use https://wezfurlong.org/wezterm/config/lua/wezterm.time/Time/format.html
  },
})

return c

wezterm-bar's People

Contributors

nekowinston avatar

Stargazers

Attila Gonda avatar Marcos Romero Lamas avatar  avatar Wilson Muñoz avatar Rick Blommers avatar Simo Zhang avatar Grimm avatar Drew Flower avatar aleks avatar Tau Gärtli avatar Will Adams avatar Dennis Smith avatar Burak Sırma avatar Fedi Jamoussi avatar Zach Orlovsky avatar Soumik avatar Devin Oulighan avatar Vera Rei avatar Arthur Zapparoli avatar J.Hale avatar Ilias Dougias avatar Kanit Sharma avatar Guilherme J. Tramontina avatar faiz ahnaf avatar clown avatar eternal avatar aemogie. avatar Eduardo Rabelo avatar Ren avatar Jukka Alavesa avatar Niels Mentink avatar Evangelos Lioudakis avatar  avatar Himanshu avatar Hammy avatar

Watchers

Dmitry Atamanov avatar  avatar

wezterm-bar's Issues

Make tabs pick custom name if they have been renamed

I added a keybind to rename active tab title as described in here and am trying to make the plugin pick the custom renamed title.

Then, made a change in the format-tab-title event handler to get the custom title using tab:get_title() instead of tab.active_pane.title. I am getting this unexpected output.

lmk if you have inputs on what I might be doing wrong. Thanks!

After change: ("nani" was set using the keybind that uses tab:set_title(line))
image

Original:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.