diff --git a/nixos/tiny-dfr-icons/backlight_high.svg b/nixos/tiny-dfr-icons/backlight_high.svg
new file mode 100644
index 00000000..73a41810
--- /dev/null
+++ b/nixos/tiny-dfr-icons/backlight_high.svg
@@ -0,0 +1,71 @@
+
+
diff --git a/nixos/tiny-dfr-icons/backlight_low.svg b/nixos/tiny-dfr-icons/backlight_low.svg
new file mode 100644
index 00000000..3f90233c
--- /dev/null
+++ b/nixos/tiny-dfr-icons/backlight_low.svg
@@ -0,0 +1,85 @@
+
+
diff --git a/nixos/tiny-dfr-icons/brightness_high.svg b/nixos/tiny-dfr-icons/brightness_high.svg
new file mode 100644
index 00000000..4f7d53be
--- /dev/null
+++ b/nixos/tiny-dfr-icons/brightness_high.svg
@@ -0,0 +1,96 @@
+
+
diff --git a/nixos/tiny-dfr-icons/brightness_low.svg b/nixos/tiny-dfr-icons/brightness_low.svg
new file mode 100644
index 00000000..aa90dcfb
--- /dev/null
+++ b/nixos/tiny-dfr-icons/brightness_low.svg
@@ -0,0 +1,100 @@
+
+
diff --git a/nixos/tiny-dfr-icons/fast_forward.svg b/nixos/tiny-dfr-icons/fast_forward.svg
new file mode 100644
index 00000000..4c78a1ad
--- /dev/null
+++ b/nixos/tiny-dfr-icons/fast_forward.svg
@@ -0,0 +1,78 @@
+
+
diff --git a/nixos/tiny-dfr-icons/fast_rewind.svg b/nixos/tiny-dfr-icons/fast_rewind.svg
new file mode 100644
index 00000000..bec88bd1
--- /dev/null
+++ b/nixos/tiny-dfr-icons/fast_rewind.svg
@@ -0,0 +1,78 @@
+
+
diff --git a/nixos/tiny-dfr-icons/next-workspace.svg b/nixos/tiny-dfr-icons/next-workspace.svg
new file mode 100644
index 00000000..0c37f929
--- /dev/null
+++ b/nixos/tiny-dfr-icons/next-workspace.svg
@@ -0,0 +1,64 @@
+
+
diff --git a/nixos/tiny-dfr-icons/play_pause.svg b/nixos/tiny-dfr-icons/play_pause.svg
new file mode 100644
index 00000000..d6ceacb6
--- /dev/null
+++ b/nixos/tiny-dfr-icons/play_pause.svg
@@ -0,0 +1,95 @@
+
+
diff --git a/nixos/tiny-dfr-icons/prev-workspace.svg b/nixos/tiny-dfr-icons/prev-workspace.svg
new file mode 100644
index 00000000..a211acbd
--- /dev/null
+++ b/nixos/tiny-dfr-icons/prev-workspace.svg
@@ -0,0 +1,64 @@
+
+
diff --git a/nixos/tiny-dfr-icons/volume_down.svg b/nixos/tiny-dfr-icons/volume_down.svg
new file mode 100644
index 00000000..013a42c7
--- /dev/null
+++ b/nixos/tiny-dfr-icons/volume_down.svg
@@ -0,0 +1,76 @@
+
+
diff --git a/nixos/tiny-dfr-icons/volume_off.svg b/nixos/tiny-dfr-icons/volume_off.svg
new file mode 100644
index 00000000..9ff6da96
--- /dev/null
+++ b/nixos/tiny-dfr-icons/volume_off.svg
@@ -0,0 +1,76 @@
+
+
diff --git a/nixos/tiny-dfr-icons/volume_up.svg b/nixos/tiny-dfr-icons/volume_up.svg
new file mode 100644
index 00000000..f7037c66
--- /dev/null
+++ b/nixos/tiny-dfr-icons/volume_up.svg
@@ -0,0 +1,76 @@
+
+
diff --git a/nixos/tiny-dfr.nix b/nixos/tiny-dfr.nix
index 3f124cd6..3818df46 100644
--- a/nixos/tiny-dfr.nix
+++ b/nixos/tiny-dfr.nix
@@ -18,4 +18,51 @@
Restart = "always";
};
};
+ environment.etc."tiny-dfr/next-workspace.svg".source = ./tiny-dfr-icons/next-workspace.svg;
+ environment.etc."tiny-dfr/prev-workspace.svg".source = ./tiny-dfr-icons/prev-workspace.svg;
+ environment.etc."tiny-dfr/brightness_high.svg".source = ./tiny-dfr-icons/brightness_high.svg;
+ environment.etc."tiny-dfr/brightness_low.svg".source = ./tiny-dfr-icons/brightness_low.svg;
+ environment.etc."tiny-dfr/backlight_high.svg".source = ./tiny-dfr-icons/backlight_high.svg;
+ environment.etc."tiny-dfr/backlight_low.svg".source = ./tiny-dfr-icons/backlight_low.svg;
+ environment.etc."tiny-dfr/play_pause.svg".source = ./tiny-dfr-icons/play_pause.svg;
+ environment.etc."tiny-dfr/fast_forward.svg".source = ./tiny-dfr-icons/fast_forward.svg;
+ environment.etc."tiny-dfr/fast_rewind.svg".source = ./tiny-dfr-icons/fast_rewind.svg;
+ environment.etc."tiny-dfr/volume_up.svg".source = ./tiny-dfr-icons/volume_up.svg;
+ environment.etc."tiny-dfr/volume_down.svg".source = ./tiny-dfr-icons/volume_down.svg;
+ environment.etc."tiny-dfr/volume_off.svg".source = ./tiny-dfr-icons/volume_off.svg;
+ environment.etc."tiny-dfr/config.toml".source = (pkgs.formats.toml {}).generate "tiny-dfr-config" {
+ FontTemplate = "monospace-12";
+ ActiveBrightness = 255;
+ ShowButtonOutlines = false;
+ MediaLayerDefault = true;
+
+ MediaLayerKeys = [
+ { Icon = "prev-workspace"; Action = "Finance"; } # bind me in the window manager!
+ { Icon = "next-workspace"; Action = "Sport"; } # bind me in the window manager!
+ { Icon = "brightness_low"; Action = "BrightnessDown"; }
+ { Icon = "brightness_high"; Action = "BrightnessUp"; }
+ { Icon = "backlight_low"; Action = "IllumDown"; }
+ { Icon = "backlight_high"; Action = "IllumUp"; }
+ { Icon = "fast_rewind"; Action = "PreviousSong"; }
+ { Icon = "play_pause"; Action = "PlayPause"; }
+ { Icon = "fast_forward"; Action = "NextSong"; }
+ { Icon = "volume_off"; Action = "Mute"; }
+ { Icon = "volume_down"; Action = "VolumeDown"; }
+ { Icon = "volume_up"; Action = "VolumeUp"; }
+ ];
+ PrimaryLayerKeys = [
+ { Text = "F1"; Action = "F1"; }
+ { Text = "F2"; Action = "F2"; }
+ { Text = "F3"; Action = "F3"; }
+ { Text = "F4"; Action = "F4"; }
+ { Text = "F5"; Action = "F5"; }
+ { Text = "F6"; Action = "F6"; }
+ { Text = "F7"; Action = "F7"; }
+ { Text = "F8"; Action = "F8"; }
+ { Text = "3"; Action = "Num3"; }
+ { Text = "F10"; Action = "F10"; }
+ { Text = "F11"; Action = "F11"; }
+ { Text = "F12"; Action = "F12"; }
+ ];
+ };
}