From 777427e1cf8eb87995ae24390318d64b0da7e166 Mon Sep 17 00:00:00 2001 From: foglar Date: Sat, 16 Nov 2024 20:31:24 +0100 Subject: [PATCH] rofi-wayland, hypridle, dolphin package --- config/hypridle.conf | 4 ++-- nixos/desktop/hyprland/packages.nix | 2 ++ nixos/desktop/hyprland/rofi.nix | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/hypridle.conf b/config/hypridle.conf index ccf54ce..4eb41d0 100644 --- a/config/hypridle.conf +++ b/config/hypridle.conf @@ -5,14 +5,14 @@ general { } listener { - timeout = 150 # 2.5min. + timeout = 90 # 1.5min. on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. on-resume = brightnessctl -r # monitor backlight restore. } # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. listener { - timeout = 180 # 3min + timeout = 120 # 3min on-timeout = loginctl lock-session # lock screen when timeout has passed } diff --git a/nixos/desktop/hyprland/packages.nix b/nixos/desktop/hyprland/packages.nix index d87eb48..8b33dbd 100644 --- a/nixos/desktop/hyprland/packages.nix +++ b/nixos/desktop/hyprland/packages.nix @@ -4,6 +4,8 @@ hyprpicker hypridle + kdePackages.dolphin + dunst libnotify swayosd diff --git a/nixos/desktop/hyprland/rofi.nix b/nixos/desktop/hyprland/rofi.nix index d4f20fe..545cbb7 100644 --- a/nixos/desktop/hyprland/rofi.nix +++ b/nixos/desktop/hyprland/rofi.nix @@ -10,7 +10,7 @@ config = lib.mkIf config.rofi.enable { home.packages = [ - pkgs.rofi + pkgs.rofi-wayland ]; programs.rofi = { @@ -19,6 +19,7 @@ location = "center"; pass = {}; font = lib.mkDefault "JetBrainsMono NF 14"; + package = pkgs.rofi-wayland; theme = let inherit (config.lib.formats.rasi) mkLiteral; in {