dimsumlabs / dsl-wall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dsl-wall is an IRC client setup which auto starts on a Raspberry Pi Zero. On certain user actions, hooks are executed. They trigger devices in the space, such as the lights or a printer.

See also our wiki entry about IRC.

Setup

  1. Make sure that Smuxi, X, and Ratpoison are installed.

  2. Enable auto login on the Rasperry Pi.

  3. Install the Adwaita-dark theme into:

    ~/.themes/Adwaita-dark
    
  4. Clone to: ~/dsl-wall

  5. Link configuration:

    ln -s ~/dsl-wall/.bash_profile ~
    ln -s ~/dsl-wall/.gtkrc-2.0 ~
    ln -s ~/dsl-wall/.xsession ~
    ln -s ~/dsl-wall/smuxi_config ~/.config/smuxi
    ln -s ~/dsl-wall/smuxi_hooks/* \
        ~/.local/share/smuxi/hooks/engine/protocol-manager
    
  6. Install lprng:

    sudo apt install lprng
    

    And create /etc/printcap for our printer:

    lq590|localprinter:\
    :lp=/dev/usb/lp0:\
    :sd=/var/spool/lpd/lq590:\
    :mx#0:\
    :sh:
    

    Followed by:

    sudo service lprng restart
    

DND

The idea of DND, the do-not-disturb mode, is to turn off the blinking for a while. It needs to be activated from the command line from the directory smuxi_scripting_fun.

About

License:MIT License


Languages

Language:Python 73.2%Language:Shell 22.4%Language:Makefile 4.3%