Skip to content

Commit

Permalink
Remove hyprload, update waybar instructions (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer authored Dec 14, 2024
1 parent 2aa4af7 commit 3012569
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ COMPILE_FLAGS+=-Iinclude

COMPILE_DEFINES=-DWLR_USE_UNSTABLE

INSTALL_LOCATION=${HOME}/.local/share/hyprload/plugins/bin

ifeq ($(shell whereis -b jq), "jq:")
$(error "jq not found. Please install jq.")
else
Expand All @@ -23,10 +21,6 @@ endif

all: check_env $(PLUGIN_NAME).so

install: all
mkdir -p ${INSTALL_LOCATION}
cp $(PLUGIN_NAME).so ${INSTALL_LOCATION}

check_env:
@if pkg-config --exists hyprland; then \
echo 'Hyprland headers found.'; \
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,21 @@ It also provides the following config values
| `plugin:split-monitor-workspaces:enable_notifications` | boolean | 0 | Enable notifications |
| `plugin:split-monitor-workspaces:enable_persistent_workspaces` | boolean | 1 | Enable management of persistent workspaces. This means the plugin will at initialization create `$count` workspaces on each monitor and make them persistent. |

Keep in mind that if you're using, for example, the `wlr/workspaces` widgets in [waybar](https://github.com/Alexays/Waybar), this will require a change to your config. You should set `all-outputs` to `false`, and adjust the icon mapping.
This plugin supports [waybar's](https://github.com/Alexays/Waybar) `hyprland/workspaces` module. You can configure it like this:

```
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
"urgent": "",
"active": "", // focused workspace on current monitor
"visible": "", // focused workspace on other monitors
"default": "",
"empty": "" // persistent (created by this plugin)
},
"all-outputs": false // recommended
},
```

If your workspace-per-monitor count is 10, the first monitor will have workspaces 1-10, the second 11-20 and so on. They will be accessed via numbers 1-10 while your mouse is on a given monitor.

Expand Down
11 changes: 0 additions & 11 deletions hyprload.toml

This file was deleted.

0 comments on commit 3012569

Please sign in to comment.