Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

New Formula: 2bwm version 2013-12 - x11 window manager #19466

Closed
wants to merge 1 commit into from

2 participants

@flazz

2bwm x11 window manager

only dep is x11

patch:

  • sets modkey to option for apple kbs
  • sets terminal to urxvt
@flazz flazz 2bwm: 2013-12 - x11 window manager
2bwm x11 window manager

only dep is x11

patch:
- sets modkey to option for apple kbs
- sets terminal to urxvt
c550130
@adamv

Does this project use git tags for versions? It would be better to have tagged tarballs instead of arbitrary commits.

@adamv
Owner

Passing for inclusion in core since upstream doesn't have a tagged stable release. If you ask upstream for one and they provide one, we can review again.

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 27, 2013
  1. @flazz

    2bwm: 2013-12 - x11 window manager

    flazz authored
    2bwm x11 window manager
    
    only dep is x11
    
    patch:
    - sets modkey to option for apple kbs
    - sets terminal to urxvt
This page is out of date. Refresh to see the latest.
Showing with 40 additions and 0 deletions.
  1. +40 −0 Library/Formula/two-b-wm.rb
View
40 Library/Formula/two-b-wm.rb
@@ -0,0 +1,40 @@
+require 'formula'
+
+class TwoBWm < Formula
+ homepage 'https://github.com/venam/2bwm'
+ version '2013-3'
+ depends_on :x11
+ url('https://github.com/venam/2bwm.git',
+ :using => :git,
+ :revision => '7cf7c48919afe5479a95be5355a29aee951ae4a4')
+
+ def install
+ system "make"
+ bin.install '2bwm', 'hidden'
+ man1.install '2bwm.man' => '2bwm.1', 'hidden.man' => 'hidden.1'
+ end
+
+ def patches
+ # sets the modkey to 'option', better for apple keyboards
+ # sets the terminal to urxvt
+ DATA
+ end
+
+ def caveats; <<-EOS.undent
+ MODKEY is 'option'
+ EOS
+ end
+
+end
+
+__END__
+diff --git a/config.h b/config.h
+index 758105e..776b18c 100644
+--- a/config.h
++++ b/config.h
+@@ -3 +3 @@
+-#define MOD XCB_MOD_MASK_4 /* Super/Windows key or check xmodmap(1) with -pm*/
++#define MOD XCB_MOD_MASK_1 /* Super/Windows key or check xmodmap(1) with -pm*/
+@@ -30 +30 @@ static const char *menucmd[] = { "/bin/my_menu.sh", NULL };
+-static const char *terminal[] = { "urxvtc", NULL };
++static const char *terminal[] = { "urxvt", NULL };
Something went wrong with that request. Please try again.