Skip to content

Commit

Permalink
Update docs (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
clsty committed Mar 6, 2024
1 parent d0427b7 commit abaa9e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions src/content/docs/en/i-i/02.usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Consider these strategies for effective multi-monitor management:
- On startup, manually move the starting workspace on the secondary monitor into the second group (e.g., workspace 11) using `Super` + `0`, then `Ctrl` + `Super` + `Right`.
- In effect, this will also create separate overview widget per monitor.
- Use [workspace binding](https://wiki.hyprland.org/Configuring/Workspace-Rules/#rules) to always place specific workspaces on specific monitors. Get all your monitor names using `hyprctl monitors | grep Monitor`.
```ini title="~/.config/hypr/hyprland.conf"
```ini title="~/.config/custom/general.conf"
# Bind workspaces 1-10 (group 1) to primary monitor
workspace = 1, monitor:eDP-1, default:true
workspace = 2, monitor:eDP-1, default:true
Expand Down Expand Up @@ -116,7 +116,7 @@ To configure Hyprland, edit the files under `~/.config/hypr/custom/` which are s

The `install.sh` script will **not** overwrite `~/.config/hypr/custom/`.

Also, as for `~/.config/hypr/hyprland.conf`, it will not be overwritten when it exists, but a `~/.config/hypr/hyprland.conf.new` will be generated for format reference.
Also, as for `~/.config/hypr/hyprland.conf`, it will not be overwritten when it exists, but a `~/.config/hypr/hyprland.conf.new` will be generated. The `*.new` file is only for format reference, and has no effect at all.
:::caution
If you find something wrong with Hyprland after updating using `install.sh`, please check `~/.config/hypr/hyprland.conf` by comparing it with `~/.config/hypr/hyprland.conf.new`.
:::
Expand All @@ -140,7 +140,7 @@ This file contains many options, such as:
- Default ChatGPT Provider
- ...

This file will not be overwritten when running `install.sh`, but a `~/.config/ags/user_options.js.new` will be generated when it exists.
This file will not be overwritten when running `install.sh`, but a `~/.config/ags/user_options.js.new` will be generated when it exists. The `*.new` file is only for format reference, and has no effect at all.
:::caution
If you find something wrong with AGS after updating using `install.sh`, please check `~/.config/ags/user_options.js` by comparing it with `~/.config/ags/user_options.js.new`.
:::
Expand All @@ -154,6 +154,10 @@ Instead, a weather widget will appear in this position.

The city for weather is detected by `curl ipinfo.io` by default, or explicitly set in `~/.config/ags/user_options.js`.

## Set keybinds
The keybinds to be configured are limited and you need to refer to gdk document to know the keys, but it works.

See [#5](https://github.com/end-4/dots-hyprland-wiki/issues/5) for more.
## Polling script for a customed widget
:::caution
Polling Bash script is not a good idea considering performance, but Bash language is relatively easier to grasp.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/vi/i-i/02.usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: /src/layouts/autonum.astro
lastUpdated: 2024-02-24
---
:::caution[l10n-notify]
Bản dịch này đã cũ và cần được cập nhật. Bản gốc (tiếng Anh) được sửa lần cuối vào: 2024-03-03
Bản dịch này đã cũ và cần được cập nhật. Bản gốc (tiếng Anh) được sửa lần cuối vào: 2024-03-06
:::

# Chung
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/i-i/02.usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: /src/layouts/autonum.astro
lastUpdated: 2024-02-27
---
:::caution[l10n-notify]
此页面的翻译已过时。其英语原文的最新版本的时间是:2024-03-03
此页面的翻译已过时。其英语原文的最新版本的时间是:2024-03-06
:::

# 一般
Expand Down

0 comments on commit abaa9e1

Please sign in to comment.