GithubHelp home page GithubHelp logo

Change title with reg exp about arbtt HOT 3 OPEN

nomeata avatar nomeata commented on May 5, 2024
Change title with reg exp

from arbtt.

Comments (3)

nomeata avatar nomeata commented on May 5, 2024

Original comment by Leonid Bond (Bitbucket: LeonidMew, GitHub: LeonidMew).


I have read documentation, didn't found something about this

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by nomeata (Bitbucket: nomeata, GitHub: nomeata).


Something like this should work to get rid of the suffix:

current window $title =~ /(.*) - Mozilla Firefox/   ==> tag Web:$1,

There is no general support for search-and-replace in titles.

I am also not sure if it is useful to use the window title directly as a tag – there will be many! It might be better to match certain titles and then give custom, targetted tags. Like

current window $title =~ [ m!(?:~|home/jojo)/dokumente/Uni/DA!
                         , m!Diplomarbeit.pdf!
                         , m!LoopSubgroupPaper.pdf! ]
  ==> tag Project:DA,

from arbtt.

nomeata avatar nomeata commented on May 5, 2024

Original comment by Leonid Bond (Bitbucket: LeonidMew, GitHub: LeonidMew).


Thanks, removing suffix fine. Configuring each title as related to project tag removes the ability to get many things automatic. I will have many titles it total, but just a few for a project, when running stats for a specified time especialy, and firefox title explain what I do, search google for a specific problem, or testing a web project. Then I can remove a few lines not related to project, and have total stats.
Since I'm working on web projects, all them can include google title, and and few other title sites related to web development. So, there are no better way for web browser. Only one thing, I guess just now, if Eclipse opened with specified project, but not active window...

Thanks for the good software :)

from arbtt.

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.