rofi-wayland, hypridle, dolphin package

This commit is contained in:
foglar 2024-11-16 20:31:24 +01:00
parent f55e945bfd
commit 777427e1cf
3 changed files with 6 additions and 3 deletions

View File

@ -5,14 +5,14 @@ general {
} }
listener { 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-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restore. on-resume = brightnessctl -r # monitor backlight restore.
} }
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener { listener {
timeout = 180 # 3min timeout = 120 # 3min
on-timeout = loginctl lock-session # lock screen when timeout has passed on-timeout = loginctl lock-session # lock screen when timeout has passed
} }

View File

@ -4,6 +4,8 @@
hyprpicker hyprpicker
hypridle hypridle
kdePackages.dolphin
dunst dunst
libnotify libnotify
swayosd swayosd

View File

@ -10,7 +10,7 @@
config = lib.mkIf config.rofi.enable { config = lib.mkIf config.rofi.enable {
home.packages = [ home.packages = [
pkgs.rofi pkgs.rofi-wayland
]; ];
programs.rofi = { programs.rofi = {
@ -19,6 +19,7 @@
location = "center"; location = "center";
pass = {}; pass = {};
font = lib.mkDefault "JetBrainsMono NF 14"; font = lib.mkDefault "JetBrainsMono NF 14";
package = pkgs.rofi-wayland;
theme = let theme = let
inherit (config.lib.formats.rasi) mkLiteral; inherit (config.lib.formats.rasi) mkLiteral;
in { in {