Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:38

    patrick96 on 3.5.5

    (compare)

  • Jan 15 19:34

    patrick96 on master

    fix(xworkspaces): Handle -1 val… (compare)

  • Jan 15 15:17

    patrick96 on master

    Remove polybar spec file Polyb… (compare)

  • Jan 07 19:48

    patrick96 on master

    doc: Exclude .buildinfo file fr… sphinx: Turn on nit-picky mode Install changelog file as part … and 1 more (compare)

  • Jan 07 13:52

    patrick96 on master

    Update PKGBUILD for 3.5.4 (#234… (compare)

  • Jan 07 12:54

    patrick96 on 3.5.4

    (compare)

  • Jan 07 12:54

    patrick96 on master

    Remove tag compaction "optimiza… Release 3.5.4 Merge branch 'hotfix/3.5.4' (compare)

  • Jan 07 12:53

    patrick96 on 3.5.4

    (compare)

  • Jan 07 12:44

    patrick96 on 3.5.4

    Release 3.5.4 (compare)

  • Jan 04 09:38

    patrick96 on master

    Add compiler warning for missin… (compare)

  • Jan 04 09:25

    patrick96 on master

    module: Implement action router… (compare)

  • Jan 04 09:17

    patrick96 on master

    Add support for %nwin% in xwork… (compare)

  • Jan 03 10:48

    patrick96 on master

    feat(net): interface discovery … (compare)

  • Jan 03 01:43

    patrick96 on master

    Add config option for visiblity… (compare)

  • Dec 31 2020 14:49

    patrick96 on master

    feat(xworkspaces): Persistent u… (compare)

  • Dec 31 2020 11:51

    patrick96 on master

    Cleanup Getting Started Section… (compare)

  • Dec 29 2020 16:40

    patrick96 on master

    Update googletest (#2338) This… (compare)

  • Dec 27 2020 15:05

    patrick96 on master

    feat: Module Visibility (#2320)… (compare)

  • Dec 24 2020 23:33

    patrick96 on 3.5.4

    Remove tag compaction "optimiza… (compare)

  • Dec 24 2020 22:55

    patrick96 on 3.5.4

    (compare)

Yash Burshe
@sunbect
i needed some help with the width of the polybar. I want to align it to my i3 gaps (inner 10) but whenever i change the width, the bar isnt centered and decreases the width from the right side
Patrick Ziegler
@patrick96
@sunbect i3 doesn't really support non-full-width bars. The workaround is setting override-redirect = true in the bar section, but that comes with its own issues
antikythera
@leibniz:matrix.org
[m]
Is it possible to make xwindow module to "stretch" as long as it needs without moving other modules to the right or left?
If I set a hard max limit, some titles are truncated but usually there is enough space for xwindow to fill.
I want it to only truncate when there is no enough space without resorting to moving other modules to right
Patrick Ziegler
@patrick96
@leibniz:matrix.org That's not possible
antikythera
@leibniz:matrix.org
[m]
@patrick96: Thanks. Do you know what "utility" polybar's network module use for bandwidth Tx/Rx? I want to write a script for it
Patrick Ziegler
@patrick96
@leibniz:matrix.org No utility, we directly read the total number of bytes transmitted from getifaddrs and then calculate the current transfer speeds.
Filip Banák
@Filip62_gitlab
@patrick96 Do you care about specific branch names and specific git log looks or I can do whatever I want?
Patrick Ziegler
@patrick96
@Filip62_gitlab We don't care about the branch name, it won't appear anywhere after we merge. The log message is also mostly up to you, but have a look at previous commits for inspiration and the standard ones: First line not longer than 50 characters, second line empty, after that not more than 72 characters per line. And of course it has to be informative ;)
Filip Banák
@Filip62_gitlab
Sure
Johnathan D.
@bjohnnyd
I am just getting familiar with polybar and am having an issue where my $PATH is not being properly loaded somewhere upon startup. my default shell is /usr/bin/zsh and I tried changing the launch script to which sh but to no avail. In the polybar config I still have to pass the full path to my polybar scripts but a normal shell is picking up all my scripts not sure it is related but it is slightly similar to #323
Patrick Ziegler
@patrick96
@bjohnnyd Polybar will use the PATH that was present in the shell (or whatever program) that started it. So if the PATH isn't correct wherever you start polybar, it won't be in polybar either. Where are you starting polybar?
Johnathan D.
@bjohnnyd
@patrick96 thanks for answering. I got a launch script and am running it inside my i3 config using exec_always, essentially the same as in the docs. I update the path in my .zshrc to include the scripts. If I add echo $PATH in the launch script the path to the scripts is there included
Filip Banák
@Filip62_gitlab
Where do you spawn polybar
like polybar myawesomebar
@bjohnnyd
Johnathan D.
@bjohnnyd
@Filip62_gitlab in the launch.sh
polybar -r example &
if I echo PATH there the path to the scripts is included
I also tried using SHELL=$(which sh) polybar -r example &
Patrick Ziegler
@patrick96
@bjohnnyd If you add echo $PATH to launch.sh and that launch script executes as part of the i3 startup (not you running manually from the terminal), then it prints the correct path to a log file?
Johnathan D.
@bjohnnyd
hmmm actually you are right I am testing it incorrectly let write to log file
one sec
Patrick Ziegler
@patrick96
If you run it from the terminal it will of course write the correct path you have set in the terminal. But i3 most likely doesn't have the correct path yet when it starts
Johnathan D.
@bjohnnyd
yup the path is not correct
@patrick96
Filip Banák
@Filip62_gitlab
Well, do you start i3 in .xinitrc?
Johnathan D.
@bjohnnyd
no I do not
sorry just got started with it
Filip Banák
@Filip62_gitlab
Not a problem
Johnathan D.
@bjohnnyd
and writing my first hook
so is the recommended way to start in .xinitrc?
Filip Banák
@Filip62_gitlab
Setting the path in .profile should work
I think, worth a try.
Or in launch.sh for that matter should also work
Somewhere before polybar spawns.
Johnathan D.
@bjohnnyd
@Filip62_gitlab ok added a if ZSH_VERSION in the .profile and if .zshrc exists than source it and it works perfectly. Thank @patrick96 and @Filip62_gitlab , appreciate the help
Filip Banák
@Filip62_gitlab
I do not know anything about i3 or zsh, but if the launch.sh script is ran with zsh and if .zshrc is automatically sourced even when zsh is in noninteractive mode, and you have proper $PATH set in .zshrc, it should work.
Maybe there is a specific zsh file that gets sourced when the shell is not interactive but that you need to figure out on your own @bjohnnyd
Patrick Ziegler
@patrick96
@Filip62_gitlab I don't think that's right .zshrc is only sourced in interactive shells: http://zsh.sourceforge.net/Intro/intro_3.html
I think the proper place to put your path exports are in .zprofile or .profile
Filip Banák
@Filip62_gitlab
Well I didn't say that
antikythera
@leibniz:matrix.org
[m]
Is it possible to execute custom command on-click on default modules and have them change their text?
Like date-alt="echo hi"...or clicking on network module shows public IP instead of local one
antikythera
@leibniz:matrix.org
[m]
Is it possible to toggle the visibility of network module bandwith by clicking on it?
Patrick Ziegler
@patrick96
@Filip62_gitlab Oh you're right. I misread that, sorry
@leibniz:matrix.org No and no. At least not for built-in modules.
Filip Banák
@Filip62_gitlab
Don't worry.
antikythera
@leibniz:matrix.org
[m]
@patrick96: can the command in IPC module be continuous? Like a self-updating string showing bandwidth Tx/Rx
Patrick Ziegler
@patrick96
@leibniz:matrix.org No. Only the script module can do that. The IPC module waits for the program to finish