From 3c9c9e9f80c728c3836e9266a8f2cff1a3377638 Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Wed, 1 Jun 2022 01:21:54 +0530 Subject: [PATCH] [rm] Cleanup directory structure --- _includes/layout.njk | 14 -------- index.md | 21 +++--------- swhkd/index.md | 70 -------------------------------------- swhkd/install.md | 34 ------------------- wayout/index.md | 58 ------------------------------- wayshot/index.md | 81 -------------------------------------------- 6 files changed, 5 insertions(+), 273 deletions(-) delete mode 100644 swhkd/index.md delete mode 100644 swhkd/install.md delete mode 100644 wayout/index.md delete mode 100644 wayshot/index.md diff --git a/_includes/layout.njk b/_includes/layout.njk index bb31297..5b6e323 100644 --- a/_includes/layout.njk +++ b/_includes/layout.njk @@ -29,20 +29,6 @@ active: Home
  • Home
  • GitHub
  • Discord
  • -
  • Matrix
  • - - - -

    Projects

    - - diff --git a/index.md b/index.md index 1b4638b..79aef6e 100644 --- a/index.md +++ b/index.md @@ -5,16 +5,12 @@ title: Home ## Welcome to Waycrate. -We create tools that are suckless in nature for the Wayland protocol in Rust. - -Currently, we are developing [swhkd](https://github.com/waycrate/swhkd), a hotkey daemon that's a -replacement for sxhkd. It aims to work across Wayland, Xorg and even -tty. +We create tools that are simple and efficient in nature primarily targeting Wayland protocol with Rust and Zig. ### Contributing We are accepting more contributors to our organization. If you are -interested, you can either join our Matrix space at [#waycrate-tools:matrix.org](https://matrix.to/#/#waycrate-tools:matrix.org) or join our [Discord server](https://discord.gg/KKZRDYrRYW), depending on your preference. +interested, get in touch with us via Discord or Matrix. ### Our Supporters @@ -53,16 +49,9 @@ free hosting for our projects.
    - - Idli - - Idli -
    - -
    - - Ckyiu + + Uncomfyhalomacro - Ckyiu + Uncomfy
    diff --git a/swhkd/index.md b/swhkd/index.md deleted file mode 100644 index ed76fdf..0000000 --- a/swhkd/index.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -layout: layout.njk -title: swhkd ---- - -

    - SWHKD - -

    A next-generation hotkey daemon for Wayland/X11 written in Rust.

    - -

    - - - - - -

    -

    - -## SWHKD [(GitHub)](https://github.com/waycrate/swhkd) - -**S**imple **W**ayland **H**ot**K**ey **D**aemon - -swhkd is a display protocol-independent hotkey daemon made in Rust. swhkd uses an easy-to-use configuration system inspired by sxhkd so you can easily add or remove hotkeys. - -It also attempts to be a drop-in replacement for sxhkd, meaning, your sxhkd config file is also compatible with swhkd. - -Because swhkd can be used anywhere, the same swhkd config can be used across Xorg or Wayland desktops, and you can even use swhkd in a tty. - -**Note: The project is a WIP.** -**BUT!! It does work right now however it's not a drop-in replacement yet. [Example config file](https://github.com/waycrate/swhkd/blob/main/docs/swhkdrc).** - -## Installation - -See the [install guide]({{ './install' | url }}) for installing swhkd. - -## Running: -```bash -swhks & -pkexec swhkd -``` -To refresh the config at runtime, make a script like so: - -```bash -#!/bin/sh -sudo killall swhkd -pkexec swhkd -``` - -Mark it as executeable using `chmod +x `. - -Then call it using `setsid -f `. - -A better implementation using signals will be developed later. - -## Configuration - -Swhkd closely follows sxhkd syntax, so most existing sxhkd configs should be functional with swhkd. - -The default configuration directory is `/etc/swhkd/swhkdrc`. If you don't like having to edit the file as root every single time, you can create a symlink from `~/.config/swhkd/swhkdrc` to `/etc/swhkd/swhkdrc`. - -## Support: - -For support, you can join [#swhkd:matrix.org](https://matrix.to/#/#swhkd:matrix.org) on Matrix, or our [Discord](https://discord.gg/KKZRDYrRYW), depending on your preference. - -## Contributors: - - - - diff --git a/swhkd/install.md b/swhkd/install.md deleted file mode 100644 index 002351a..0000000 --- a/swhkd/install.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -layout: layout.njk -title: Install ---- -# AUR: -`swhkd-git` `swhkd-musl-git` have been packaged. `swhkd-bin` & `swhkd-musl-bin` will be released soon. - -## Installation - -`swhkd` and `swhks` install to `/usr/local/bin/` by default. You can change this behaviour by editing the Makefile variable, `TARGET_DIR`. - -# Dependencies: - -## Runtime: - -- Policy Kit Daemon ( polkit ) - -## Compile time: - -- rustup -- make - -# Compiling: - -- `git clone https://github.com/waycrate/swhkd && cd swhkd` -- `make setup` -- `make clean` - - `make` for a musl compile. - - `make glibc` for a glibc compile. -- `sudo make install` - -# Running: -`swhks` -`pkexec swhkd` diff --git a/wayout/index.md b/wayout/index.md deleted file mode 100644 index 3cd03b2..0000000 --- a/wayout/index.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -layout: layout.njk -title: Wayout ---- -

    - wayout -

    A simple output management tool for wlroots based compositors - implementing zwlr_output_power_management_v1. sourcehut

    - -

    - - - - - -

    -

    - -# Usage: -List output states: -```bash -wayout -``` - -Turn on a display: -```bash -wayout --on -``` - -Turn off a display: -```bash -wayout --off -``` - -Toggle the state of a display: -```bash -wayout --toggle -``` -# Installation - -## AUR: -`wayout-git` has been packaged. - -## Compile time dependencies: -- rustup -- make - -## Compiling: -- `git clone https://github.com/waycrate/wayout && cd wayout` -- `make setup` -- `make` -- `sudo make install` - -# Support: - -1 - Use the mailing list. - -2 - You can also join us on Matrix at ([#wayout:matrix.org](https://matrix.to/#/#wayout:matrix.org)), which is also bridged to our [Discord server](https://discord.gg/KKZRDYrRYW), depending on which you prefer. diff --git a/wayshot/index.md b/wayshot/index.md deleted file mode 100644 index f6ba56c..0000000 --- a/wayshot/index.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -layout: layout.njk -title: Wayshot ---- - -

    - wayshot -

    A native screenshot tool for wlroots based compositors such as - sway and river written in Rust. X11 support coming soon. sourcehut

    - -

    - - - - - -

    -

    - -# Usage: - -Region Selection: - -```bash -wayshot -s "$(slurp -f '%x %y %w %h')" -``` - -Fullscreen: - -```bash -wayshot -``` - -Custom file path: - -```bash -wayshot -f ../screenshot.png --extension jpg -``` - -Screenshot and copy to clipboard: - -```bash -wayshot --stdout | wl-copy -``` - -Pick a hex color code, using ImageMagick: - -```bash -wayshot -s "$(slurp -p -f '%x %y %w %h')" --stdout | convert - -format '%[pixel:p{0,0}]' txt:-|egrep "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})" -o -``` - -Pick a color, using ImageMagick: - -```bash -wayshot -s "$(slurp -p -f '%x %y %w %h')" --stdout | convert - -format '%[pixel:p{0,0}]' txt:- -``` -# Installation - -## AUR: -`wayshot-git` & `wayshot-bin` have been packaged. - -## Compile time dependencies: -- rustup -- make - -## Compiling: -- `git clone https://github.com/waycrate/wayshot && cd wayshot` -- `make setup` -- `make` -- `sudo make install` - -# Support: - -1 - Use the mailing list. - -2 - You can also join us on Matrix at ([#wayshot:matrix.org](https://matrix.to/#/#wayshot:matrix.org)), which is also bridged to our [Discord server](https://discord.gg/KKZRDYrRYW), depending on which you prefer. - - -# Smithay Developers: - -Massive thanks to smithay developer Cmeissl and Victor Berger. Without them this project won't be possible as my wayland knowledge is limited.