diff --git a/README.md b/README.md index 361abdca..4a2011af 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/home-manager/common/desktops/hyprland/themes/stylix/wlogout-conf.nix b/home-manager/common/desktops/hyprland/themes/stylix/wlogout-conf.nix index c6d9d5fd..6255b6a1 100644 --- a/home-manager/common/desktops/hyprland/themes/stylix/wlogout-conf.nix +++ b/home-manager/common/desktops/hyprland/themes/stylix/wlogout-conf.nix @@ -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 = '' * {