Code Monkey home page Code Monkey logo

unagi's Introduction

Please refer to INSTALL file concerning installation instructions.

At the  moment, only Awesome  Window Manager has been  heavily tested,
but it should work properly with any Window Manager following EWMH and
ICCCM specifications.

Once you have  built the program, you can run it  by simply typing the
following command:

$ unagi

It  will look  for a  configuration file  in `$sysconfigdir/xdg/'  (by
default `/usr/local/etc/xdg/'), then fallback on XDG Base Directories,
namely   `$HOME/.config/'  then   `/etc/xdg/',  if   `XDG_CONFIG_DIRS'
environment  variable  is  not  defined (as  specified  in  `XDG  Base
Directory Specification').   You can also specified  the configuration
file by passing `-c' option.

You may  find the program  documentation in doc/ directory  in various
format (HTML, LaTeX and man pages).

You  can  also  run  it  without installing  anything  by  typing  the
following command from the source directory:

$ ./src/unagi  -r rendering/.libs/ -p plugins/.libs/ -c unagi.conf

Awesome configuration for windows opacity
=========================================

The following  sets opacity to 0.8  for URxvt (you can  use `xprop' to
find out what is the class (WM_CLASS property)):

awful.rules.rules = {
    ...
    { rule = { class = "URxvt" },
      properties = { opacity = 0.8 } },
}

Opacity depending on windows focus
----------------------------------

The following sets opacity for Emacs  and Rxvt to 0.9 when focused and
0.7  otherwise (you  can use  `xprop' to  find out  what is  the class
(WM_CLASS property)):

client.add_signal(
   "focus",
   function(c)
      if c.class:lower():find("rxvt") or c.class:lower():find("emacs") then
         c.border_color = beautiful.border_focus
         c.opacity = 0.9
      end
   end)

client.add_signal(
   "unfocus",
   function(c)
      if c.class:lower():find("rxvt") or c.class:lower():find("emacs") then
         c.border_color = beautiful.border_normal
         c.opacity = 0.7
      end
   end)

Xephyr
======

You may want to use Xephyr (nested X server) for debugging:

$ Xephyr -screen 1024x768 -ac -br :1

Then  run  the  command  given  in  the  previous  section  by  adding
DISPLAY=:1 at the beginning. You  may want to run other X applications
(such  as Awesome  window manager)  by setting  DISPLAY=:1 environment
variable before.

unagi's People

Contributors

psychon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.