Opened 2 years ago
Last modified 2 years ago
#65825 new enhancement
Add i3status Portfile
Reported by: | jenstroeger (Jens Troeger) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | i3 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Following up on ticket:65811, and in particular this comment: the i3wm
window manager (i3 port) uses i3status by default to render data into its toolbar (managed by the i3bar
tool). That i3status
currently has no port.
I’m actually tempted to add i3status
to the i3wm
port because of their close dependency, instead of adding a new port. That would make testing and installing easier—running i3wm
would work out of the box without needing another port.
Thought?
Change History (5)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 2 years ago by jenstroeger (Jens Troeger)
I built i3status
independently of the i3wm
and it can be run standalone (which won’t do anything useful). So I guess it’s a separate Portfile then?
I’ve not written a Portfile before, is this the right place to start? Do you have other recommendations, references that help me get going?
comment:3 follow-up: 4 Changed 2 years ago by Nosp1 (Trym Staurheim)
Replying to jenstroeger:
I built
i3status
independently of thei3wm
and it can be run standalone (which won’t do anything useful). So I guess it’s a separate Portfile then?I’ve not written a Portfile before, is this the right place to start? Do you have other recommendations, references that help me get going?
Hi, I see you have built i3status. Have you ever made i3wm work on mac? Ive managed to install the port but i3 cant find any display.
comment:4 follow-up: 5 Changed 2 years ago by jenstroeger (Jens Troeger)
Replying to Nosp1:
Hi, I see you have built i3status. Have you ever made i3wm work on mac? Ive managed to install the port but i3 cant find any display.
Correct, I built i3status
outside of MacPorts (I need/should create a Portfile!) and I built i3wm
using MacPorts, and urxvt as well. I then created a file ~/.xinitrc.d/i3-startup.sh
which contains
#!/bin/sh cd $HOME export LANG="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export XDG_CONFIG_HOME=$HOME/.config # start the urxvt daemon first /opt/local/bin/urxvtd -q -f -o & # and run i3 exec /opt/local/bin/i3
Then, run XQuartz which should use i3wm
as its window manager.
comment:5 Changed 2 years ago by Nosp1 (Trym Staurheim)
Replying to jenstroeger:
Replying to Nosp1:
Hi, I see you have built i3status. Have you ever made i3wm work on mac? Ive managed to install the port but i3 cant find any display.
Correct, I built
i3status
outside of MacPorts (I need/should create a Portfile!) and I builti3wm
using MacPorts, and urxvt as well. I then created a file~/.xinitrc.d/i3-startup.sh
which contains#!/bin/sh cd $HOME export LANG="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export XDG_CONFIG_HOME=$HOME/.config # start the urxvt daemon first /opt/local/bin/urxvtd -q -f -o & # and run i3 exec /opt/local/bin/i3Then, run XQuartz which should use
i3wm
as its window manager.
The easiest course of action depends on how i3status is intended to be built. If it is intended to be built by integrating its source code into the i3wm source code, and then building i3wm causes i3status to be built, then yes, adding i3status to the i3wm port may be the thing to do. If, on the other hand, i3status is, like most software, separately buildable and installable, then a separate portfile is most likely the thing to do.