cem-utils

Random utilities
git clone git://git.ckyln.com/cem-utils.git
Log | Files | Refs | README

README (1469B)


      1 cem-utils
      2 =========
      3 
      4 These are some utilities that are not much
      5 use to anyone, but I use for my own. Most of
      6 them are just simpler re-implementations of 
      7 programs that are pretty unnecessary for most
      8 people. If i published them standalone, lots
      9 of people would get mad at me for just modifying
     10 some program that they like with really small
     11 changes.
     12 
     13 I really don't care about what you think about
     14 these. I just use them.
     15 
     16 Here are some explanations per utility. Right now
     17 there is only one but I will be publishing others.
     18 
     19 
     20 nap
     21 ---
     22 
     23 Literally Leah's zzz[1] with only suspend feature.
     24 It is compatible with zzz so it can read zzz.d
     25 Why don't I add hybernation stuff? Because my
     26 computer cannot hybernate.
     27 
     28 You see my point? I don't have a use for more 
     29 than half of the things zzz script does. So
     30 I deleted them.
     31 
     32 To install run, as root if necessary
     33 
     34     make -C nap install
     35 
     36 This will create the /etc/zzz.d directories and
     37 install nap
     38 
     39 
     40 nap-hooks
     41 ---------
     42 
     43 POSIX-compliant and simplified zzz-user-hooks[2]. 
     44 Does not support Wayland. Works with sbase-ubase.
     45 Is a shell script instead of a bash script. 32
     46 lines of shell code instead of 112.
     47 
     48 To install run, as root if necessary
     49 
     50     make -C nap-hooks install
     51 
     52 This will create /etc/zzz.d/resume/99-onresume and
     53 /etc/zzz.d/suspend/99-onsuspend
     54 
     55 You can add user hooks to ~/.onsuspend and
     56 ~/.onresume to get them working.
     57 
     58 [1]: http://git.vuxu.org/runit-void/tree/zzz
     59 [2]: https://github.com/bahamas10/zzz-user-hooks