misc update

- known dependencies
- lessen symlink checking (might not easily break)
- move shell history into `/tmp`.
(py didn't often operate filesystem which doesn't matter)
This commit is contained in:
2025-12-15 11:32:59 +08:00
parent 3a1b467e5c
commit b4932ef737
4 changed files with 11 additions and 11 deletions

View File

@@ -176,7 +176,8 @@ animations {
include "config.window.kdl"
include "config.keyboard.kdl"
spawn-at-startup "waybar"
// spawn-at-startup "waybar"
// spawn-sh-at-startup "wl-paste --watch cliphist store"
spawn-at-startup "swww-daemon"
spawn-at-startup "swww-daemon" "--namespace" "blur"
spawn-at-startup "xwayland-satellite"

View File

@@ -1,10 +1,6 @@
# init at each startup
mkdir -p /tmp/$USER
#ln -sf /tmp/$UID $HOME/.tmp
[ $(readlink -f $HOME/.tmp) = "/tmp/$USER" ] || {
rm -f $HOME/.tmp
ln -s /tmp/$USER $HOME/.tmp
}
mkdir -p /tmp/$USER/PSReadLine
#ln -sf /tmp/$USER $HOME/.tmp
# avoid dumplicate env appending.
# [[ -f /run/user/$UID/.zshlogon ]] && return

3
.zshrc
View File

@@ -19,6 +19,9 @@ fi
# History
#
# also export this in bashrc.
HISTFILE=/tmp/$USER/.zhist
# Remove older command from the history if a duplicate is to be added.
setopt HIST_IGNORE_ALL_DUPS

View File

@@ -24,18 +24,18 @@
|依赖|配置|备注|
|-|-|-|
|niri|`.config/niri/config.kdl`|
|niri|`.config/niri/config.kdl`|建议检查所有`~/`开头的路径——我的设定你不一定满意。|
|`fuzzel`|`.config/fuzzel/*`|
|`mako`|`.config/mako/*`|
|`swww`|`bin/chbg` (bash)|另需`imagemagick`来生成图片的高斯模糊版本。|
|`swww`|`bin/chbg` (bash)|依赖`imagemagick`。另,可以配合图床等实现定期换壁纸。|
|`gtklock`|`.config/gtklock/*`|现阶段无法跟`swayidle`合用,尽管其 Wiki 鼓励这么做。|
|`xdg-desktop-portal-(gtk\|gnome)`|`.config/xdg-desktop-portal/*-portals.conf`|GNOME 支持最全,但称不上好看(|
|`kwallet`|VSCode 试图登录时会弹出向导让你配的。|替代`gnome-keyring`。建议加装`kwallet-pam`,免得 VSCode 自己尝试解锁结果闪退。|
|foot|`.config/foot/foot.ini`|
|yazi|`.config/yazi/*`|替代`nautilus`;另用`fake-nautilus`移除`nautilus`包。|
|fastfetch|`.config/fastfetch/*`|
|waybar|`.config/waybar/*`|
|`mpris`|`systemctl --user`服务|参见 ArchWiki.|
|waybar|`.config/waybar/*`|建议搭配`systemctl --user`(参见 [niri 在线文档](https://yalter.github.io/niri/Example-systemd-Setup.html))以便重载配置。|
|`mpris`||`systemctl --user`配置自启动(参见 ArchWiki|
|`pavucontrol-qt`|
## 参考资源与备注