dotfiles/README.md

65 lines
1.9 KiB
Markdown
Raw Normal View History

2024-09-28 22:20:00 +01:00
# Dotfiles
Managed with [chezmoi](https://www.chezmoi.io)
2025-05-21 15:59:01 +01:00
2025-09-12 20:22:56 +01:00
## Package dependencies
This is on Arch Linux anyway:
* sox (for play for sound notifications)
* otf-font-awesome (waybar symbols)
2025-05-21 15:59:01 +01:00
## Greeter
I use greetd with gtkgreet as the greeter/login manager. Because this is
installed and configured as a system level service, its configuration cannot
be managed by chezmoi. Thankfully, when using cage, it's as straightforward
2025-05-22 10:20:35 +01:00
as using the following configuration file (at `/etc/greetd/config.toml`):
2025-05-21 15:59:01 +01:00
```toml
[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number
# designating the VT.
vt = 1
# The default session, also known as the greeter.
[default_session]
# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
# with whatever you want started, such as `sway`.
2025-05-22 10:20:35 +01:00
command = "/etc/greetd/greeter"
2025-05-21 15:59:01 +01:00
# The user to run the command as. The privileges this user must have depends
# on the greeter. A graphical greeter may for example require the user to be
# in the `video` group.
user = "greeter"
```
2025-05-22 10:20:35 +01:00
And putting the greeter script at `/etc/greetd/greeter`:
```bash
#!/bin/sh
GTK_THEME="Adwaita:dark" exec cage -s -- \
gtkgreet \
--background /usr/share/backgrounds/archlinux/wild.png \
--layer-shell
```
2025-05-21 15:59:01 +01:00
This only requires installing greetd, gtkgreet, cage and the archlinux
backgrounds packages. Unlike the setup with sway, this doesn't require
a loose formation of configuration files.
2025-10-23 14:02:23 +01:00
## Firefox
Firefox is not reasonably managed by chezmoi. However the setup I use is
reasonably easy to replicate.
Install the themes:
* [Kanagawa Wave](https://addons.mozilla.org/en-GB/firefox/addon/kanagawa-wave-dark-theme/)
* [Kanagawa Lotus](https://addons.mozilla.org/en-US/firefox/addon/kanagawa-lotus-light-theme/)
and the extension [automaticDark](https://addons.mozilla.org/en-US/firefox/addon/automatic-dark/),
which can be configured for listening to system events.