Testing wlogout

This commit is contained in:
iFargle 2024-01-05 15:28:43 +09:00
parent 8b1f3df4c8
commit a59185e5ad
2 changed files with 54 additions and 2 deletions

View file

@ -69,7 +69,10 @@ nix develop -c /etc/nixos/git/docs/setup.sh
* [x] Look at `wayland.windowManager.hyprland` - [Example](https://github.com/SomeGuyNamedMy/users/blob/master/config/mason/desktop.nix)
* [x] Look at `programs.rofi`
* [x] Look at `programs.waybar`
* [ ] Look at `services.udiskie`, `services.mako`, `programs.wlogout`, `services.clipmenu`
* [x] Look at `services.udiskie`
* [x] Look at `services.mako`
* [ ] Look at `programs.wlogout`
* [ ] Look at `services.clipmenu`
* [ ] Essentially, move most of the configs to `home-manager` instead of `nixos`
## Desktop / GUI
@ -84,6 +87,7 @@ nix develop -c /etc/nixos/git/docs/setup.sh
* [x] Or this - stylix - [Link](https://github.com/danth/stylix)
* [ ] Find a way to remove all default search engines in Firefox (Google, Amazon, etc)
* [ ] xfce4 configs - `~/.config/xfce4`
* [ ] Set up PyRadio with Nightride.FM
Completed ToDo List [here](docs/complete.md)

View file

@ -1,6 +1,54 @@
{ config, ... }: {
xdg.configFile."wlogout/style.css" = {
services.wlogout = {
enable = true;
layout = [
{
label = "lock";
action = "swaylock";
text = "Lock";
circular = true;
keybind = "l";
}
{
label = "hibernate";
action = "systemctl hibernate";
text = "Hibernate";
circular = true;
keybind = "h";
}
{
label = "logout";
action = "loginctl terminate-user $USER";
text = "Logout";
circular = true;
keybind = "e";
}
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
circular = true;
keybind = "s";
}
{
label = "suspend";
action = "systemctl suspend";
text = "Suspend";
circular = true;
keybind = "u";
}
{
label = "reboot";
action = "systemctl reboot";
text = "Reboot";
circular = true;
keybind = "r";
}
];
};
xdg.configFile."wlogout/style.css" = {
enable = false;
target = "./wlogout/style.css";
text = ''
* {