Skip to content

behavior

MArpogaus edited this page Jul 17, 2021 · 4 revisions

Description

This module controls the behavior of awesome.

Configuration

The definition of behavior has been abstracted into two separate tables:

  • the rules table defines the awful rules required for the specific behavior.
  • the signals table holds the signal handlers for the behavior.

The behavior field inside config.lua is used to load different behavior modules, and optionally provide some configuration parameters.

It expects either a list of behavior module names (i.e. {'default', 'flaoting_titlebars'}), or a table with the key being the name of the module and the value a configuration table (i.e. {'default', ['dynamic_tags'] = require('config.dynamic_tags')}. The modules are first searched in ~/.config/awesome/config/bahavior and then in ~/.config/awesome/rc/bahavior.

This configuration comes three predefined behavior modules:

  • default rules and signals for the default awesome behavior. No Configuration possible.
  • dynamic_tags dynamic tagging, inspired by tyrannical. Configuration required.
  • floating_titlebars only show title bars for floating clients. No Configuration possible.

A template for the dynamic tagging modules configuration con be found here.

Custom behavior modules

TODO...

Clone this wiki locally