summaryrefslogtreecommitdiff
path: root/common/modules
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules')
-rw-r--r--common/modules/mango/waybar.nix8
-rw-r--r--common/modules/matugen/default.nix8
-rw-r--r--common/modules/matugen/templates/matugen-sequences.nix41
3 files changed, 53 insertions, 4 deletions
diff --git a/common/modules/mango/waybar.nix b/common/modules/mango/waybar.nix
index b4aeb48..8ff9996 100644
--- a/common/modules/mango/waybar.nix
+++ b/common/modules/mango/waybar.nix
@@ -192,10 +192,10 @@ in
tooltip-format = "Power profile: {profile}\nDriver: {driver}";
tooltip = true;
format-icons = {
- default = " ";
- performance = " ";
- balanced = " ";
- power-saver = " ";
+ default = "NIGGA";
+ performance = "PERF";
+ balanced = "BAL";
+ power-saver = "LOW";
};
};
diff --git a/common/modules/matugen/default.nix b/common/modules/matugen/default.nix
index 45c6d50..316ff06 100644
--- a/common/modules/matugen/default.nix
+++ b/common/modules/matugen/default.nix
@@ -66,6 +66,10 @@ in
template = "colors-xresources";
target = "~/.config/x11/matugen.Xresources";
};
+ sequences = {
+ template = "sequences";
+ target = "~/.config/sequences";
+ };
};
};
};
@@ -183,6 +187,10 @@ in
input_path = '~/.config/matugen/templates/zed.json'
output_path = '~/.config/zed/themes/matugen.json'
+ [templates.sequences]
+ input_path = '~/.config/matugen/templates/sequences'
+ output_path = '~/.config/wallust/templates/sequences'
+
[templates.zen]
input_path = '~/.config/matugen/templates/zen.css'
output_path = '~/.config/wallust/templates/userChrome.css'
diff --git a/common/modules/matugen/templates/matugen-sequences.nix b/common/modules/matugen/templates/matugen-sequences.nix
new file mode 100644
index 0000000..d974ae9
--- /dev/null
+++ b/common/modules/matugen/templates/matugen-sequences.nix
@@ -0,0 +1,41 @@
+{
+ config,
+ lib,
+ ...
+}:
+{
+ config = lib.mkIf config.beeMods.matugen.enable {
+ xdg.configFile."matugen/templates/sequences" = {
+ text = ''
+ #!/bin/sh
+ SEQ=""
+ SEQ="$SEQ$(printf '\033]4;0;rgb:\{{color0 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;1;rgb:\{{color1 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;2;rgb:\{{color2 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;3;rgb:\{{color3 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;4;rgb:\{{color4 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;5;rgb:\{{color5 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;6;rgb:\{{color6 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;7;rgb:\{{color7 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;8;rgb:\{{color8 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;9;rgb:\{{color9 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;10;rgb:\{{color10 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;11;rgb:\{{color11 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;12;rgb:\{{color12 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;13;rgb:\{{color13 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;14;rgb:\{{color14 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]4;15;rgb:\{{color15 | xrgb}}\007')"
+ SEQ="$SEQ$(printf '\033]10;{{colors.on_surface.default.hex}}\007')"
+ SEQ="$SEQ$(printf '\033]11;{{colors.background.default.hex}}\007')"
+ SEQ="$SEQ$(printf '\033]12;{{colors.primary.default.hex}}\007')"
+ SEQ="$SEQ$(printf '\033]17;{{colors.on_surface.default.hex}}\007')"
+ SEQ="$SEQ$(printf '\033]19;{{colors.background.default.hex}}\007')"
+
+ for tty in /dev/pts/*; do
+ [ -w "$tty" ] && printf '%s' "$SEQ" > "$tty"
+ done
+ '';
+ executable = true;
+ };
+ };
+}