- Introduced a new power menu script using fuzzel for session management. - Updated Bellerophon configuration to include Niri desktop and its components. - Removed obsolete README for Niri and consolidated its configuration files. - Added swayidle and swaylock integration for idle management and screen locking. - Implemented waybar for status bar functionality with basic configuration. - Created fuzzel integration for application launching and menu access. - Added zenbook debugging scripts for display and keyboard diagnostics. - Migrated keyring and other configurations to streamline Niri setup. - Enhanced display management with systemd services for better integration.
24 lines
677 B
Nix
24 lines
677 B
Nix
{pkgs, ...}: {
|
|
# Install waybar system-wide and provide a systemd user service to start it for graphical users
|
|
environment.systemPackages = with pkgs; [waybar jq wl-clipboard];
|
|
|
|
systemd.user.services.waybar = {
|
|
description = "Waybar for Niri sessions";
|
|
wantedBy = ["default.target"];
|
|
serviceConfig = {
|
|
ExecStart = "${pkgs.waybar}/bin/waybar";
|
|
Restart = "on-failure";
|
|
RestartSec = 2;
|
|
};
|
|
};
|
|
|
|
# Optionally provide a default system-level config in /etc/xdg/waybar/config
|
|
environment.etc."xdg/waybar/config".text = ''
|
|
{
|
|
"modules-left": ["workspace"],
|
|
"modules-center": [],
|
|
"modules-right": ["clock"]
|
|
}
|
|
'';
|
|
}
|