diff options
author | Akshay <[email protected]> | 2023-10-06 14:57:30 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2023-10-06 14:57:30 +0100 |
commit | 6452d3840b78d619018aa305e718ebd2a642caf4 (patch) | |
tree | 30b7a8a1c9c56475d1978e4a7c34e657dd46f456 /programs | |
parent | 1f5297bf737560fa2dd886fbb8cb94331cccf93a (diff) |
unify fonts
Diffstat (limited to 'programs')
-rw-r--r-- | programs/rofi.nix | 3 | ||||
-rw-r--r-- | programs/zathura.nix | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/programs/rofi.nix b/programs/rofi.nix index bdf5898..8ce77bf 100644 --- a/programs/rofi.nix +++ b/programs/rofi.nix | |||
@@ -1,6 +1,7 @@ | |||
1 | { config | 1 | { config |
2 | , pkgs | 2 | , pkgs |
3 | , theme | 3 | , theme |
4 | , font | ||
4 | , ... | 5 | , ... |
5 | }: | 6 | }: |
6 | 7 | ||
@@ -53,7 +54,7 @@ in | |||
53 | { | 54 | { |
54 | programs.rofi = { | 55 | programs.rofi = { |
55 | enable = true; | 56 | enable = true; |
56 | font = "Fira Code 21"; | 57 | font = "${font.name} 21"; |
57 | location = "top-left"; | 58 | location = "top-left"; |
58 | xoffset = 20; | 59 | xoffset = 20; |
59 | yoffset = 20; | 60 | yoffset = 20; |
diff --git a/programs/zathura.nix b/programs/zathura.nix index 9758c7a..6179781 100644 --- a/programs/zathura.nix +++ b/programs/zathura.nix | |||
@@ -1,6 +1,7 @@ | |||
1 | { config | 1 | { config |
2 | , pkgs | 2 | , pkgs |
3 | , theme | 3 | , theme |
4 | , font | ||
4 | , ... | 5 | , ... |
5 | }: | 6 | }: |
6 | 7 | ||
@@ -31,7 +32,7 @@ with theme; | |||
31 | statusbar-h-padding = "50"; | 32 | statusbar-h-padding = "50"; |
32 | statusbar-v-padding = "50"; | 33 | statusbar-v-padding = "50"; |
33 | guioptions = "s"; | 34 | guioptions = "s"; |
34 | font = "Nerd Input 10"; | 35 | font = "${font.name} 10"; |
35 | }; | 36 | }; |
36 | }; | 37 | }; |
37 | } | 38 | } |