### Incoming commands and requests
-
Similarly, requests about the internal state of cortile can be sent to the incoming socket:
```bash
# Netcat
@@ -144,7 +157,6 @@ Since the communication is asynchronous, it is necessary to listen to the outgoi
Example files for sending commands and receiving states can be found in the [scripts](https://github.com/leukipp/cortile/tree/main/assets/scripts) folder.
-
## Development [![development](https://img.shields.io/github/go-mod/go-version/leukipp/cortile)](#development-)
You need [go >= 1.18](https://go.dev/dl/) to compile cortile.
@@ -191,15 +203,15 @@ go env | grep "GOPATH\|GOVERSION"
Install - cortile
### Option 1: Install cortile via remote source
-Install directly from main branch:
+Install directly from develop branch:
```bash
-go install github.com/leukipp/cortile@main
+go install github.com/leukipp/cortile@develop
```
### Option 2: Install cortile via local source
-Clone source code from main branch:
+Clone source code from develop branch:
```bash
-git clone https://github.com/leukipp/cortile.git -b main
+git clone https://github.com/leukipp/cortile.git -b develop
cd cortile
```
@@ -227,19 +239,20 @@ Hot corners:
- Use the hot `[corners]` properties to execute any external command available on your system.
- e.g. use `bottom_center = "firefox"` to open a web browser window.
-Companion tools:
-- You can install a [minimal-gtk](https://www.xfce-look.org/p/1016504) theme and leave `window_decoration = true`.
-- Simply add cortile to your startup applications to run it after login.
+Systray:
+- Use the `tiling_icon` property to add any external command to the systray menu.
+ - e.g. use `tiling_icon = [...,['firefox', 'Open Browser'],..]` to add a web browser entry.
## Issues [![issues](https://img.shields.io/github/issues-closed/leukipp/cortile)](#issues-)
-It's recommended to disable all build-in window snapping features.
-In Xfce environments, they can be found under "Window Manager" > "Advanced" > "Windows snapping".
-
-If you encounter problems start the process with `cortile -vv`, which provides additional verbose outputs.
-A log file is created by default under `/tmp/cortile.log`.
+- It's recommended to disable all build-in window snapping features (snap to other windows, snap to screen borders).
+- Window managers not supporting StatusNotifierItem for displaying system tray icons will need to install [snixembed](https://github.com/fyne-io/systray#linuxbsd).
+- Some GNOME based desktop environments (Mate, Deepin, Cinnamon, Budgie) may cause issues during resizing.
+- If you encounter problems start the process with `cortile -vv`, which provides additional debug outputs.
+- A log file is created by default under `/tmp/cortile.log`.
## Credits [![credits](https://img.shields.io/github/contributors/leukipp/cortile)](#credits-)
-Based on [zentile](https://github.com/blrsn/zentile) from [Berin Larson](https://github.com/blrsn).
+Based on [zentile](https://github.com/blrsn/zentile) ([Berin Larson](https://github.com/blrsn)) and [pytyle3](https://github.com/BurntSushi/pytyle3) ([Andrew Gallant](https://github.com/BurntSushi)).
+The main libraries used in this project are [xgbutil](https://github.com/BurntSushi/xgbutil), [toml](https://github.com/BurntSushi/toml), [systray](https://github.com/fyne-io/systray), [dbus](https://github.com/godbus/dbus), [fsnotify](https://github.com/fsnotify/fsnotify) and [logrus](https://github.com/sirupsen/logrus).
## License [![license](https://img.shields.io/github/license/leukipp/cortile)](#license-)
[MIT](https://github.com/leukipp/cortile/blob/main/LICENSE)
diff --git a/config.toml b/config.toml
index ef8a63c..3e7f669 100644
--- a/config.toml
+++ b/config.toml
@@ -15,7 +15,7 @@ tiling_layout = "vertical-right"
# An overlay window is displayed for this time period [ms] when the layout was changed (0 = disabled).
tiling_gui = 1500
-# Menu entries in systray which indicates the tiling state as icon ([] = disabled).
+# Menu entries in systray which shows the tiling state as icon ([] = disabled).
# tiling_icon = [
# ['ACTION', 'TEXT'] = ['action strings from [keys] section', 'text to show in the menu'],
# ['', ''] = 'render a separator',
@@ -110,13 +110,13 @@ icon_foreground = [255, 255, 255, 255]
################################################################################
# Tile the current workspace.
-tile = "Control-Shift-T"
+tile = "Control-Shift-Home"
# Untile the current workspace.
-untile = "Control-Shift-U"
+untile = "Control-Shift-End"
# Toggle between tile and untile.
-toggle = "Control-Shift-KP_5"
+toggle = "Control-Shift-T"
# Cycles through next layouts.
cycle_next = "Control-Shift-Next"