trimmed out hyprland config

This commit is contained in:
serenity-F 2024-12-11 21:26:14 +10:00
parent 5417b30ef0
commit f59a5a8d9a
8 changed files with 4 additions and 56 deletions

View file

@ -4,22 +4,18 @@
imports = [
## Import misc desktop files
./automount
../scripts
## Import common desktop configs
./hyprcursor.nix
./hyprlock.nix
./hypridle.nix
./wlogout.nix
./waybar.nix
./dunst.nix
./wofi.nix
## Import individual desktop configs
./sway
./hypr
## Import misc. desktop configs
./automount
../scripts
];

View file

@ -1,13 +0,0 @@
{ self, inputs, outputs, lib, config, pkgs, ... }:
{
imports = [
./hyprland.nix # Hyprland config file
];
home.packages = with pkgs; [
];
}

View file

@ -1,22 +0,0 @@
{ config, pkgs, ... }: {
xdg.configFile."hypr/hypridle.conf".text = ''
general {
ignore_dbus_inhibit = false
}
# Screenlock
listener {
timeout = 10000
on-timeout = ${pkgs.hyprlock}/bin/hyprlock
on-resume = ${pkgs.libnotify}/bin/notify-send "Welcome back ${config.home.username}!"
}
# Suspend
listener {
timeout = 10000
on-timeout = systemctl suspend
# on-resume = ${pkgs.libnotify}/bin/notify-send "Welcome back to your desktop!"
}
'';
}

View file

@ -1,16 +1,3 @@
{
self,
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
imports = [
];
wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;