cem-utils

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

README.md (2569B)


      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 this is not a big repository, but I will be
     18 publishing other utilities, once I sort everything
     19 out.
     20 
     21 Not all of my utilities are here at the moment. Some
     22 are on my main computer that I cannot reach at the
     23 moment. Some live on my dotfiles (I will be updating
     24 my dotfiles for Carbs Linux someday I promise). I will
     25 also be merging my useless utilities that are currently 
     26 on individual repositories here.
     27 
     28 Below are explanations per utility and here is the
     29 small list of programs:
     30 
     31 
     32 * nap
     33 * nap-hooks
     34 * dwm-notify-send
     35 
     36 
     37 nap
     38 ---
     39 
     40 Literally Leah's [zzz] with only suspend feature.
     41 It is compatible with zzz so it can read zzz.d
     42 Why don't I add hybernation stuff? Because my
     43 computer cannot hybernate.
     44 
     45 [zzz]: http://git.vuxu.org/runit-void/tree/zzz
     46 
     47 You see my point? I don't have a use for more 
     48 than half of the things zzz script does. So
     49 I deleted them.
     50 
     51 To install run, as root if necessary
     52 
     53     make -C nap install
     54 
     55 This will create the /etc/zzz.d directories and
     56 install nap
     57 
     58 
     59 nap-hooks
     60 ---------
     61 
     62 POSIX-compliant and simplified [zzz-user-hooks]. 
     63 Does not support Wayland. Works with sbase-ubase.
     64 Is a shell script instead of a bash script. 32
     65 lines of shell code instead of 112.
     66 
     67 [zzz-user-hooks]: https://github.com/bahamas10/zzz-user-hooks
     68 
     69 To install run, as root if necessary
     70 
     71     make -C nap-hooks install
     72 
     73 This will create /etc/zzz.d/resume/99-onresume and
     74 /etc/zzz.d/suspend/99-onsuspend
     75 
     76 You can add user hooks to ~/.onsuspend and
     77 ~/.onresume to get them working.
     78 
     79 
     80 dwm-notify-send
     81 ---------------
     82 
     83 A simple notify-send command to use dwm's bar for
     84 displaying notification. It must work with every bar
     85 that uses the WMNAME function, but I have only tested
     86 it on dwm bar.
     87 
     88 The delimiter ('-' by default) can be edited from the
     89 `NOTIFY_SEND_DELIMETER` environment variable. This way
     90 you can also make use of the second bar, if it exists.
     91 
     92 **Dependencies**
     93 
     94 * A bar with WMNAME function.
     95 * xsetroot
     96 * getopt
     97 * timeout
     98 * POSIX sh
     99 
    100 To install run, as root if necessary
    101 
    102     make -C dwm-notify-send install
    103 
    104 This will install `notify-send` and `kill-notification`
    105 to `/usr/local/bin`