fmt
This commit is contained in:
@@ -3,19 +3,21 @@
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.home.programs.waybar;
|
||||
# uwsm = lib.getExe pkgs.uwsm;
|
||||
waybar = lib.getExe pkgs.waybar;
|
||||
|
||||
waybarAssets = pkgs.runCommand "waybar-config-assets" {} ''
|
||||
waybarAssets = pkgs.runCommand "waybar-config-assets" { } ''
|
||||
mkdir -p $out/assets
|
||||
cp ${./assets/button.svg} $out/assets/button.svg
|
||||
cp ${./config/style.css} $out/style.css
|
||||
cp ${./config/config.jsonc} $out/config.jsonc
|
||||
'';
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
home.programs.waybar.enable = mkEnableOption "Enables waybar";
|
||||
};
|
||||
@@ -23,7 +25,7 @@ in {
|
||||
systemd.user.services.waybar = {
|
||||
Unit = {
|
||||
Description = "Highly customizable Wayland bar for Sway and Wlroots based compositors.";
|
||||
After = ["graphical-session.target"];
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "exec";
|
||||
@@ -32,7 +34,7 @@ in {
|
||||
Slice = "app-graphical.slice";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["graphical-session.target"];
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user