vivien / i3blocks-contrib

Official repository for community contributed blocklets
https://github.com/vivien/i3blocks
Other
1.31k stars 487 forks source link

monitor_manager: how does this work? #318

Open Aster89 opened 4 years ago

Aster89 commented 4 years ago

Expected behavior

  1. A blocklet in the bar which somehow react to a click;
  2. Since the above is not there, I expected at least that something happened when running the script for command line

Actual behavior

  1. Nothing is shown in the bar
  2. When exectuting ./monitor_manager in the terminal I just get the fancy icon of a monitor (which I guess is the one which should show in the bar), but GUI opens like monitor_manager.png.

i3blocks config relevant to blocklet(s)

I'm using the default one from the README.md:

[monitors]
command=$SCRIPT_DIR/monitor_manager
interval=once
#SHOW_ON_OFF=1
#SHOW_NAMES=1
#SHOW_PRIMARY=1
#SHOW_MODE=1
#SHOW_BLANKED=1
#SHOW_DUPLICATE=1
#SHOW_ROTATION=1
#SHOW_REFLECTION=1
#SHOW_BRIGHTNESS=1
#SHOW_BRIGHTNESS_VALUE=0
#SHOW_UP_DOWN=1
#FONT_FAMILY=DejaVu Sans Mono
#FONT_SIZE=11
#CLOSE_TO_BOUNDARY_BUFFER=20

Output of blocklet(s) when run from command line

The monitor icon: . When I press ga on it in Vim to see what is the character, I obtain

<> 61704, Hex f108, Octal 170410
r3v1 commented 2 years ago

Are you in Arch Linux? If so, install ttf-font-awesome-4 from the AUR