This commit is contained in:
2026-02-05 14:23:16 +01:00
parent 58fd5c4d50
commit dcf43ea862
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ binds {
Alt+Space { spawn-sh "pkill -x rofi || rofi -show drun"; }
// Actions
Mod+V { spawn-sh "pkill -x shorin-cliphist || ghostty -e shorin-cliphist"; }
Mod+V { spawn "shorin-cliphist-wrap"; }
Mod+Period { spawn-sh "pkill -x rofi || rofi-emoji"; }
Ctrl+Alt+Delete { spawn-sh "pkill -x wlogout || wlogout -p layer-shell"; }
Print { spawn "niri" "msg" "action" "screenshot-screen"; }
+1 -1
View File
@@ -1,7 +1,7 @@
screenshot-path "~/Pictures/Screenshots/niri_screenshot_%Y-%m-%d_%H-%M-%S.png"
debug {
render-drm-device "/dev/dri/renderD128"
render-drm-device "/dev/dri/renderD129"
}
// gestures {
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Some wierd workaround
pkill -f 'ghostty -e shorin-cliphist' || ghostty -e shorin-cliphist
+1 -5
View File
@@ -284,7 +284,7 @@
- [10.4. Using GRUB to Set Up the Boot Process](https://www.linuxfromscratch.org/lfs/view/stable/chapter10/grub.html)
强烈建议使用 PARTUUID 和 UUID 替代传统的 `/dev/sdXN` 设备路径以及 `(hdM,N)` 来指定 `/boot` 分区和根分区。
强烈建议使用 PARTUUID 替代传统的 `/dev/sdXN` 设备路径以及 `(hdM,N)` 来指定 `/boot` 分区和根分区。如果已经配置 initrd则也可以使用文件系统 UUID 来指定根分区。
另外,如果将外置存储设备(如 USB 硬盘)上的分区作为 RootFS ,建议在 GRUB 配置中添加 `rootdelay=10` 或 `rootwait` 参数以防止启动时找不到 RootFS 。
@@ -292,10 +292,6 @@
>
> UUID 和 PARTUUID 可以通过 `lsblk -o NAME,FSTYPE,UUID,PARTUUID` 查看。
> [!NOTE]
>
> UUID 指的是文件系统 UUIDGRUB 需要具备读取对应文件系统的能力才能识别 UUID。而 PARTUUID 指的是分区 UUID不依赖文件系统。
## BLFS
绝大多数的建议都已在 LFS 部分提及,这里只做少数补充: