-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df4ebe1
commit fd5b7b0
Showing
36 changed files
with
3,882 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
lib, | ||
inputs, | ||
snowfall-inputs, | ||
}: rec { | ||
colors = { | ||
without-hash = color: | ||
builtins.substring 1 (builtins.stringLength color) color; | ||
|
||
nord = { | ||
nord0 = "#2E3440"; | ||
nord1 = "#3B4252"; | ||
nord2 = "#434C5E"; | ||
nord3 = "#4C566A"; | ||
nord4 = "#D8DEE9"; | ||
nord5 = "#E5E9F0"; | ||
nord6 = "#ECEFF4"; | ||
nord7 = "#8FBCBB"; | ||
nord8 = "#88C0D0"; | ||
nord9 = "#81A1C1"; | ||
nord10 = "#5E81AC"; | ||
nord11 = "#BF616A"; | ||
nord12 = "#D08770"; | ||
nord13 = "#EBCB8B"; | ||
nord14 = "#A3BE8C"; | ||
nord15 = "#B48EAD"; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
config, | ||
lib, | ||
pkgs, | ||
... | ||
}: let | ||
cfg = config.plusultra.desktop.addons.ags.bar; | ||
|
||
inherit (lib) mkEnableOption mkOption mkIf types getExe; | ||
|
||
bar = pkgs.runCommandNoCC "plusultra-ags-bar" {} '' | ||
mkdir -p $out | ||
cp -r ${./src}/* $out/ | ||
rm -rf $out/css/index.css | ||
mkdir -p $out/css | ||
${lib.getExe pkgs.sassc}/bin/sassc $out/sass/index.scss $out/css/index.css | ||
rm -rf $out/styles/sass | ||
''; | ||
in { | ||
options.plusultra.desktop.addons.ags.bar = { | ||
enable = mkEnableOption "AGS Bar"; | ||
|
||
package = mkOption { | ||
type = types.package; | ||
default = pkgs.ags; | ||
description = "The package to use for AGS"; | ||
}; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
plusultra = { | ||
desktop.hyprland.settings = { | ||
exec-once = ["${getExe cfg.package} --config ${bar}/config.js"]; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# AGS Bar | ||
|
||
This bar is only possible thanks to the amazing work done by Aylur on [AGS](https://aylur.github.io/ags-docs/) | ||
as well as the excellent [reference bar created by elythh](https://github.com/elythh/nixdots/blob/ags). |
Oops, something went wrong.