GithubHelp home page GithubHelp logo

Feature Request: Dark Theme about termshark HOT 5 CLOSED

gcla avatar gcla commented on May 27, 2024 12
Feature Request: Dark Theme

from termshark.

Comments (5)

gcla avatar gcla commented on May 27, 2024 4

Great idea, I'll do it :-)

from termshark.

gcla avatar gcla commented on May 27, 2024 2

Hi - I've pushed a new branch called "darkmode". Would you be willing to give it a try? You should be able to compile it up like this:

git clone https://github.com/gcla/termshark
cd termshark
git checkout origin/darkmode
export GO111MODULE=on
go install -ldflags="-X github.com/gcla/termshark.Version=1.0.0+" ./...

Then termshark will be in ~/go/bin/.

You can run it like this:

termshark ... --dark-mode

Or set it permanently in the "main" section of XDG_CONFIG_HOME/termshark.toml:

[main]
  dark-mode = true

You can also toggle it in the running application itself via the menu button.

I hope it looks okay when the terminal supports >= 256 colors (e.g. TERM=xterm-256color) or just 8 colors (e.g. TERM=xterm). Let me know how it looks, what UI elements you'd like altered, etc :-)

from termshark.

pocc avatar pocc commented on May 27, 2024 1

Verified working, Macos 10.14 via both command flag and menu item.

Screen Shot 2019-06-07 at 1 11 02 PM

from termshark.

kutsan avatar kutsan commented on May 27, 2024

I think dark theme should be default IMO.

from termshark.

gcla avatar gcla commented on May 27, 2024

Hi @kutsan - I merged this back to master, and made the in-app toggle (via menu->d) persist the setting to the config file. So making dark-mode the persistent default can be done quickly without editing a config file.

from termshark.

Related Issues (20)

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.