您当前的位置: 首页 >  ar

ITKEY_

暂无认证

  • 0浏览

    0关注

    732博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

archlinux i3wm通知管理

ITKEY_ 发布时间:2022-06-19 18:16:50 ,浏览量:0

通知管理

Dunst 是大多数桌面环境提供的通知守护程序的轻量级替代品。它非常可定制,不依赖于任何工具包,因此适合那些我们都喜欢定制到完美的以窗口管理器为中心的设置。 官网如下:https://dunst-project.org/ 安装:

pacman -S dunst
nvim ~/.local/share/systemd/user/dunst.service

文件内容如下:

[Unit]
Description=dunst service
After=network.target

[Service]
ExecStart=/usr/bin/dunst -conf $HOME/.config/i3/dunstrc
RemainAfterExit=yes
Restart=on-failure
RestartSec=2
ExecReload=kill -HUP $MAINPID

[Install]
WantedBy=default.target

然后在启动脚本中通过

systemctl --user start dunst.service

启动服务。 查询服务状态:

systemctl --user status dunst.service

配置文件:

~/.config/dunst/dunstrc

配置文件内容可以参考: https://zjuyk.gitlab.io/posts/i3wm-config/

https://gist.githubusercontent.com/PieterjanMontens/48127aeb9cd01e43c6b71c6174d32406/raw/2eea5fe64576b93a5a6fdb223c533db0a61263e4/Dunst%2520config

关注
打赏
1665243900
查看更多评论
立即登录/注册

微信扫码登录

0.0433s