trimmed out hyprland config
This commit is contained in:
parent
5417b30ef0
commit
f59a5a8d9a
8 changed files with 4 additions and 56 deletions
|
|
@ -4,22 +4,18 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
## Import misc desktop files
|
|
||||||
./automount
|
|
||||||
../scripts
|
|
||||||
|
|
||||||
## Import common desktop configs
|
## Import common desktop configs
|
||||||
./hyprcursor.nix
|
./hyprcursor.nix
|
||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
./hypridle.nix
|
|
||||||
./wlogout.nix
|
./wlogout.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./wofi.nix
|
./wofi.nix
|
||||||
|
|
||||||
## Import individual desktop configs
|
|
||||||
./sway
|
./sway
|
||||||
./hypr
|
|
||||||
|
## Import misc. desktop configs
|
||||||
|
./automount
|
||||||
|
../scripts
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{ self, inputs, outputs, lib, config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./hyprland.nix # Hyprland config file
|
|
||||||
];
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -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!"
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +1,3 @@
|
||||||
{
|
|
||||||
self,
|
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue