Skip to content

Commit 0a8661c

Browse files
committed
treewide: rename stylix.testbed.ui.command.{useTerminal => terminal}
Simplify the testbed interface by renaming stylix.testbed.ui.command.useTerminal to stylix.testbed.ui.command.terminal.
1 parent 9596dec commit 0a8661c

File tree

21 files changed

+30
-31
lines changed

21 files changed

+30
-31
lines changed

doc/src/testbeds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ uses.
3737
- `command` takes a command to be run once the graphical environment
3838
has loaded
3939
- `packages` are forwarded to `environment.systemPackages`
40+
- `terminal` takes a boolean which determines whether the command
41+
should be run in a terminal
4042
- `text` takes the string of the command, which is deduced from
4143
`config.stylix.testbed.ui.command.packages` when it contains one
4244
package.
43-
- `useTerminal` takes a boolean which determines whether the command
44-
should be run in a terminal
4545

4646
### Home Manager
4747

modules/bat/testbeds/bat.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, ... }:
22
{
33
stylix.testbed.ui.command = {
4+
terminal = true;
45
text = "bat flake-parts/flake.nix";
5-
useTerminal = true;
66
};
77

88
home-manager.sharedModules = lib.singleton {

modules/btop/testbeds/btop.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, ... }:
22
{
33
stylix.testbed.ui.command = {
4+
terminal = true;
45
text = "btop";
5-
useTerminal = true;
66
};
77

88
home-manager.sharedModules = lib.singleton {

modules/cava/testbeds/cava-rainbow.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
stylix.testbed.ui.command = {
44
packages = [ pkgs.alsa-utils ];
5+
terminal = true;
56
text = "aplay /dev/urandom & cava";
6-
useTerminal = true;
77
};
88

99
home-manager.sharedModules = lib.singleton {

modules/cava/testbeds/cava.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
stylix.testbed.ui.command = {
44
packages = [ pkgs.alsa-utils ];
5+
terminal = true;
56
text = "aplay /dev/urandom & cava";
6-
useTerminal = true;
77
};
88

99
home-manager.sharedModules = lib.singleton {

modules/fish/testbeds/fish-hm.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, ... }:
22
{
33
stylix.testbed.ui.command = {
4+
terminal = true;
45
text = "fish";
5-
useTerminal = true;
66
};
77

88
home-manager.sharedModules = lib.singleton {

modules/fish/testbeds/fish-nixos.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
stylix.testbed.ui.command = {
3+
terminal = true;
34
text = "fish";
4-
useTerminal = true;
55
};
66

77
programs.fish.enable = true;

modules/fzf/testbeds/fzf.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, ... }:
22
{
33
stylix.testbed.ui.command = {
4+
terminal = true;
45
text = "fzf";
5-
useTerminal = true;
66
};
77

88
home-manager.sharedModules = lib.singleton {

modules/helix/testbeds/helix.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, ... }:
22
{
33
stylix.testbed.ui.command = {
4+
terminal = true;
45
text = "hx flake-parts/flake.nix";
5-
useTerminal = true;
66
};
77

88
home-manager.sharedModules = lib.singleton {

modules/lazygit/testbeds/lazygit.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{ lib, ... }:
22
{
33
stylix.testbed.ui.command = {
4+
terminal = true;
45
text = "git init && lazygit";
5-
useTerminal = true;
66
};
77

88
home-manager.sharedModules = lib.singleton {

0 commit comments

Comments
 (0)