Set Styling for rofi
This commit is contained in:
@@ -1,34 +1,35 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Hyprland and related packages
|
||||
home.packages = with pkgs; [
|
||||
hypridle
|
||||
];
|
||||
# Hyprland and related packages
|
||||
home.packages = with pkgs; [
|
||||
hypridle
|
||||
];
|
||||
|
||||
# Hypridle configuration
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "hyprlock";
|
||||
before_sleep_cmd = ''notify-send -u critical "Hey master, I’m getting sleepy… I’ll see you in my code dreams 💖" --icon
|
||||
="$HOME/.config/hypr/avatar.png" --app-name="Hyprlock"'';
|
||||
};
|
||||
# Hypridle configuration
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
ignore_dbus_inhibit = false;
|
||||
lock_cmd = "hyprlock";
|
||||
before_sleep_cmd = ''
|
||||
notify-send -u critical "Hey master, I’m getting sleepy… I’ll see you in my code dreams 💖" --icon
|
||||
="$HOME/.config/hypr/avatar.png" --app-name="Hyprlock"'';
|
||||
};
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 300;
|
||||
on-timeout = "hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user