Code Monkey home page Code Monkey logo

i3-renameworkspaces's People

Contributors

mh21 avatar noodlor avatar orel1 avatar yanbec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

i3-renameworkspaces's Issues

Add to Readme

Hi thanks for the script, but I had some issues with getting it to work.
You might want to consider to add some info into the Readme:

  1. Dependency of liblinux-inotify2-perl which is availabe on Debian via sudo apt install liblinux-inotify2-perl
  2. Configuration Keys are case sensitive.
  3. Configuration Values support Fontawesome chars and styling as in the docu: e.g.:
    "Terminal ๏„ "
  4. When using the switch-to-workspace feature, consider this:

I used to bind the name of the workspace this way:

set $workspace1 "1: Terminal"
...
assign [class="URxvt"] $workspace1
...
bindsym $mod+1 workspace $workspace1

This needs to be changed to:

set $workspace1 "1"
...
assign [class="URxvt"] number $workspace1
..
bindsym $mod+1 workspace number $workspace1

Note the additional number in the command

I can't get the instances to work

I have this config
{
"classes": {
"chromium": "www",
"xfce4-terminal": "term",
"gnome-terminal": "term",
"sublime_text": "subl",
"okular": "pdf",
"google-chrome": "www",
"firefox": "www"
},
"instances": {
"mail.google.com": "gmail"
}
}
with this xprop WM_CLASS(STRING) = "mail.google.com", "Chromium"
but the instance of mail.google.com always shows "www" instead of gmail,
I'm doing it wrong?
Thanks
edit: mail.com.google runs through a bash script to make it "web app"

Space gets displayed incorrectly

When I was using this project with the Iconic Fonts (Font Awesome 5), I had the space-char rendered incorrectly looking like this.
image

Apparently, this is related to Pango as mentioned here, but the fix somehow did not work.
Anachron/i3blocks#53

However, using a workaround of having a transparent space (or any other char), has the same effect.
I changed https://github.com/mh21/i3-renameworkspaces/blob/master/i3-renameworkspaces.pl#L64
from
$newname = join(': ', $num, join(' ', @{$$ws{'windows'}}) || ());
to
$newname = join(': ', $num, join('<span foreground=\'#00000001\'> <span>', @{$$ws{'windows'}}) || ());

Please consider adding a comment above this line which mentions this issue/workaround.

Also, a note in the readme file referring to the PangoMarkupFormat which is available, would be helpful.

Use of uninitialized value in lc ...i3-renameworkspaces.pl line 51.

Hi,
thanks for the script, it makes i3 bar a whole lot more sense. A tiny problem is that it keeps pumping into the logs the error message:
Use of uninitialized value in lc at /home/..[path]../i3-renameworkspaces/i3-renameworkspaces.pl line 51.
(Using perl 5.30.3)
Can this be fixed? (unfortunately, I have no idea about perl).

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.