diff --git a/dotfiles/greetd.md b/dotfiles/greetd.md new file mode 100644 index 0000000..bdcf8ea --- /dev/null +++ b/dotfiles/greetd.md @@ -0,0 +1,42 @@ +--- +title: Greetd +description: +published: false +date: 2024-03-09T01:26:21.021Z +tags: +editor: markdown +dateCreated: 2024-03-09T01:26:21.021Z +--- + +# Kiosk mode + +`greetd` is great for running one full-size app started at boot with the help of [`cage`](https://www.hjdskes.nl/projects/cage/). Here are some examples + +## Running a browser tab/window + +## Running `bpytop` + +[`bpytop`](https://github.com/aristocratos/bpytop) is a great little resource monitor. I have a server with a + +```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`. +#command = "agreety --cmd /bin/sh" + +#command = "fbterm -- bpytop" +command = "cage -s -- alacritty -e bpytop" + +# 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 = "thurstylark" + +``` \ No newline at end of file