|
1 year ago | |
---|---|---|
client | 1 year ago | |
server | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 2 years ago |
This project is a POC for managing a GNU/Linux desktop (with i3-wm). It implements an interface for running:
amixer
i3-msg
xdotool
playerctl
import
It allows you to:
…by using a web interface with your phone.
Requirements
$ git clone https://gitnet.fr/deblan/remote-i3wm-ws.git
$ cd remote-i3wm-ws/
$ cd client && composer install && cd ..
$ cd server && composer install && cd ..
$ php -S 0.0.0.0:15000 -t client/&
$ php server/src/resource/server.php
The server can be run with verbosity:
-v
or --verbose
to show server messages--vv
to show handlers messagesOpen http://your.local.ip:15000
and enjoy!
If you want to start/stop/restart the websocket easily:
$ export REMOTE_I3WM_WS_OPTIONS="-v"
$ server/server start
$ server/server stop
$ server/server restart