Skip to content
Snippets Groups Projects
  1. May 20, 2021
  2. May 07, 2021
  3. Apr 27, 2021
    • Sören Tempel's avatar
    • Sören Tempel's avatar
      client: make sure the monitor index defaults to -1 · 934aa6fb
      Sören Tempel authored
      This ensures that the menu spawns on the current monitor by default when
      using X11 or on all monitors when using Wayland.
      934aa6fb
    • Sören Tempel's avatar
      x11: Align -m argument interpretation with dmenu · 2e922503
      Sören Tempel authored
      With dmenu, monitor indices start at 0 and a value of -1 (the default)
      is used to spawn dmenu on the current monitor. While bemenu strives to
      be compatible with dmenu, bemenu monitor indices previously started at 1
      and a value of 0 (the default) was used to spawn on the current monitor.
      
      This commit aligns the behaviour of bemenu's x11 backend with dmenu. For
      this purposes, the affected code in the x11 backend is synced with the
      current dmenu implementation. While doing so the monitor type has also
      been switched from a uint32_t to a int32_t.
      2e922503
  4. Apr 26, 2021
  5. Apr 04, 2021
    • Sören Tempel's avatar
      client: improve stripping of getline(3) newline · 1475c3ce
      Sören Tempel authored
      The previous version of this code operated under the assumption that
      getline(3) lines are always \n\0 terminated. Unfortunately, this is not
      the case as readline will return input which is not terminated with a
      newline character if EOF is reached before encountering this newline. In
      these cases, the code would falsely strip the last character. As an
      example, consider the following bemenu invocation:
      
      	printf foo | ./bemenu
      
      This would start bemenu with `fo` instead of `foo` as a menu item. This
      commit fixes this edge case and also hardens the loop body a bit by only
      entering it if getline wrote more than zero characters to the buffer.
      1475c3ce
    • Sören Tempel's avatar
      client: use getline(3) · 38395e92
      Sören Tempel authored
      Not sure why the code didn't use this function previously, but
      getline(3) is mandatory since POSIX.1-2008 and should thus be supported
      by all maintstream operating systems. The proposed changes make the code
      easier to read and should also make it more efficient memory-wise as it
      does not necessarily cause the entire input to be copied into memory at
      once.
      38395e92
  6. Apr 01, 2021
    • Stephen Gregoratto's avatar
      Rewrite manpage · 92bc5329
      Stephen Gregoratto authored
      - Much of the existing text was reworded for better understandability.
      - The new manpage uses mdoc(7) for better formatting.
        Because of this, we can merge bemenu and bemenu-run into a single
        file.
      92bc5329
  7. Mar 29, 2021
  8. Feb 05, 2021
  9. Dec 13, 2020
  10. Nov 15, 2020
  11. Oct 17, 2020
  12. Oct 10, 2020
  13. Aug 28, 2020
  14. Aug 23, 2020
  15. Jun 28, 2020
  16. Jun 15, 2020
    • Daniel Lublin's avatar
      Add --scrollbar none · 53876777
      Daniel Lublin authored
      Useful in aliases or scripts to override a previously enabled scrollbar
      on the commandline.
      
      Also correct documentation of bm_scrollbar_mode.
      53876777
  17. May 08, 2020
  18. May 07, 2020
  19. Apr 19, 2020
  20. Apr 13, 2020
  21. Mar 25, 2020
  22. Mar 19, 2020
Loading