diff --git a/README.md b/README.md index cdf47f3..d3a75ea 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Build Status](https://travis-ci.org/numirias/qtile-plasma.svg?branch=master)](https://travis-ci.org/numirias/qtile-plasma) [![codecov](https://codecov.io/gh/numirias/qtile-plasma/branch/master/graph/badge.svg)](https://codecov.io/gh/numirias/qtile-plasma) -Plasma is an advanced, flexible layout for [Qtile](https://github.com/qtile/qtile/). +Plasma is a flexible, tree-based layout for [Qtile](https://github.com/qtile/qtile/). If you're looking for a well-tested and maintained alternative to Qtile's default layouts, give it a try. @@ -160,16 +160,16 @@ window. window. - size(val) + size(x) Change size of current window.
(It's recommended to use width()/height() instead.) - width(val) + width(x) Set width of current window. - height(val) + height(x) Set height of current window. @@ -177,16 +177,16 @@ window. Reset size of current window to automatic (relative) sizing. - grow(amt) + grow(x) Grow size of current window.
(It's recommended to use grow_width()/grow_height() instead.) - grow_width(amt) + grow_width(x) Grow width of current window. - grow_height(amt) + grow_height(x) Grow height of current window. diff --git a/plasma/layout.py b/plasma/layout.py index 270392e..773132d 100644 --- a/plasma/layout.py +++ b/plasma/layout.py @@ -213,22 +213,22 @@ def cmd_mode_vertical_split(self): """ self.add_mode = AddMode.VERTICAL | AddMode.SPLIT - def cmd_size(self, val): + def cmd_size(self, x): """Change size of current window. (It's recommended to use `width()`/`height()` instead.) """ - self.focused_node.size = val + self.focused_node.size = x self.refocus() - def cmd_width(self, val): + def cmd_width(self, x): """Set width of current window.""" - self.focused_node.width = val + self.focused_node.width = x self.refocus() - def cmd_height(self, val): + def cmd_height(self, x): """Set height of current window.""" - self.focused_node.height = val + self.focused_node.height = x self.refocus() def cmd_reset_size(self): @@ -236,20 +236,20 @@ def cmd_reset_size(self): self.focused_node.reset_size() self.refocus() - def cmd_grow(self, amt): + def cmd_grow(self, x): """Grow size of current window. (It's recommended to use `grow_width()`/`grow_height()` instead.) """ - self.focused_node.size += amt + self.focused_node.size += x self.refocus() - def cmd_grow_width(self, amt): + def cmd_grow_width(self, x): """Grow width of current window.""" - self.focused_node.width += amt + self.focused_node.width += x self.refocus() - def cmd_grow_height(self, amt): + def cmd_grow_height(self, x): """Grow height of current window.""" - self.focused_node.height += amt + self.focused_node.height += x self.refocus() diff --git a/setup.py b/setup.py index 9f0f491..ca8e2d7 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ name='qtile-plasma', packages=['plasma'], version='1.4.0', - description='An advanced, flexible layout for Qtile', + description='A flexible, tree-based layout for Qtile', author='numirias', author_email='numirias@users.noreply.github.com', url='https://github.com/numirias/qtile-plasma',