mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
chore: use lib.getExe wherever possible
This commit is contained in:
parent
63d4a1b452
commit
2f48a2c279
6 changed files with 23 additions and 24 deletions
|
@ -18,7 +18,7 @@ in
|
|||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.hyprsunset}/bin/hyprsunset";
|
||||
ExecStart = "${lib.getExe pkgs.hyprsunset}";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
@ -35,7 +35,7 @@ in
|
|||
programs.rofi = {
|
||||
enable = true;
|
||||
package = pkgs.rofi-wayland;
|
||||
terminal = "${pkgs.kitty}/bin/kitty";
|
||||
terminal = "${lib.getExe pkgs.kitty}";
|
||||
theme =
|
||||
let
|
||||
inherit (config.lib.formats.rasi) mkLiteral;
|
||||
|
@ -156,7 +156,7 @@ in
|
|||
general = {
|
||||
lock_cmd =
|
||||
if cfg.screenlocker.useCrashFix then
|
||||
"pidof hyprlock || ${pkgs.grim}/bin/grim -o ${config.programs.hyprlock.settings.background.monitor} /tmp/__hyprlock-monitor-screenshot.png && ${pkgs.hyprlock}/bin/hyprlock"
|
||||
"pidof hyprlock || ${lib.getExe pkgs.grim} -o ${config.programs.hyprlock.settings.background.monitor} /tmp/__hyprlock-monitor-screenshot.png && ${lib.getExe pkgs.hyprlock}"
|
||||
else
|
||||
"pidof hyprlock || hyprlock";
|
||||
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue