diff --git a/tests/modules/programs/aerospace/settings-expected.toml b/tests/modules/programs/aerospace/settings-expected.toml index bb0fcaaa9..9d3f83201 100644 --- a/tests/modules/programs/aerospace/settings-expected.toml +++ b/tests/modules/programs/aerospace/settings-expected.toml @@ -1,35 +1,32 @@ after-login-command = [] start-at-login = false -[gaps] [gaps.outer] bottom = 8 left = 8 right = 8 top = 8 -[mode] -[mode.main] [mode.main.binding] alt-enter = "exec-and-forget osascript -e '\n tell application \"Terminal\"\n do script\n activate\n end tell'\n" -alt-h = 'focus left' -alt-j = 'focus down' -alt-k = 'focus up' -alt-l = 'focus right' +alt-h = "focus left" +alt-j = "focus down" +alt-k = "focus up" +alt-l = "focus right" [[on-window-detected]] -run = 'move-node-to-workspace 9' +run = "move-node-to-workspace 9" [on-window-detected.if] -app-id = 'com.apple.finder' +app-id = "com.apple.finder" [[on-window-detected]] check-further-callbacks = true -run = ['layout floating', 'move-node-to-workspace S'] +run = ["layout floating", "move-node-to-workspace S"] [on-window-detected.if] -app-id = 'com.apple.systempreferences' -app-name-regex-substring = 'settings' +app-id = "com.apple.systempreferences" +app-name-regex-substring = "settings" during-aerospace-startup = true -window-title-regex-substring = 'substring' -workspace = 'workspace-name' +window-title-regex-substring = "substring" +workspace = "workspace-name" diff --git a/tests/modules/programs/aiac/aiac.toml b/tests/modules/programs/aiac/aiac.toml index e3830a798..b4de8c9bc 100644 --- a/tests/modules/programs/aiac/aiac.toml +++ b/tests/modules/programs/aiac/aiac.toml @@ -1,11 +1,10 @@ -default_backend = 'official_openai' +default_backend = "official_openai" -[backends] [backends.localhost] -type = 'ollama' -url = 'http://localhost:11434/api' +type = "ollama" +url = "http://localhost:11434/api" [backends.official_openai] -api_key = 'API KEY' -default_model = 'gpt-4o' -type = 'openai' +api_key = "API KEY" +default_model = "gpt-4o" +type = "openai" diff --git a/tests/modules/programs/alacritty/example-settings-expected.toml b/tests/modules/programs/alacritty/example-settings-expected.toml index a2a3ed7ca..7b08aae84 100644 --- a/tests/modules/programs/alacritty/example-settings-expected.toml +++ b/tests/modules/programs/alacritty/example-settings-expected.toml @@ -1,10 +1,8 @@ -[keyboard] [[keyboard.bindings]] -chars = '\u000c' -key = 'K' -mods = 'Control' +chars = "\u000c" +key = "K" +mods = "Control" -[window] [window.dimensions] columns = 200 lines = 3 diff --git a/tests/modules/programs/alacritty/settings-toml-expected.toml b/tests/modules/programs/alacritty/settings-toml-expected.toml index 58f4e7f95..986c92f91 100644 --- a/tests/modules/programs/alacritty/settings-toml-expected.toml +++ b/tests/modules/programs/alacritty/settings-toml-expected.toml @@ -1,17 +1,14 @@ -[font] [font.bold] -family = 'SFMono' +family = "SFMono" [font.normal] -family = 'SFMono' +family = "SFMono" -[keyboard] [[keyboard.bindings]] -chars = '\u000c' -key = 'K' -mods = 'Control' +chars = "\u000c" +key = "K" +mods = "Control" -[window] [window.dimensions] columns = 200 lines = 3 diff --git a/tests/modules/programs/amfora/config.toml b/tests/modules/programs/amfora/config.toml index 3fbe0db18..a0c8767cb 100644 --- a/tests/modules/programs/amfora/config.toml +++ b/tests/modules/programs/amfora/config.toml @@ -4,7 +4,7 @@ auto_redirect = false bullets = true color = true highlight_code = true -highlight_style = 'monokai' -home = 'gemini://geminiprotocol.net' -http = 'default' -search = 'gemini://geminispace.info/search' +highlight_style = "monokai" +home = "gemini://geminiprotocol.net" +http = "default" +search = "gemini://geminispace.info/search" diff --git a/tests/modules/programs/anvil-editor/settings.toml b/tests/modules/programs/anvil-editor/settings.toml index 99962a072..a3d1a34af 100644 --- a/tests/modules/programs/anvil-editor/settings.toml +++ b/tests/modules/programs/anvil-editor/settings.toml @@ -1,12 +1,12 @@ [env] -BAR = 'FOO' -FOO = 'BAR' +BAR = "FOO" +FOO = "BAR" [general] -exec = ['aad', 'ado'] +exec = ["aad", "ado"] [layout] -column-tag = 'New Cut Paste Snarf Zerox Delcol' +column-tag = "New Cut Paste Snarf Zerox Delcol" [typesetting] replace-cr-with-tofu = false diff --git a/tests/modules/programs/aphorme/config.toml b/tests/modules/programs/aphorme/config.toml index 4d44a785f..bd81fa9fe 100644 --- a/tests/modules/programs/aphorme/config.toml +++ b/tests/modules/programs/aphorme/config.toml @@ -1,8 +1,8 @@ [app_cfg] -paths = ['$HOME/Desktop'] +paths = ["$HOME/Desktop"] [gui_cfg] font_size = 12 icon = true -ui_framework = 'EGUI' +ui_framework = "EGUI" window_size = [300, 300] diff --git a/tests/modules/programs/aria2p/settings.nix b/tests/modules/programs/aria2p/settings.nix index aab73f278..215e7f99e 100644 --- a/tests/modules/programs/aria2p/settings.nix +++ b/tests/modules/programs/aria2p/settings.nix @@ -22,13 +22,13 @@ home-files/.config/aria2p/config.toml \ ${builtins.toFile "aria2p-expected-config.toml" '' [colors] - FOCUSED_HEADER = 'BLACK NORMAL CYAN' - METADATA = 'WHITE UNDERLINE DEFAULT' - UI = 'WHITE BOLD DEFAULT' + FOCUSED_HEADER = "BLACK NORMAL CYAN" + METADATA = "WHITE UNDERLINE DEFAULT" + UI = "WHITE BOLD DEFAULT" [key_bindings] - AUTOCLEAR = 'c' - FILTER = ['F4', '\'] + AUTOCLEAR = "c" + FILTER = ["F4", "\\"] ''} ''; } diff --git a/tests/modules/programs/asciinema/settings.nix b/tests/modules/programs/asciinema/settings.nix index df8bd1b03..7c16b11f2 100644 --- a/tests/modules/programs/asciinema/settings.nix +++ b/tests/modules/programs/asciinema/settings.nix @@ -35,26 +35,26 @@ assertFileContent home-files/.config/asciinema/config.toml \ ${builtins.toFile "expected.asciinema_config.toml" '' [notifications] - command = 'tmux display-message "$TEXT"' + command = "tmux display-message \"$TEXT\"" enable = false [playback] - next_marker_key = 'm' - pause_key = '^p' + next_marker_key = "m" + pause_key = "^p" speed = 2 - step_key = 's' + step_key = "s" [server] - url = 'https://asciinema.example.com' + url = "https://asciinema.example.com" [session] - add_marker_key = '^x' - capture_env = 'SHELL,TERM,USER' + add_marker_key = "^x" + capture_env = "SHELL,TERM,USER" capture_input = true - command = '/run/current-system/sw/bin/bash -l' + command = "/run/current-system/sw/bin/bash -l" idle_time_limit = 2 - pause_key = '^p' - prefix_key = '^a' + pause_key = "^p" + prefix_key = "^a" ''} ''; } diff --git a/tests/modules/programs/ashell/basic-toml-config-expected.toml b/tests/modules/programs/ashell/basic-toml-config-expected.toml index 9684bfb35..6ec17dabc 100644 --- a/tests/modules/programs/ashell/basic-toml-config-expected.toml +++ b/tests/modules/programs/ashell/basic-toml-config-expected.toml @@ -1,8 +1,8 @@ [modules] -center = ['Window Title'] -left = ['Workspaces'] -right = ['SystemInfo', 'Clock'] +center = ["Window Title"] +left = ["Workspaces"] +right = ["SystemInfo", "Clock"] [workspaces] show_empty = true -visibility_mode = 'MonitorSpecific' +visibility_mode = "MonitorSpecific" diff --git a/tests/modules/programs/ashell/camelcase-migration-expected.toml b/tests/modules/programs/ashell/camelcase-migration-expected.toml index ec2fcaa59..41f2940b1 100644 --- a/tests/modules/programs/ashell/camelcase-migration-expected.toml +++ b/tests/modules/programs/ashell/camelcase-migration-expected.toml @@ -1,7 +1,7 @@ [modules] -center = ['WindowTitle'] -left = ['Workspaces'] -right = ['SystemInfo'] +center = ["WindowTitle"] +left = ["Workspaces"] +right = ["SystemInfo"] [system_info] refresh_rate = 1000 @@ -10,4 +10,4 @@ show_memory = true [workspaces] show_empty = true -visibility_mode = 'MonitorSpecific' +visibility_mode = "MonitorSpecific" diff --git a/tests/modules/programs/atuin/example-settings-expected.toml b/tests/modules/programs/atuin/example-settings-expected.toml index d0ee1413c..c1e92f146 100644 --- a/tests/modules/programs/atuin/example-settings-expected.toml +++ b/tests/modules/programs/atuin/example-settings-expected.toml @@ -1,4 +1,4 @@ +db_path = "~/.atuin-history.db" +dialect = "us" auto_sync = true -db_path = '~/.atuin-history.db' -dialect = 'us' -search-mode = 'fulltext' +search-mode = "fulltext" \ No newline at end of file diff --git a/tests/modules/programs/atuin/example-settings.nix b/tests/modules/programs/atuin/example-settings.nix index 180f1d53c..f2de2c321 100644 --- a/tests/modules/programs/atuin/example-settings.nix +++ b/tests/modules/programs/atuin/example-settings.nix @@ -15,9 +15,9 @@ home-files/.config/atuin/config.toml \ ${builtins.toFile "example-settings-expected.toml" '' auto_sync = true - db_path = '~/.atuin-history.db' - dialect = 'us' - search-mode = 'fulltext' + db_path = "~/.atuin-history.db" + dialect = "us" + search-mode = "fulltext" ''} ''; } diff --git a/tests/modules/programs/atuin/theme.nix b/tests/modules/programs/atuin/theme.nix index 34a6a42a5..1d1caaa37 100644 --- a/tests/modules/programs/atuin/theme.nix +++ b/tests/modules/programs/atuin/theme.nix @@ -16,11 +16,11 @@ home-files/.config/atuin/themes/my-theme.toml \ ${builtins.toFile "example-theme-expected.toml" '' [colors] - Base = '#000000' - Title = '#FFFFFF' + Base = "#000000" + Title = "#FFFFFF" [theme] - name = 'My Theme' + name = "My Theme" ''} ''; } diff --git a/tests/modules/programs/bacon/expected.toml b/tests/modules/programs/bacon/expected.toml index 94d8eff05..912cfd986 100644 --- a/tests/modules/programs/bacon/expected.toml +++ b/tests/modules/programs/bacon/expected.toml @@ -1,9 +1,8 @@ [export] enabled = true -line_format = '{kind} {path}:{line}:{column} {message}' -path = '.bacon-locations' +line_format = "{kind} {path}:{line}:{column} {message}" +path = ".bacon-locations" -[jobs] [jobs.ta] -command = ['cargo', 'test', '--all-features', '--color', 'always'] +command = ["cargo", "test", "--all-features", "--color", "always"] need_stdout = true diff --git a/tests/modules/programs/bottom/example-settings-expected.toml b/tests/modules/programs/bottom/example-settings-expected.toml index 1b2b2b56d..019a18253 100644 --- a/tests/modules/programs/bottom/example-settings-expected.toml +++ b/tests/modules/programs/bottom/example-settings-expected.toml @@ -1,6 +1,6 @@ [colors] -low_battery_color = 'red' +low_battery_color = "red" [flags] avg_cpu = true -temperature_type = 'c' +temperature_type = "c" diff --git a/tests/modules/programs/clock-rs/example-settings-expected.toml b/tests/modules/programs/clock-rs/example-settings-expected.toml index 0d2c189ca..b532d5bea 100644 --- a/tests/modules/programs/clock-rs/example-settings-expected.toml +++ b/tests/modules/programs/clock-rs/example-settings-expected.toml @@ -1,5 +1,5 @@ [date] -fmt = '%A, %B %d, %Y' +fmt = "%A, %B %d, %Y" hide_seconds = true use_12h = true utc = true @@ -7,9 +7,9 @@ utc = true [general] blink = true bold = true -color = 'magenta' +color = "magenta" interval = 250 [position] -horizontal = 'start' -vertical = 'end' +horizontal = "start" +vertical = "end" diff --git a/tests/modules/programs/codex/config.toml b/tests/modules/programs/codex/config.toml index 4ccc6ab20..abf9c7b47 100644 --- a/tests/modules/programs/codex/config.toml +++ b/tests/modules/programs/codex/config.toml @@ -1,8 +1,7 @@ -model = 'gemma3:latest' -model_provider = 'ollama' +model = "gemma3:latest" +model_provider = "ollama" -[model_providers] [model_providers.ollama] -baseURL = 'http://localhost:11434/v1' -envKey = 'OLLAMA_API_KEY' -name = 'Ollama' +baseURL = "http://localhost:11434/v1" +envKey = "OLLAMA_API_KEY" +name = "Ollama" diff --git a/tests/modules/programs/codex/mcp-integration-with-override.toml b/tests/modules/programs/codex/mcp-integration-with-override.toml index e677aaed2..bf046589c 100644 --- a/tests/modules/programs/codex/mcp-integration-with-override.toml +++ b/tests/modules/programs/codex/mcp-integration-with-override.toml @@ -1,19 +1,18 @@ -model = 'gpt-5-codex' +model = "gpt-5-codex" -[mcp_servers] [mcp_servers.context7] enabled = true -url = 'https://mcp.context7.com/mcp' +url = "https://mcp.context7.com/mcp" [mcp_servers.context7.http_headers] -CONTEXT7_API_KEY = '{env:CONTEXT7_API_KEY}' +CONTEXT7_API_KEY = "{env:CONTEXT7_API_KEY}" [mcp_servers.custom-server] enabled = true -enabled_tools = ['open', 'screenshot'] -url = 'http://localhost:3000/mcp' +enabled_tools = ["open", "screenshot"] +url = "http://localhost:3000/mcp" [mcp_servers.everything] -command = 'final-command' +command = "final-command" enabled = false tool_timeout_sec = 45 diff --git a/tests/modules/programs/codex/mcp-integration.toml b/tests/modules/programs/codex/mcp-integration.toml index af086c36f..c46f5acd0 100644 --- a/tests/modules/programs/codex/mcp-integration.toml +++ b/tests/modules/programs/codex/mcp-integration.toml @@ -1,17 +1,16 @@ -[mcp_servers] [mcp_servers.context7] enabled = true -url = 'https://mcp.context7.com/mcp' +url = "https://mcp.context7.com/mcp" [mcp_servers.context7.http_headers] -CONTEXT7_API_KEY = '{env:CONTEXT7_API_KEY}' +CONTEXT7_API_KEY = "{env:CONTEXT7_API_KEY}" [mcp_servers.disabled-server] -args = ['test'] -command = 'echo' +args = ["test"] +command = "echo" enabled = false [mcp_servers.everything] -args = ['-y', '@modelcontextprotocol/server-everything'] -command = 'npx' +args = ["-y", "@modelcontextprotocol/server-everything"] +command = "npx" enabled = true diff --git a/tests/modules/programs/comodoro/expected.toml b/tests/modules/programs/comodoro/expected.toml index a88e51d8c..9d0d4c564 100644 --- a/tests/modules/programs/comodoro/expected.toml +++ b/tests/modules/programs/comodoro/expected.toml @@ -1,14 +1,13 @@ [test-preset] -on-server-start = 'echo server started' -on-timer-stop = 'echo timer stopped' -on-work-begin = 'echo work cycle began' -tcp-host = 'localhost' +on-server-start = "echo server started" +on-timer-stop = "echo timer stopped" +on-work-begin = "echo work cycle began" +tcp-host = "localhost" tcp-port = 8080 - [[test-preset.cycles]] duration = 1500 -name = 'Work' +name = "Work" [[test-preset.cycles]] duration = 500 -name = 'Rest' +name = "Rest" diff --git a/tests/modules/programs/delta/delta-with-jujutsu-integration.nix b/tests/modules/programs/delta/delta-with-jujutsu-integration.nix index 143238760..d49463ff6 100644 --- a/tests/modules/programs/delta/delta-with-jujutsu-integration.nix +++ b/tests/modules/programs/delta/delta-with-jujutsu-integration.nix @@ -10,13 +10,12 @@ nmt.script = '' assertFileExists home-files/.config/jj/config.toml assertFileContent home-files/.config/jj/config.toml ${builtins.toFile "expected" '' - [merge-tools] [merge-tools.delta] diff-expected-exit-codes = [0, 1] [ui] - diff-formatter = ':git' - pager = '${lib.getExe config.programs.delta.finalPackage}' + diff-formatter = ":git" + pager = "${lib.getExe config.programs.delta.finalPackage}" ''} ''; } diff --git a/tests/modules/programs/direnv/toml-config-expected.toml b/tests/modules/programs/direnv/toml-config-expected.toml index d4f80b8c4..e034b3ceb 100644 --- a/tests/modules/programs/direnv/toml-config-expected.toml +++ b/tests/modules/programs/direnv/toml-config-expected.toml @@ -1,7 +1,7 @@ [global] hide_env_diff = true -log_filter = '^$' -log_format = '-' +log_filter = "^$" +log_format = "-" [whitelist] -prefix = ['/home/user/projects'] +prefix = ["/home/user/projects"] diff --git a/tests/modules/programs/gemini-cli/fix.toml b/tests/modules/programs/gemini-cli/fix.toml index b50ac1ca3..807be9f4c 100644 --- a/tests/modules/programs/gemini-cli/fix.toml +++ b/tests/modules/programs/gemini-cli/fix.toml @@ -1,2 +1,2 @@ -description = 'Generates a fix for a given GitHub issue.' -prompt = 'Please analyze the staged git changes and provide a code fix for the issue described here: {{args}}.' +description = "Generates a fix for a given GitHub issue." +prompt = "Please analyze the staged git changes and provide a code fix for the issue described here: {{args}}." diff --git a/tests/modules/programs/gemini-cli/my-rules.toml b/tests/modules/programs/gemini-cli/my-rules.toml index 958366814..0d8b2ad9e 100644 --- a/tests/modules/programs/gemini-cli/my-rules.toml +++ b/tests/modules/programs/gemini-cli/my-rules.toml @@ -1,5 +1,5 @@ [[rule]] -commandPrefix = 'git ' -decision = 'ask_user' +commandPrefix = "git " +decision = "ask_user" priority = 100 -toolName = 'run_shell_command' +toolName = "run_shell_command" diff --git a/tests/modules/programs/gemini-cli/other-rules.toml b/tests/modules/programs/gemini-cli/other-rules.toml index 927dcd288..30b1911dd 100644 --- a/tests/modules/programs/gemini-cli/other-rules.toml +++ b/tests/modules/programs/gemini-cli/other-rules.toml @@ -1,4 +1,4 @@ [[rule]] -decision = 'allow' +toolName = "read_file" +decision = "allow" priority = 50 -toolName = 'read_file' diff --git a/tests/modules/programs/git-cliff/example-settings.nix b/tests/modules/programs/git-cliff/example-settings.nix index b4043a788..eb23a7faf 100644 --- a/tests/modules/programs/git-cliff/example-settings.nix +++ b/tests/modules/programs/git-cliff/example-settings.nix @@ -13,8 +13,8 @@ assertFileContent \ home-files/.config/git-cliff/cliff.toml \ ${builtins.toFile "expected.toml" '' - footer = '' - header = 'Changelog' + footer = "" + header = "Changelog" trim = true ''} ''; diff --git a/tests/modules/programs/gurk-rs/basic-config.nix b/tests/modules/programs/gurk-rs/basic-config.nix index 1bfd35414..35f0d75e5 100644 --- a/tests/modules/programs/gurk-rs/basic-config.nix +++ b/tests/modules/programs/gurk-rs/basic-config.nix @@ -39,8 +39,8 @@ [keybindings] [user] - name = 'MYNAME' - phone_number = 'MYNUMBER' + name = "MYNAME" + phone_number = "MYNUMBER" ''} ''; } diff --git a/tests/modules/programs/halloy/example-config.toml b/tests/modules/programs/halloy/example-config.toml index 7b224f625..380c36231 100644 --- a/tests/modules/programs/halloy/example-config.toml +++ b/tests/modules/programs/halloy/example-config.toml @@ -1,10 +1,7 @@ -[buffer] -[buffer.channel] [buffer.channel.topic] enabled = true -[servers] [servers.liberachat] -channels = ['#halloy'] -nickname = 'halloy-user' -server = 'irc.libera.chat' +channels = ["#halloy"] +nickname = "halloy-user" +server = "irc.libera.chat" diff --git a/tests/modules/programs/halloy/my-theme.toml b/tests/modules/programs/halloy/my-theme.toml index db877e47f..88f1d431f 100644 --- a/tests/modules/programs/halloy/my-theme.toml +++ b/tests/modules/programs/halloy/my-theme.toml @@ -1,12 +1,12 @@ [general] -background = '' -border = '' -horizontal_rule = '' -unread_indicator = '' +background = "" +border = "" +horizontal_rule = "" +unread_indicator = "" [text] -error = '' -primary = '' -secondary = '' -success = '' -tertiary = '' +error = "" +primary = "" +secondary = "" +success = "" +tertiary = "" diff --git a/tests/modules/programs/helix/example-settings.nix b/tests/modules/programs/helix/example-settings.nix index 7e18be3ed..c8dd1d8e8 100644 --- a/tests/modules/programs/helix/example-settings.nix +++ b/tests/modules/programs/helix/example-settings.nix @@ -242,7 +242,7 @@ ${./theme-base16-expected.toml} assertFileContent \ home-files/.config/helix/themes/string.toml \ - ${./theme-base16-string-expected.toml} + ${./theme-base16-expected.toml} assertFileContent \ home-files/.config/helix/themes/path.toml \ ${./theme-base16-expected.toml} diff --git a/tests/modules/programs/helix/languages-expected.toml b/tests/modules/programs/helix/languages-expected.toml index 3f6188af7..cb77ed2b9 100644 --- a/tests/modules/programs/helix/languages-expected.toml +++ b/tests/modules/programs/helix/languages-expected.toml @@ -1,8 +1,7 @@ [[language]] auto-format = false -name = 'rust' +name = "rust" -[language-server] [language-server.typescript-language-server] -args = ['--stdio', '--tsserver-path=@typescript@/lib/node_modules/typescript/lib'] -command = '@typescript-language-server@/bin/typescript-language-server' +args = ["--stdio", "--tsserver-path=@typescript@/lib/node_modules/typescript/lib"] +command = "@typescript-language-server@/bin/typescript-language-server" diff --git a/tests/modules/programs/helix/settings-expected.toml b/tests/modules/programs/helix/settings-expected.toml index 05a439606..0e1001b7f 100644 --- a/tests/modules/programs/helix/settings-expected.toml +++ b/tests/modules/programs/helix/settings-expected.toml @@ -1,19 +1,18 @@ -theme = 'base16' +theme = "base16" [editor] -line-number = 'relative' +line-number = "relative" [editor.lsp] display-messages = true -[keys] [keys.normal] -esc = ['collapse_selection', 'keep_primary_selection'] +esc = ["collapse_selection", "keep_primary_selection"] [keys.normal.space] -q = ':q' -space = 'file_picker' -w = ':w' +q = ":q" +space = "file_picker" +w = ":w" [keys.normal.G] G = "goto_file_end" diff --git a/tests/modules/programs/helix/theme-base16-expected.toml b/tests/modules/programs/helix/theme-base16-expected.toml index b1b066e5b..25d0bef0c 100644 --- a/tests/modules/programs/helix/theme-base16-expected.toml +++ b/tests/modules/programs/helix/theme-base16-expected.toml @@ -1,74 +1,74 @@ -attributes = '#fabd2f' -constant = '#fe8019' -'constant.character.escape' = '#8ec07c' -'constant.numeric' = '#fe8019' -constructor = '#83a598' -debug = '#3c3836' -'diff.delta' = '#fabd2f' -'diff.minus' = '#fb4934' -'diff.plus' = '#b8bb26' -error = '#fb4934' -function = '#83a598' -hint = '#3c3836' -info = '#83a598' -keyword = '#d3869b' -label = '#d3869b' -namespace = '#83a598' -special = '#83a598' -string = '#b8bb26' -type = '#fabd2f' -'ui.menu' = 'none' -variable = '#fb4934' -'variable.builtin' = '#fe8019' -'variable.other.member' = '#fb4934' -warning = '#fabd2f' +attributes = "#fabd2f" +constant = "#fe8019" +"constant.character.escape" = "#8ec07c" +"constant.numeric" = "#fe8019" +constructor = "#83a598" +debug = "#3c3836" +"diff.delta" = "#fabd2f" +"diff.minus" = "#fb4934" +"diff.plus" = "#b8bb26" +error = "#fb4934" +function = "#83a598" +hint = "#3c3836" +info = "#83a598" +keyword = "#d3869b" +label = "#d3869b" +namespace = "#83a598" +special = "#83a598" +string = "#b8bb26" +type = "#fabd2f" +"ui.menu" = "none" +variable = "#fb4934" +"variable.builtin" = "#fe8019" +"variable.other.member" = "#fb4934" +warning = "#fabd2f" [comment] -fg = '#665c54' +fg = "#665c54" [diagnostic] -modifiers = ['underlined'] +modifiers = ["underlined"] -['ui.cursor'] -modifiers = ['reversed'] +["ui.cursor"] +modifiers = ["reversed"] -['ui.cursor.match'] -fg = '#fabd2f' -modifiers = ['underlined'] +["ui.cursor.match"] +fg = "#fabd2f" +modifiers = ["underlined"] -['ui.gutter'] -bg = '#282828' +["ui.gutter"] +bg = "#282828" -['ui.help'] -bg = '#fbf1c7' -fg = '#3c3836' +["ui.help"] +bg = "#fbf1c7" +fg = "#3c3836" -['ui.linenr'] -bg = '#3c3836' -fg = '#665c54' +["ui.linenr"] +bg = "#3c3836" +fg = "#665c54" -['ui.linenr.selected'] -bg = '#282828' -fg = '#fbf1c7' -modifiers = ['bold'] +["ui.linenr.selected"] +bg = "#282828" +fg = "#fbf1c7" +modifiers = ["bold"] -['ui.menu.selected'] -modifiers = ['reversed'] +["ui.menu.selected"] +modifiers = ["reversed"] -['ui.popup'] -modifiers = ['reversed'] +["ui.popup"] +modifiers = ["reversed"] -['ui.selection'] -bg = '#83a598' -fg = '#282828' +["ui.selection"] +bg = "#83a598" +fg = "#282828" -['ui.selection.primary'] -modifiers = ['reversed'] +["ui.selection.primary"] +modifiers = ["reversed"] -['ui.statusline'] -bg = '#3c3836' -fg = '#fbf1c7' +["ui.statusline"] +bg = "#3c3836" +fg = "#fbf1c7" -['ui.statusline.inactive'] -bg = '#fbf1c7' -fg = '#3c3836' +["ui.statusline.inactive"] +bg = "#fbf1c7" +fg = "#3c3836" diff --git a/tests/modules/programs/himalaya/basic-expected.toml b/tests/modules/programs/himalaya/basic-expected.toml index e8e8d955d..a8cb371fd 100644 --- a/tests/modules/programs/himalaya/basic-expected.toml +++ b/tests/modules/programs/himalaya/basic-expected.toml @@ -1,40 +1,36 @@ -[accounts] -[accounts.'hm@example.com'] +[accounts."hm@example.com"] default = true -display-name = 'H. M. Test' -email = 'hm@example.com' +display-name = "H. M. Test" +email = "hm@example.com" -[accounts.'hm@example.com'.backend] -host = 'imap.example.com' -login = 'home.manager' +[accounts."hm@example.com".backend] +host = "imap.example.com" +login = "home.manager" port = 993 -type = 'imap' +type = "imap" -[accounts.'hm@example.com'.backend.auth] -cmd = 'password-command' -type = 'password' +[accounts."hm@example.com".backend.auth] +cmd = "password-command" +type = "password" -[accounts.'hm@example.com'.backend.encryption] -type = 'tls' +[accounts."hm@example.com".backend.encryption] +type = "tls" -[accounts.'hm@example.com'.folder] -[accounts.'hm@example.com'.folder.aliases] -drafts = 'Drafts' -inbox = 'Inbox' -sent = 'Sent' -trash = 'Trash' +[accounts."hm@example.com".folder.aliases] +drafts = "Drafts" +inbox = "Inbox" +sent = "Sent" +trash = "Trash" -[accounts.'hm@example.com'.message] -[accounts.'hm@example.com'.message.send] -[accounts.'hm@example.com'.message.send.backend] -host = 'smtp.example.com' -login = 'home.manager' +[accounts."hm@example.com".message.send.backend] +host = "smtp.example.com" +login = "home.manager" port = 465 -type = 'smtp' +type = "smtp" -[accounts.'hm@example.com'.message.send.backend.auth] -cmd = 'password-command' -type = 'password' +[accounts."hm@example.com".message.send.backend.auth] +cmd = "password-command" +type = "password" -[accounts.'hm@example.com'.message.send.backend.encryption] -type = 'tls' +[accounts."hm@example.com".message.send.backend.encryption] +type = "tls" diff --git a/tests/modules/programs/i3bar-river/config.toml b/tests/modules/programs/i3bar-river/config.toml index 1cc662a63..d6a0f7cd3 100644 --- a/tests/modules/programs/i3bar-river/config.toml +++ b/tests/modules/programs/i3bar-river/config.toml @@ -1,11 +1,11 @@ -background = '#282828ff' -color = '#ffffffff' -font = 'monospace 10' +background = "#282828ff" +color = "#ffffffff" +font = "monospace 10" height = 24 margin_bottom = 0 margin_left = 0 margin_top = 0 -separator = '#9a8a62ff' +separator = "#9a8a62ff" -['wm.river'] +["wm.river"] max_tag = 0 diff --git a/tests/modules/programs/i3status-rust/with-custom.nix b/tests/modules/programs/i3status-rust/with-custom.nix index 2318bc6cf..e76ec77a6 100644 --- a/tests/modules/programs/i3status-rust/with-custom.nix +++ b/tests/modules/programs/i3status-rust/with-custom.nix @@ -115,89 +115,89 @@ ${pkgs.writeText "i3status-rust-expected-config" '' [[block]] alert = 10.0 - block = 'disk_space' - info_type = 'available' + block = "disk_space" + info_type = "available" interval = 60 - path = '/' + path = "/" warning = 20.0 [[block]] - block = 'memory' - display_type = 'memory' - format_mem = '{Mug}GB ({Mup}%)' - format_swap = '{SUp}%' + block = "memory" + display_type = "memory" + format_mem = "{Mug}GB ({Mup}%)" + format_swap = "{SUp}%" [[block]] - block = 'cpu' - format = ' $icon $barchart ' + block = "cpu" + format = " $icon $barchart " interval = 1 [[block]] - block = 'load' - format = ' $icon $1m $5m ' + block = "load" + format = " $icon $1m $5m " interval = 1 [[block]] - block = 'temperature' - chip = '*-isa-*' - format = '$icon $min min, $max max, $average avg' + block = "temperature" + chip = "*-isa-*" + format = "$icon $min min, $max max, $average avg" interval = 10 [[block]] - block = 'net' - device = 'enp9s0u2u1u2c2' + block = "net" + device = "enp9s0u2u1u2c2" interval = 5 [[block]] - block = 'speedtest' - format = ' ^icon_ping $ping ' + block = "speedtest" + format = " ^icon_ping $ping " [[block]] - block = 'xrandr' + block = "xrandr" interval = 6000 [[block]] - block = 'sound' - format = '{output_name} {volume}%' + block = "sound" + format = "{output_name} {volume}%" [[block.click]] - button = 'left' - cmd = 'pavucontrol --tab=3' + button = "left" + cmd = "pavucontrol --tab=3" [block.mappings] - 'alsa_output.pci-0000_00_1f.3.analog-stereo' = '' - 'bluez_sink.70_26_05_DA_27_A4.a2dp_sink' = '' + "alsa_output.pci-0000_00_1f.3.analog-stereo" = "" + "bluez_sink.70_26_05_DA_27_A4.a2dp_sink" = "" [[block]] - block = 'music' - buttons = ['play', 'prev', 'next'] - player = 'spotify' + block = "music" + buttons = ["play", "prev", "next"] + player = "spotify" [[block.click]] - action = 'music_play' - button = 'play' + action = "music_play" + button = "play" [[block.click]] - action = 'music_prev' - button = 'prev' + action = "music_prev" + button = "prev" [[block.click]] - action = 'music_next' - button = 'next' + action = "music_next" + button = "next" [[block]] - block = 'time' + block = "time" format = " $timestamp.datetime(f:'%a %d/%m %R') " interval = 60 [[block]] - block = 'battery' + block = "battery" [icons] - icons = 'awesome5' + icons = "awesome5" [theme] - theme = 'gruvbox-dark' + theme = "gruvbox-dark" ''} ''; }; diff --git a/tests/modules/programs/i3status-rust/with-default.nix b/tests/modules/programs/i3status-rust/with-default.nix index aa399db8a..64146f11c 100644 --- a/tests/modules/programs/i3status-rust/with-default.nix +++ b/tests/modules/programs/i3status-rust/with-default.nix @@ -19,39 +19,39 @@ ${pkgs.writeText "i3status-rust-expected-config" '' [[block]] alert = 10.0 - block = 'disk_space' - info_type = 'available' + block = "disk_space" + info_type = "available" interval = 60 - path = '/' + path = "/" warning = 20.0 [[block]] - block = 'memory' - format = ' $icon mem_used_percents ' - format_alt = ' $icon $swap_used_percents ' + block = "memory" + format = " $icon mem_used_percents " + format_alt = " $icon $swap_used_percents " [[block]] - block = 'cpu' + block = "cpu" interval = 1 [[block]] - block = 'load' - format = ' $icon $1m ' + block = "load" + format = " $icon $1m " interval = 1 [[block]] - block = 'sound' + block = "sound" [[block]] - block = 'time' + block = "time" format = " $timestamp.datetime(f:'%a %d/%m %R') " interval = 60 [icons] - icons = 'none' + icons = "none" [theme] - theme = 'plain' + theme = "plain" ''} ''; }; diff --git a/tests/modules/programs/i3status-rust/with-extra-settings.nix b/tests/modules/programs/i3status-rust/with-extra-settings.nix index d2bba50fc..5ac2ea555 100644 --- a/tests/modules/programs/i3status-rust/with-extra-settings.nix +++ b/tests/modules/programs/i3status-rust/with-extra-settings.nix @@ -125,93 +125,93 @@ ${pkgs.writeText "i3status-rust-expected-config" '' [[block]] alert = 10.0 - block = 'disk_space' - info_type = 'available' + block = "disk_space" + info_type = "available" interval = 60 - path = '/' + path = "/" warning = 20.0 [[block]] - block = 'memory' - display_type = 'memory' - format_mem = '{Mug}GB ({Mup}%)' - format_swap = '{SUp}%' + block = "memory" + display_type = "memory" + format_mem = "{Mug}GB ({Mup}%)" + format_swap = "{SUp}%" [[block]] - block = 'cpu' - format = ' $icon $barchart ' + block = "cpu" + format = " $icon $barchart " interval = 1 [[block]] - block = 'load' - format = ' $icon $1m $5m ' + block = "load" + format = " $icon $1m $5m " interval = 1 [[block]] - block = 'temperature' - chip = '*-isa-*' - format = '$icon $min min, $max max, $average avg' + block = "temperature" + chip = "*-isa-*" + format = "$icon $min min, $max max, $average avg" interval = 10 [[block]] - block = 'net' - device = 'enp9s0u2u1u2c2' + block = "net" + device = "enp9s0u2u1u2c2" interval = 5 [[block]] - block = 'speedtest' - format = ' ^icon_ping $ping ' + block = "speedtest" + format = " ^icon_ping $ping " [[block]] - block = 'xrandr' + block = "xrandr" interval = 6000 [[block]] - block = 'sound' - format = '{output_name} {volume}%' + block = "sound" + format = "{output_name} {volume}%" [[block.click]] - button = 'left' - cmd = 'pavucontrol --tab=3' + button = "left" + cmd = "pavucontrol --tab=3" [block.mappings] - 'alsa_output.pci-0000_00_1f.3.analog-stereo' = '' - 'bluez_sink.70_26_05_DA_27_A4.a2dp_sink' = '' + "alsa_output.pci-0000_00_1f.3.analog-stereo" = "" + "bluez_sink.70_26_05_DA_27_A4.a2dp_sink" = "" [[block]] - block = 'music' - buttons = ['play', 'prev', 'next'] - player = 'spotify' + block = "music" + buttons = ["play", "prev", "next"] + player = "spotify" [[block.click]] - action = 'music_play' - button = 'play' + action = "music_play" + button = "play" [[block.click]] - action = 'music_prev' - button = 'prev' + action = "music_prev" + button = "prev" [[block.click]] - action = 'music_next' - button = 'next' + action = "music_next" + button = "next" [[block]] - block = 'time' + block = "time" format = " $timestamp.datetime(f:'%a %d/%m %R') " interval = 60 [[block]] - block = 'battery' + block = "battery" [icons] - icons = 'awesome5' + icons = "awesome5" [theme] - theme = 'solarized-dark' + theme = "solarized-dark" [theme.overrides] - idle_bg = '#123456' - idle_fg = '#abcdef' + idle_bg = "#123456" + idle_fg = "#abcdef" ''} ''; }; diff --git a/tests/modules/programs/i3status-rust/with-multiple-bars.nix b/tests/modules/programs/i3status-rust/with-multiple-bars.nix index 572fc6a08..a24ce5f37 100644 --- a/tests/modules/programs/i3status-rust/with-multiple-bars.nix +++ b/tests/modules/programs/i3status-rust/with-multiple-bars.nix @@ -59,21 +59,21 @@ ${pkgs.writeText "i3status-rust-expected-config" '' [[block]] alert = 10.0 - block = 'disk_space' - info_type = 'available' + block = "disk_space" + info_type = "available" interval = 60 warning = 20.0 [[block]] - block = 'memory' - format_mem = ' $icon $Mug ($Mup) ' - format_swap = ' $icon $SUp ' + block = "memory" + format_mem = " $icon $Mug ($Mup) " + format_swap = " $icon $SUp " [icons] - icons = 'none' + icons = "none" [theme] - theme = 'plain' + theme = "plain" ''} assertFileExists home-files/.config/i3status-rust/config-bottom.toml @@ -81,20 +81,20 @@ home-files/.config/i3status-rust/config-bottom.toml \ ${pkgs.writeText "i3status-rust-expected-config" '' [[block]] - block = 'cpu' - format = ' $icon $barchart ' + block = "cpu" + format = " $icon $barchart " interval = 1 [[block]] - block = 'load' - format = ' $icon $1m $5m ' + block = "load" + format = " $icon $1m $5m " interval = 1 [icons] - icons = 'awesome5' + icons = "awesome5" [theme] - theme = 'gruvbox-dark' + theme = "gruvbox-dark" ''} ''; }; diff --git a/tests/modules/programs/i3status-rust/with-version-02xx.nix b/tests/modules/programs/i3status-rust/with-version-02xx.nix index b509160f4..1c0ec46ab 100644 --- a/tests/modules/programs/i3status-rust/with-version-02xx.nix +++ b/tests/modules/programs/i3status-rust/with-version-02xx.nix @@ -17,36 +17,35 @@ assertFileExists home-files/.config/i3status-rust/config-default.toml assertFileContent home-files/.config/i3status-rust/config-default.toml \ ${pkgs.writeText "i3status-rust-expected-config" '' - icons = 'none' - theme = 'plain' - + icons = "none" + theme = "plain" [[block]] alert = 10.0 - block = 'disk_space' - info_type = 'available' + block = "disk_space" + info_type = "available" interval = 60 - path = '/' + path = "/" warning = 20.0 [[block]] - block = 'memory' - format = ' $icon mem_used_percents ' - format_alt = ' $icon $swap_used_percents ' + block = "memory" + format = " $icon mem_used_percents " + format_alt = " $icon $swap_used_percents " [[block]] - block = 'cpu' + block = "cpu" interval = 1 [[block]] - block = 'load' - format = ' $icon $1m ' + block = "load" + format = " $icon $1m " interval = 1 [[block]] - block = 'sound' + block = "sound" [[block]] - block = 'time' + block = "time" format = " $timestamp.datetime(f:'%a %d/%m %R') " interval = 60 ''} diff --git a/tests/modules/programs/infat/example-settings.nix b/tests/modules/programs/infat/example-settings.nix index 465feb950..a9980d788 100644 --- a/tests/modules/programs/infat/example-settings.nix +++ b/tests/modules/programs/infat/example-settings.nix @@ -23,13 +23,13 @@ expectedConfigPath = "home-files/.config/infat/config.toml"; expectedConfigContent = pkgs.writeText "infat.config.expected" '' [extensions] - md = 'TextEdit' + md = "TextEdit" [schemes] - web = 'Safari' + web = "Safari" [types] - plain-text = 'VSCode' + plain-text = "VSCode" ''; in '' diff --git a/tests/modules/programs/inori/full-config.toml b/tests/modules/programs/inori/full-config.toml index a74bbc7e7..f70e1c433 100644 --- a/tests/modules/programs/inori/full-config.toml +++ b/tests/modules/programs/inori/full-config.toml @@ -2,32 +2,31 @@ dvorak_keybindings = true seek_seconds = 10 [keybindings] -bottom = ['G', ''] -down = 'j' -left = 'h' -next_song = ['>', 'C-n'] -previous_song = ['<', 'C-p'] -quit = ['', 'q'] -right = 'l' -seek = '' -seek_backwards = '' -toggle_playpause = ['p', ''] -top = ['g g', ''] -up = 'k' +bottom = ["G", ""] +down = "j" +left = "h" +next_song = [">", "C-n"] +previous_song = ["<", "C-p"] +quit = ["", "q"] +right = "l" +seek = "" +seek_backwards = "" +toggle_playpause = ["p", ""] +top = ["g g", ""] +up = "k" -[theme] [theme.album] -fg = '#89b4fa' +fg = "#89b4fa" [theme.playing] -fg = '#a6e3a1' +fg = "#a6e3a1" [theme.status_album] -fg = '#89b4fa' +fg = "#89b4fa" [theme.status_artist] -fg = '#fab387' +fg = "#fab387" [theme.status_title] -add_modifier = 'BOLD' -fg = '#cba6f7' +add_modifier = "BOLD" +fg = "#cba6f7" diff --git a/tests/modules/programs/intelli-shell/config.toml b/tests/modules/programs/intelli-shell/config.toml index da266ec11..3f5ccbba7 100644 --- a/tests/modules/programs/intelli-shell/config.toml +++ b/tests/modules/programs/intelli-shell/config.toml @@ -1,18 +1,18 @@ check_updates = false -data_dir = '/home/myuser/my/custom/datadir' +data_dir = "/home/myuser/my/custom/datadir" [logs] enabled = false [theme] -accent = 'yellow' -comment = 'italic green' -error = 'dark red' -highlight = 'darkgrey' -highlight_accent = 'yellow' -highlight_comment = 'italic green' -highlight_primary = 'default' -highlight_secondary = 'default' -highlight_symbol = '» ' -primary = 'default' -secondary = 'dim' +accent = "yellow" +comment = "italic green" +error = "dark red" +highlight = "darkgrey" +highlight_accent = "yellow" +highlight_comment = "italic green" +highlight_primary = "default" +highlight_secondary = "default" +highlight_symbol = "» " +primary = "default" +secondary = "dim" diff --git a/tests/modules/programs/jjui/example-settings-expected.toml b/tests/modules/programs/jjui/example-settings-expected.toml index ec5f69945..9e4b424e3 100644 --- a/tests/modules/programs/jjui/example-settings-expected.toml +++ b/tests/modules/programs/jjui/example-settings-expected.toml @@ -1,3 +1,3 @@ [revisions] -revset = 'ancestors(@ | heads(remote_branches())) ~ empty()' -template = 'builtin_log_compact' +revset = "ancestors(@ | heads(remote_branches())) ~ empty()" +template = "builtin_log_compact" diff --git a/tests/modules/programs/jjui/null-package.nix b/tests/modules/programs/jjui/null-package.nix index 08c93b054..5b77be391 100644 --- a/tests/modules/programs/jjui/null-package.nix +++ b/tests/modules/programs/jjui/null-package.nix @@ -22,7 +22,7 @@ "home-files/${configDir}/config.toml" \ ${pkgs.writeText "expected" '' [revisions] - template = 'builtin_log_oneline' + template = "builtin_log_oneline" ''} ''; }; diff --git a/tests/modules/programs/jujutsu/example-config.nix b/tests/modules/programs/jujutsu/example-config.nix index 0d1c01de7..35498315a 100644 --- a/tests/modules/programs/jujutsu/example-config.nix +++ b/tests/modules/programs/jujutsu/example-config.nix @@ -32,14 +32,13 @@ in assertFileExists 'home-files/${configDir}/jj/config.toml' assertFileContent $(normalizeStorePaths 'home-files/${configDir}/jj/config.toml') \ ${builtins.toFile "expected.toml" '' - [merge-tools] [merge-tools.ediff] - merge-args = ['$left', '$right', '$base', '$output'] - program = '/nix/store/00000000000000000000000000000000-emacs-ediff/bin/emacs-ediff' + merge-args = ["$left", "$right", "$base", "$output"] + program = "/nix/store/00000000000000000000000000000000-emacs-ediff/bin/emacs-ediff" [user] - email = 'jdoe@example.org' - name = 'John Doe' + email = "jdoe@example.org" + name = "John Doe" ''} ''; } diff --git a/tests/modules/programs/kickoff/example-config.toml b/tests/modules/programs/kickoff/example-config.toml index 2a8299cab..27516803c 100644 --- a/tests/modules/programs/kickoff/example-config.toml +++ b/tests/modules/programs/kickoff/example-config.toml @@ -5,9 +5,9 @@ padding = 100 decrease_interval = 48 [keybinding] -complete = ['Tab'] -execute = ['KP_Enter', 'Return'] -paste = ['ctrl+v'] +complete = ["Tab"] +execute = ["KP_Enter", "Return"] +paste = ["ctrl+v"] [search] show_hidden_files = false diff --git a/tests/modules/programs/lapce/example-keymaps-expected.toml b/tests/modules/programs/lapce/example-keymaps-expected.toml index b3f71bc0c..26d4403c4 100644 --- a/tests/modules/programs/lapce/example-keymaps-expected.toml +++ b/tests/modules/programs/lapce/example-keymaps-expected.toml @@ -1,3 +1,3 @@ [[keymaps]] -command = 'open_log_file' -key = 'Ctrl+Shift+L' +command = "open_log_file" +key = "Ctrl+Shift+L" diff --git a/tests/modules/programs/lapce/example-settings-expected.toml b/tests/modules/programs/lapce/example-settings-expected.toml index 03fb57b19..e279a54a6 100644 --- a/tests/modules/programs/lapce/example-settings-expected.toml +++ b/tests/modules/programs/lapce/example-settings-expected.toml @@ -1,15 +1,15 @@ [core] -color-theme = 'Custom' +color-theme = "Custom" custom-titlebar = false -icon-theme = 'Material Icons' +icon-theme = "Material Icons" [editor] bracket-pair-colorization = true cursor-surrounding-lines = 4 -font-family = 'FiraCode Nerd Bold Font, monospace' +font-family = "FiraCode Nerd Bold Font, monospace" font-size = 22 highlight-matching-brackets = true -render-whitespace = 'all' +render-whitespace = "all" tab-width = 2 [ui] diff --git a/tests/modules/programs/lazysql/example-config.toml b/tests/modules/programs/lazysql/example-config.toml index 21419c52d..75ec68bbb 100644 --- a/tests/modules/programs/lazysql/example-config.toml +++ b/tests/modules/programs/lazysql/example-config.toml @@ -4,17 +4,16 @@ DisableSidebar = false SidebarOverlay = false [[database]] -DBName = 'foo' -Name = 'Production database' -Provider = 'postgres' -URL = 'postgres://postgres:urlencodedpassword@localhost:$${port}/foo' - +DBName = "foo" +Name = "Production database" +Provider = "postgres" +URL = "postgres://postgres:urlencodedpassword@localhost:$${port}/foo" [[database.Commands]] -Command = 'ssh -tt remote-bastion -L $${port}:localhost:5432' -WaitForPort = '$${port}' +Command = "ssh -tt remote-bastion -L $${port}:localhost:5432" +WaitForPort = "$${port}" [[database]] -DBName = 'foo' -Name = 'Development database' -Provider = 'postgres' -URL = 'postgres://postgres:urlencodedpassword@localhost:5432/foo' +DBName = "foo" +Name = "Development database" +Provider = "postgres" +URL = "postgres://postgres:urlencodedpassword@localhost:5432/foo" diff --git a/tests/modules/programs/macchina/basic-settings-expected.toml b/tests/modules/programs/macchina/basic-settings-expected.toml index b071cc651..2bb037c5e 100644 --- a/tests/modules/programs/macchina/basic-settings-expected.toml +++ b/tests/modules/programs/macchina/basic-settings-expected.toml @@ -1,10 +1,10 @@ current_shell = false disk_space_percentage = true -disks = ['/', '/home'] +disks = ["/", "/home"] long_kernel = false long_shell = true long_uptime = true memory_percentage = true physical_cores = false -show = ['Memory', 'Processor', 'Shell', 'Uptime'] -theme = 'Hydrogen' +show = ["Memory", "Processor", "Shell", "Uptime"] +theme = "Hydrogen" diff --git a/tests/modules/programs/macchina/full-theme-expected.toml b/tests/modules/programs/macchina/full-theme-expected.toml index 245cb1350..0454ebd0c 100644 --- a/tests/modules/programs/macchina/full-theme-expected.toml +++ b/tests/modules/programs/macchina/full-theme-expected.toml @@ -1,21 +1,21 @@ hide_ascii = true -key_color = 'Cyan' +key_color = "Cyan" padding = 1 prefer_small_ascii = true -separator = '>' -separator_color = 'White' +separator = ">" +separator_color = "White" spacing = 2 [bar] -glyph = 'o' +glyph = "o" hide_delimiters = true -symbol_close = ']' -symbol_open = '[' +symbol_close = "]" +symbol_open = "[" visible = true [box] -border = 'rounded' -title = 'Hydrogen' +border = "rounded" +title = "Hydrogen" visible = true [box.inner_margin] @@ -23,34 +23,34 @@ x = 1 y = 0 [custom_ascii] -color = 'Cyan' -path = '~/ascii/arch_linux' +color = "Cyan" +path = "~/ascii/arch_linux" [keys] -backlight = 'Brightness' -battery = 'Battery' -cpu = 'CPU' -cpu_load = 'CPU Load' -de = 'DE' -disk_space = 'Disk Space' -distro = 'Distro' -gpu = 'GPU' -host = 'Host' -kernel = 'Kernel' -local_ip = 'Local IP' -machine = 'Machine' -memory = 'Memory' -os = 'OS' -packages = 'Packages' -resolution = 'Resolution' -shell = 'Shell' -terminal = 'Terminal' -uptime = 'Uptime' -wm = 'WM' +backlight = "Brightness" +battery = "Battery" +cpu = "CPU" +cpu_load = "CPU Load" +de = "DE" +disk_space = "Disk Space" +distro = "Distro" +gpu = "GPU" +host = "Host" +kernel = "Kernel" +local_ip = "Local IP" +machine = "Machine" +memory = "Memory" +os = "OS" +packages = "Packages" +resolution = "Resolution" +shell = "Shell" +terminal = "Terminal" +uptime = "Uptime" +wm = "WM" [palette] -glyph = '() ' -type = 'Full' +glyph = "() " +type = "Full" visible = true [randomize] diff --git a/tests/modules/programs/macchina/multiple-themes-helium-expected.toml b/tests/modules/programs/macchina/multiple-themes-helium-expected.toml index 81b0640e7..da454d76e 100644 --- a/tests/modules/programs/macchina/multiple-themes-helium-expected.toml +++ b/tests/modules/programs/macchina/multiple-themes-helium-expected.toml @@ -1,3 +1,3 @@ -key_color = 'Blue' -separator = '-->' +key_color = "Blue" +separator = "-->" spacing = 1 diff --git a/tests/modules/programs/macchina/multiple-themes-neon-expected.toml b/tests/modules/programs/macchina/multiple-themes-neon-expected.toml index aa337809b..968816231 100644 --- a/tests/modules/programs/macchina/multiple-themes-neon-expected.toml +++ b/tests/modules/programs/macchina/multiple-themes-neon-expected.toml @@ -1,11 +1,11 @@ hide_ascii = true -separator = '=>' -separator_color = '#ff00ff' +separator = "=>" +separator_color = "#ff00ff" spacing = 3 [bar] -glyph = '#' +glyph = "#" hide_delimiters = false -symbol_close = ')' -symbol_open = '(' +symbol_close = ")" +symbol_open = "(" visible = true diff --git a/tests/modules/programs/macchina/multiple-themes-settings-expected.toml b/tests/modules/programs/macchina/multiple-themes-settings-expected.toml index 276d3db4d..d2e0a1a07 100644 --- a/tests/modules/programs/macchina/multiple-themes-settings-expected.toml +++ b/tests/modules/programs/macchina/multiple-themes-settings-expected.toml @@ -1 +1 @@ -theme = 'Helium' +theme = "Helium" diff --git a/tests/modules/programs/meli/expected.toml b/tests/modules/programs/meli/expected.toml index e650f6494..f33a2b88f 100644 --- a/tests/modules/programs/meli/expected.toml +++ b/tests/modules/programs/meli/expected.toml @@ -1,39 +1,37 @@ -[accounts] -[accounts.'hm@example.com'] -display_name = 'H. M. Test' -format = 'Maildir' -identity = 'hm@example.com' -root_mailbox = '/home/hm-user/Mail/hm@example.com' -subscribed_mailboxes = ['Inbox', 'Sent', 'Trash', 'Drafts'] +[accounts."hm@example.com"] +display_name = "H. M. Test" +format = "Maildir" +identity = "hm@example.com" +root_mailbox = "/home/hm-user/Mail/hm@example.com" +subscribed_mailboxes = ["Inbox", "Sent", "Trash", "Drafts"] -[accounts.'hm@example.com'.listing] -index_style = 'compact' +[accounts."hm@example.com".listing] +index_style = "compact" -[accounts.'hm@example.com'.mailboxes] +[accounts."hm@example.com".mailboxes] -[accounts.'hm@example.com'.send_mail] -hostname = 'smtp.example.com' +[accounts."hm@example.com".send_mail] +hostname = "smtp.example.com" port = 1848 -[accounts.'hm@example.com'.send_mail.auth] -type = 'auto' -username = 'home.manager' +[accounts."hm@example.com".send_mail.auth] +type = "auto" +username = "home.manager" -[accounts.'hm@example.com'.send_mail.auth.password] -type = 'command_eval' -value = 'password-command' +[accounts."hm@example.com".send_mail.auth.password] +type = "command_eval" +value = "password-command" -[accounts.'hm@example.com'.send_mail.extensions] +[accounts."hm@example.com".send_mail.extensions] CHUNKING = true -DSN_NOTIFY = 'FAILURE' +DSN_NOTIFY = "FAILURE" PIPELINING = true PRDR = true -[accounts.'hm@example.com'.send_mail.security] +[accounts."hm@example.com".send_mail.security] danger_accept_invalid_certs = false -type = 'tls' +type = "tls" -[shortcuts] [shortcuts.general] -scroll_down = 'j' -scroll_up = 'k' +scroll_down = "j" +scroll_up = "k" diff --git a/tests/modules/programs/mergiraf/jujutsu-integration.nix b/tests/modules/programs/mergiraf/jujutsu-integration.nix index bdd7ef862..bee3b6727 100644 --- a/tests/modules/programs/mergiraf/jujutsu-integration.nix +++ b/tests/modules/programs/mergiraf/jujutsu-integration.nix @@ -31,12 +31,11 @@ in assertFileExists 'home-files/${configDir}/jj/config.toml' assertFileContent 'home-files/${configDir}/jj/config.toml' \ ${builtins.toFile "expected.toml" '' - [merge-tools] [merge-tools.mergiraf] - program = '@mergiraf@/bin/mergiraf' + program = "@mergiraf@/bin/mergiraf" [ui] - merge-editor = 'mergiraf' + merge-editor = "mergiraf" ''} ''; } diff --git a/tests/modules/programs/mise/custom-settings-renamed.nix b/tests/modules/programs/mise/custom-settings-renamed.nix index 9886c97e2..9f583aa55 100644 --- a/tests/modules/programs/mise/custom-settings-renamed.nix +++ b/tests/modules/programs/mise/custom-settings-renamed.nix @@ -27,7 +27,7 @@ assertFileContent home-files/.config/mise/config.toml ${pkgs.writeText "mise.config.expected" '' [settings] - disable_tools = ['node'] + disable_tools = ["node"] experimental = true verbose = false ''} diff --git a/tests/modules/programs/mise/custom-settings.nix b/tests/modules/programs/mise/custom-settings.nix index a219c4a56..e0291ec5c 100644 --- a/tests/modules/programs/mise/custom-settings.nix +++ b/tests/modules/programs/mise/custom-settings.nix @@ -37,18 +37,16 @@ assertFileContent home-files/.config/mise/config.toml ${pkgs.writeText "mise.config.expected" '' [settings] - disable_tools = ['node'] + disable_tools = ["node"] experimental = true verbose = false - [tool_alias] - [tool_alias.node] [tool_alias.node.versions] - my_custom_node = '20' + my_custom_node = "20" [tools] - node = 'lts' - python = ['3.10', '3.11'] + node = "lts" + python = ["3.10", "3.11"] ''} ''; } diff --git a/tests/modules/programs/mistral-vibe/expected.toml b/tests/modules/programs/mistral-vibe/expected.toml index 97f3ac2f7..52a87a91e 100644 --- a/tests/modules/programs/mistral-vibe/expected.toml +++ b/tests/modules/programs/mistral-vibe/expected.toml @@ -1,16 +1,16 @@ -active_model = 'tracer-vibe' +active_model = "tracer-vibe" [[models]] -alias = 'tracer-vibe' +alias = "tracer-vibe" input_price = 0.0 -name = 'mistralai/devstral-2512:free' +name = "mistralai/devstral-2512:free" output_price = 0.0 -provider = 'tracer-proxy' +provider = "tracer-proxy" temperature = 0.1 [[providers]] -api_base = 'http://tracer:8081/proxy' -api_key_env_var = 'OPENROUTER_API_KEY' -api_style = 'openai' -backend = 'generic' -name = 'tracer-proxy' +api_base = "http://tracer:8081/proxy" +api_key_env_var = "OPENROUTER_API_KEY" +api_style = "openai" +backend = "generic" +name = "tracer-proxy" diff --git a/tests/modules/programs/mujmap/mujmap-defaults-expected.toml b/tests/modules/programs/mujmap/mujmap-defaults-expected.toml index c068ec02f..7d94afa64 100644 --- a/tests/modules/programs/mujmap/mujmap-defaults-expected.toml +++ b/tests/modules/programs/mujmap/mujmap-defaults-expected.toml @@ -1,14 +1,14 @@ auto_create_new_mailboxes = true -fqdn = 'example.com' -password_command = 'password-command' -username = 'home.manager' +fqdn = "example.com" +password_command = "password-command" +username = "home.manager" [tags] -deleted = 'deleted' -directory_separator = '/' -important = 'important' -inbox = 'inbox' +deleted = "deleted" +directory_separator = "/" +important = "important" +inbox = "inbox" lowercase = false -phishing = 'phishing' -sent = 'sent' -spam = 'spam' +phishing = "phishing" +sent = "sent" +spam = "spam" diff --git a/tests/modules/programs/neovide/expected.toml b/tests/modules/programs/neovide/expected.toml index b78bed840..8813bd9cc 100644 --- a/tests/modules/programs/neovide/expected.toml +++ b/tests/modules/programs/neovide/expected.toml @@ -1,12 +1,12 @@ fork = false -frame = 'full' +frame = "full" idle = true maximized = false -neovim-bin = '/usr/bin/nvim' +neovim-bin = "/usr/bin/nvim" no-multigrid = false srgb = false tabs = true -theme = 'auto' +theme = "auto" title-hidden = true vsync = true wsl = false diff --git a/tests/modules/programs/nix-init/basic-config.nix b/tests/modules/programs/nix-init/basic-config.nix index 394bb033d..eff67a174 100644 --- a/tests/modules/programs/nix-init/basic-config.nix +++ b/tests/modules/programs/nix-init/basic-config.nix @@ -23,19 +23,19 @@ nmt.script = '' assertFileExists home-files/.config/nix-init/config.toml assertFileContent home-files/.config/nix-init/config.toml \ - ${pkgs.writeText "settings-expected" '' - commit = true - maintainers = ['figsoda'] - nixpkgs = '' + ${pkgs.writeText "settings-expected" '' + commit = true + maintainers = ["figsoda"] + nixpkgs = "" - [access-tokens] - 'github.com' = 'ghp_blahblahblah...' + [access-tokens] + "github.com" = "ghp_blahblahblah..." - [access-tokens.'gitlab.com'] - command = ['secret-tool', 'or', 'whatever', 'you', 'use'] + [access-tokens."gitlab.com"] + command = ["secret-tool", "or", "whatever", "you", "use"] - [access-tokens.'gitlab.gnome.org'] - file = '/path/to/api/token' - ''} + [access-tokens."gitlab.gnome.org"] + file = "/path/to/api/token" + ''} ''; } diff --git a/tests/modules/programs/nix-search-tv/television.nix b/tests/modules/programs/nix-search-tv/television.nix index 45f609e46..8f8db6dae 100644 --- a/tests/modules/programs/nix-search-tv/television.nix +++ b/tests/modules/programs/nix-search-tv/television.nix @@ -8,24 +8,23 @@ assertFileExists home-files/.config/television/cable/nix-search-tv.toml assertFileContent home-files/.config/television/cable/nix-search-tv.toml \ ${pkgs.writeText "settings-expected" '' - [actions] [actions.run] - command = 'nix run {replace:s/\/ /#/g}' - mode = 'fork' + command = "nix run {replace:s/\\/ /#/g}" + mode = "fork" [actions.shell] - command = 'nix shell {replace:s/\/ /#/g}' - mode = 'execute' + command = "nix shell {replace:s/\\/ /#/g}" + mode = "execute" [metadata] - description = 'Search nix options and packages' - name = 'nix-search-tv' + description = "Search nix options and packages" + name = "nix-search-tv" [preview] - command = '${lib.getExe pkgs.nix-search-tv} preview "{}"' + command = "${lib.getExe pkgs.nix-search-tv} preview \"{}\"" [source] - command = '${lib.getExe pkgs.nix-search-tv} print' + command = "${lib.getExe pkgs.nix-search-tv} print" ''} ''; } diff --git a/tests/modules/programs/numbat/example-config.nix b/tests/modules/programs/numbat/example-config.nix index 4f25eeb9b..1df087c1e 100644 --- a/tests/modules/programs/numbat/example-config.nix +++ b/tests/modules/programs/numbat/example-config.nix @@ -28,11 +28,11 @@ in assertFileExists 'home-files/${configDir}/config.toml' assertFileContent $(normalizeStorePaths 'home-files/${configDir}/config.toml') \ ${builtins.toFile "expected.toml" '' - intro-banner = 'short' - prompt = '> ' + intro-banner = "short" + prompt = "> " [exchange-rates] - fetching-policy = 'on-first-use' + fetching-policy = "on-first-use" ''} assertFileExists 'home-files/${configDir}/init.nbt' assertFileContent $(normalizeStorePaths 'home-files/${configDir}/init.nbt') \ diff --git a/tests/modules/programs/nvchecker/basic-config.toml b/tests/modules/programs/nvchecker/basic-config.toml index 873a0ff8d..6a509e046 100644 --- a/tests/modules/programs/nvchecker/basic-config.toml +++ b/tests/modules/programs/nvchecker/basic-config.toml @@ -1,8 +1,8 @@ [__config__] -keyfile = 'keyfile.toml' -newver = 'new_ver.json' -oldver = 'old_ver.json' +keyfile = "keyfile.toml" +newver = "new_ver.json" +oldver = "old_ver.json" [nvchecker] -github = 'lilydjwg/nvchecker' -source = 'github' +github = "lilydjwg/nvchecker" +source = "github" diff --git a/tests/modules/programs/nvchecker/empty-config.toml b/tests/modules/programs/nvchecker/empty-config.toml index 1a9eaf912..134f0b6bd 100644 --- a/tests/modules/programs/nvchecker/empty-config.toml +++ b/tests/modules/programs/nvchecker/empty-config.toml @@ -1,3 +1,3 @@ [__config__] -newver = 'new_ver.json' -oldver = 'old_ver.json' +newver = "new_ver.json" +oldver = "old_ver.json" diff --git a/tests/modules/programs/pay-respects/cargo-expected.toml b/tests/modules/programs/pay-respects/cargo-expected.toml index fc19ad88b..c2f942699 100644 --- a/tests/modules/programs/pay-respects/cargo-expected.toml +++ b/tests/modules/programs/pay-respects/cargo-expected.toml @@ -1,5 +1,5 @@ -command = 'cargo' +command = "cargo" [[match_err]] -pattern = ['run `cargo init` to initialize a new rust project'] -suggest = ['cargo init'] +pattern = ["run `cargo init` to initialize a new rust project"] +suggest = ["cargo init"] diff --git a/tests/modules/programs/pay-respects/general-expected.toml b/tests/modules/programs/pay-respects/general-expected.toml index 4b492bbc8..d7809728f 100644 --- a/tests/modules/programs/pay-respects/general-expected.toml +++ b/tests/modules/programs/pay-respects/general-expected.toml @@ -1,3 +1,3 @@ [[match_err]] -pattern = ['permission denied'] +pattern = ["permission denied"] suggest = ["#[executable(sudo), !cmd_contains(sudo)]\nsudo {{command}}\n"] diff --git a/tests/modules/programs/pet/settings_21_05.nix b/tests/modules/programs/pet/settings_21_05.nix index dbf3a4c9d..1cf3c5f36 100644 --- a/tests/modules/programs/pet/settings_21_05.nix +++ b/tests/modules/programs/pet/settings_21_05.nix @@ -9,9 +9,9 @@ assertFileContent home-files/.config/pet/config.toml \ ${builtins.toFile "pet-settings.toml" '' [General] - editor = 'nvim' - selectcmd = 'fzf' - snippetfile = '/home/hm-user/.config/pet/snippet.toml' + editor = "nvim" + selectcmd = "fzf" + snippetfile = "/home/hm-user/.config/pet/snippet.toml" ''} ''; } diff --git a/tests/modules/programs/pet/settings_21_11.nix b/tests/modules/programs/pet/settings_21_11.nix index 79e32da44..a303e7fef 100644 --- a/tests/modules/programs/pet/settings_21_11.nix +++ b/tests/modules/programs/pet/settings_21_11.nix @@ -19,15 +19,15 @@ assertFileContent home-files/.config/pet/config.toml \ ${builtins.toFile "pet-settings.toml" '' [General] - backend = 'Gitlab' - editor = 'nvim' - selectcmd = 'fzf' - snippetfile = '/home/hm-user/.config/pet/snippet.toml' + backend = "Gitlab" + editor = "nvim" + selectcmd = "fzf" + snippetfile = "/home/hm-user/.config/pet/snippet.toml" [Gitlab] - access_token = '1234' - file_name = 'pet-snippets.toml' - visibility = 'public' + access_token = "1234" + file_name = "pet-snippets.toml" + visibility = "public" ''} ''; } diff --git a/tests/modules/programs/pet/snippet.toml b/tests/modules/programs/pet/snippet.toml index 6530caa1d..a7ad0e276 100644 --- a/tests/modules/programs/pet/snippet.toml +++ b/tests/modules/programs/pet/snippet.toml @@ -1,5 +1,5 @@ [[snippets]] -command = 'git log -p -G ' -description = 'git: search full history for regex' -output = '' -tag = ['git', 'regex'] +command = "git log -p -G " +description = "git: search full history for regex" +output = "" +tag = ["git", "regex"] diff --git a/tests/modules/programs/rio/example-settings.nix b/tests/modules/programs/rio/example-settings.nix index f846892e0..a8224a4fd 100644 --- a/tests/modules/programs/rio/example-settings.nix +++ b/tests/modules/programs/rio/example-settings.nix @@ -2,9 +2,9 @@ let expected = builtins.toFile "rio-expected.toml" '' - cursor = '_' + cursor = "_" padding-x = 0 - performance = 'Low' + performance = "Low" ''; in { diff --git a/tests/modules/programs/rio/foobar.toml b/tests/modules/programs/rio/foobar.toml index a2d885407..ab93034f8 100644 --- a/tests/modules/programs/rio/foobar.toml +++ b/tests/modules/programs/rio/foobar.toml @@ -1,4 +1,4 @@ [colors] -background = '#282a36' -cyan = '#8be9fd' -green = '#50fa7b' +background = "#282a36" +cyan = "#8be9fd" +green = "#50fa7b" diff --git a/tests/modules/programs/ruff/expected.toml b/tests/modules/programs/ruff/expected.toml index b3d96497f..8c42d2be1 100644 --- a/tests/modules/programs/ruff/expected.toml +++ b/tests/modules/programs/ruff/expected.toml @@ -2,7 +2,7 @@ line-length = 100 [lint] ignore = [] -select = ['E4', 'E7', 'E9', 'F'] +select = ["E4", "E7", "E9", "F"] [per-file-ignores] -'__init__.py' = ['F401'] +"__init__.py" = ["F401"] diff --git a/tests/modules/programs/satty/expected-config.toml b/tests/modules/programs/satty/expected-config.toml index 9c0250460..0afb88d2a 100644 --- a/tests/modules/programs/satty/expected-config.toml +++ b/tests/modules/programs/satty/expected-config.toml @@ -1,11 +1,11 @@ [color-palette] -palette = ['#00ffff'] +palette = ["#00ffff"] [font] -family = 'Roboto' +family = "Roboto" [general] corner-roundness = 12 fullscreen = true -initial-tool = 'brush' -output-filename = '/tmp/test.png' +initial-tool = "brush" +output-filename = "/tmp/test.png" diff --git a/tests/modules/programs/sesh/basic-configuration.toml b/tests/modules/programs/sesh/basic-configuration.toml index 737f009aa..1b7ce6da5 100644 --- a/tests/modules/programs/sesh/basic-configuration.toml +++ b/tests/modules/programs/sesh/basic-configuration.toml @@ -2,11 +2,11 @@ startup_command = "nvim -c ':Telescope find_files'" [[session]] -name = 'Downloads 📥' -path = '~/Downloads' -startup_command = 'ls' +name = "Downloads 📥" +path = "~/Downloads" +startup_command = "ls" [[session]] -name = 'tmux config' -path = '~/c/dotfiles/.config/tmux' -startup_command = 'nvim tmux.conf' +name = "tmux config" +path = "~/c/dotfiles/.config/tmux" +startup_command = "nvim tmux.conf" diff --git a/tests/modules/programs/sheldon/plugins.toml b/tests/modules/programs/sheldon/plugins.toml index 0a261a34e..f40b27cf2 100644 --- a/tests/modules/programs/sheldon/plugins.toml +++ b/tests/modules/programs/sheldon/plugins.toml @@ -1,9 +1,7 @@ -shell = 'zsh' - -[plugins] +shell = "zsh" [plugins.zsh-syntax-highlighting] -apply = ['defer'] -github = 'zsh-users/zsh-syntax-highlighting' +apply = ["defer"] +github = "zsh-users/zsh-syntax-highlighting" [templates] defer = "{{ hooks | get: \"pre\" | nl }}{% for file in files %}zsh-defer source \"{{ file }}\"\n{% endfor %}{{ hooks | get: \"post\" | nl }}" diff --git a/tests/modules/programs/sherlock/basic-configuration.toml b/tests/modules/programs/sherlock/basic-configuration.toml index a25c07c53..c5f75e067 100644 --- a/tests/modules/programs/sherlock/basic-configuration.toml +++ b/tests/modules/programs/sherlock/basic-configuration.toml @@ -1,3 +1,3 @@ max_results = 8 -theme = 'dark' +theme = "dark" width = 500 diff --git a/tests/modules/programs/sherlock/full-configuration.toml b/tests/modules/programs/sherlock/full-configuration.toml index 3bd5a5e73..835179be0 100644 --- a/tests/modules/programs/sherlock/full-configuration.toml +++ b/tests/modules/programs/sherlock/full-configuration.toml @@ -1,5 +1,5 @@ [appearance] -gsk_renderer = 'cairo' +gsk_renderer = "cairo" height = 600 icon_size = 32 opacity = 0.95 @@ -9,10 +9,10 @@ width = 1000 enable = true [default_apps] -browser = 'firefox' -calendar_client = 'thunderbird' -teams = 'teams-for-linux --enable-features=UseOzonePlatform --ozone-platform=wayland --url {meeting_url}' -terminal = 'kitty' +browser = "firefox" +calendar_client = "thunderbird" +teams = "teams-for-linux --enable-features=UseOzonePlatform --ozone-platform=wayland --url {meeting_url}" +terminal = "kitty" [search_bar_icon] enable = true @@ -21,8 +21,8 @@ enable = true enable = true [units] -currency = 'usd' -lengths = 'feet' -temperatures = 'F' -volumes = 'oz' -weights = 'lb' +currency = "usd" +lengths = "feet" +temperatures = "F" +volumes = "oz" +weights = "lb" diff --git a/tests/modules/programs/spotify-player/app.toml b/tests/modules/programs/spotify-player/app.toml index afe09ce11..66c26bb5f 100644 --- a/tests/modules/programs/spotify-player/app.toml +++ b/tests/modules/programs/spotify-player/app.toml @@ -1,9 +1,9 @@ -playback_window_position = 'Top' -theme = 'default' +playback_window_position = "Top" +theme = "default" [copy_command] args = [] -command = 'wl-copy' +command = "wl-copy" [device] audio_cache = false diff --git a/tests/modules/programs/spotify-player/keymap.toml b/tests/modules/programs/spotify-player/keymap.toml index 981b60243..29cac4781 100644 --- a/tests/modules/programs/spotify-player/keymap.toml +++ b/tests/modules/programs/spotify-player/keymap.toml @@ -1,32 +1,32 @@ [[actions]] -action = 'GoToArtist' -key_sequence = 'g A' +action = "GoToArtist" +key_sequence = "g A" [[actions]] -action = 'GoToAlbum' -key_sequence = 'g B' -target = 'PlayingTrack' +action = "GoToAlbum" +key_sequence = "g B" +target = "PlayingTrack" [[actions]] -action = 'ToggleLiked' -key_sequence = 'C-l' +action = "ToggleLiked" +key_sequence = "C-l" [[keymaps]] -command = 'NextTrack' -key_sequence = 'g n' +command = "NextTrack" +key_sequence = "g n" [[keymaps]] -command = 'PreviousTrack' -key_sequence = 'g p' +command = "PreviousTrack" +key_sequence = "g p" [[keymaps]] -command = 'Search' -key_sequence = 'C-c C-x /' +command = "Search" +key_sequence = "C-c C-x /" [[keymaps]] -command = 'ResumePause' -key_sequence = 'M-enter' +command = "ResumePause" +key_sequence = "M-enter" [[keymaps]] -command = 'None' -key_sequence = 'q' +command = "None" +key_sequence = "q" diff --git a/tests/modules/programs/spotify-player/theme.toml b/tests/modules/programs/spotify-player/theme.toml index 2238e9a58..f963e707d 100644 --- a/tests/modules/programs/spotify-player/theme.toml +++ b/tests/modules/programs/spotify-player/theme.toml @@ -1,58 +1,57 @@ [[themes]] -name = 'default2' +name = "default2" -[themes.component_style] [themes.component_style.block_title] -fg = 'Magenta' +fg = "Magenta" [themes.component_style.border] [themes.component_style.current_playing] -fg = 'Green' -modifiers = ['Bold'] +fg = "Green" +modifiers = ["Bold"] [themes.component_style.page_desc] -fg = 'Cyan' -modifiers = ['Bold'] +fg = "Cyan" +modifiers = ["Bold"] [themes.component_style.playback_album] -fg = 'Yellow' +fg = "Yellow" [themes.component_style.playback_artists] -fg = 'Cyan' -modifiers = ['Bold'] +fg = "Cyan" +modifiers = ["Bold"] [themes.component_style.playback_metadata] -fg = 'BrightBlack' +fg = "BrightBlack" [themes.component_style.playback_progress_bar] -bg = 'BrightBlack' -fg = 'Green' +bg = "BrightBlack" +fg = "Green" [themes.component_style.playback_track] -fg = 'Cyan' -modifiers = ['Bold'] +fg = "Cyan" +modifiers = ["Bold"] [themes.component_style.selection] -modifiers = ['Bold', 'Reversed'] +modifiers = ["Bold", "Reversed"] [themes.component_style.table_header] -fg = 'Blue' +fg = "Blue" [themes.palette] -black = 'black' -blue = 'blue' -bright_black = 'bright_black' -bright_blue = 'bright_blue' -bright_cyan = 'bright_cyan' -bright_green = 'bright_green' -bright_magenta = 'bright_magenta' -bright_red = 'bright_red' -bright_white = 'bright_white' -bright_yellow = 'bright_yellow' -cyan = 'cyan' -green = 'green' -magenta = 'magenta' -red = 'red' -white = 'white' -yellow = 'yellow' +black = "black" +blue = "blue" +bright_black = "bright_black" +bright_blue = "bright_blue" +bright_cyan = "bright_cyan" +bright_green = "bright_green" +bright_magenta = "bright_magenta" +bright_red = "bright_red" +bright_white = "bright_white" +bright_yellow = "bright_yellow" +cyan = "cyan" +green = "green" +magenta = "magenta" +red = "red" +white = "white" +yellow = "yellow" diff --git a/tests/modules/programs/starship/settings-expected.toml b/tests/modules/programs/starship/settings-expected.toml index 1e785f113..ee07a02e6 100644 --- a/tests/modules/programs/starship/settings-expected.toml +++ b/tests/modules/programs/starship/settings-expected.toml @@ -1,25 +1,25 @@ add_newline = false -format = '$line_break$package$line_break$character' +format = "$line_break$package$line_break$character" scan_timeout = 10 [aws] disabled = true -style = 'bold blue' +style = "bold blue" [battery] -charging_symbol = '⚡️' +charging_symbol = "⚡️" [[battery.display]] -style = 'bold red' +style = "bold red" threshold = 10 [[battery.display]] -style = 'bold yellow' +style = "bold yellow" threshold = 30 [character] -error_symbol = '➜' -success_symbol = '➜' +error_symbol = "➜" +success_symbol = "➜" [memory_usage] threshold = -1 diff --git a/tests/modules/programs/superfile/example-config-expected.toml b/tests/modules/programs/superfile/example-config-expected.toml index d69d3758b..2b6fdca16 100644 --- a/tests/modules/programs/superfile/example-config-expected.toml +++ b/tests/modules/programs/superfile/example-config-expected.toml @@ -1,3 +1,3 @@ default_sort_type = 0 -theme = 'catppuccin-frappe' +theme = "catppuccin-frappe" transparent_background = false diff --git a/tests/modules/programs/superfile/example-hotkeys-expected.toml b/tests/modules/programs/superfile/example-hotkeys-expected.toml index 99059c76f..75a7db972 100644 --- a/tests/modules/programs/superfile/example-hotkeys-expected.toml +++ b/tests/modules/programs/superfile/example-hotkeys-expected.toml @@ -1 +1 @@ -confirm = ['enter', 'right', 'l'] +confirm = ["enter", "right", "l"] diff --git a/tests/modules/programs/superfile/example-theme-expected.toml b/tests/modules/programs/superfile/example-theme-expected.toml index 227183f63..4a117c459 100644 --- a/tests/modules/programs/superfile/example-theme-expected.toml +++ b/tests/modules/programs/superfile/example-theme-expected.toml @@ -1,5 +1,5 @@ -code_syntax_highlight = 'catppuccin-latte' -file_panel_border = '#101010' -footer_border = '#101012' -gradient_color = ['#101013', '#101014'] -sidebar_border = '#101011' +code_syntax_highlight = "catppuccin-latte" +file_panel_border = "#101010" +footer_border = "#101012" +gradient_color = ["#101013", "#101014"] +sidebar_border = "#101011" diff --git a/tests/modules/programs/superfile/example-theme2-expected.toml b/tests/modules/programs/superfile/example-theme2-expected.toml index 5b766b857..81280fd31 100644 --- a/tests/modules/programs/superfile/example-theme2-expected.toml +++ b/tests/modules/programs/superfile/example-theme2-expected.toml @@ -1,5 +1,5 @@ -code_syntax_highlight = 'catppuccin-frappe' -file_panel_border = '#202020' -footer_border = '#202022' -gradient_color = ['#202023', '#202024'] -sidebar_border = '#202021' +code_syntax_highlight = "catppuccin-frappe" +file_panel_border = "#202020" +footer_border = "#202022" +gradient_color = ["#202023", "#202024"] +sidebar_border = "#202021" diff --git a/tests/modules/programs/superfile/partial-theme-settings-expected.toml b/tests/modules/programs/superfile/partial-theme-settings-expected.toml index dd1e6ea7f..c13337a9d 100644 --- a/tests/modules/programs/superfile/partial-theme-settings-expected.toml +++ b/tests/modules/programs/superfile/partial-theme-settings-expected.toml @@ -1,2 +1,2 @@ -theme = 'test0' +theme = "test0" transparent_background = false diff --git a/tests/modules/programs/swayr/basic-configuration.toml b/tests/modules/programs/swayr/basic-configuration.toml index 452346e1f..a7a6e68a5 100644 --- a/tests/modules/programs/swayr/basic-configuration.toml +++ b/tests/modules/programs/swayr/basic-configuration.toml @@ -2,22 +2,47 @@ lockin_delay = 750 [format] -container_format = '{indent}Container [{layout}] {marks} on workspace {workspace_name} ({id})' +container_format = "{indent}Container [{layout}] {marks} on workspace {workspace_name} ({id})" html_escape = true -indent = ' ' -output_format = '{indent}Output {name} ({id})' -urgency_end = '' -urgency_start = '' -window_format = 'img:{app_icon}:text:{indent}{app_name} — {urgency_start}“{title}”{urgency_end} {marks} on workspace {workspace_name} / {output_name} ({id})' -workspace_format = '{indent}Workspace {name} [{layout}] on output {output_name} ({id})' +indent = " " +output_format = "{indent}Output {name} ({id})" +urgency_end = "" +urgency_start = "" +window_format = "img:{app_icon}:text:{indent}{app_name} — {urgency_start}“{title}”{urgency_end} {marks} on workspace {workspace_name} / {output_name} ({id})" +workspace_format = "{indent}Workspace {name} [{layout}] on output {output_name} ({id})" [layout] auto_tile = false -auto_tile_min_window_width_per_output_width = [[800, 400], [1024, 500], [1280, 600], [1400, 680], [1440, 700], [1600, 780], [1680, 780], [1920, 920], [2048, 980], [2560, 1000], [3440, 1200], [3840, 1280], [4096, 1400], [4480, 1600], [7680, 2400]] +auto_tile_min_window_width_per_output_width = [ + [800, 400], + [1024, 500], + [1280, 600], + [1400, 680], + [1440, 700], + [1600, 780], + [1680, 780], + [1920, 920], + [2048, 980], + [2560, 1000], + [3440, 1200], + [3840, 1280], + [4096, 1400], + [4480, 1600], + [7680, 2400], +] [menu] -args = ['--show=dmenu', '--allow-markup', '--allow-images', '--insensitive', '--cache-file=/dev/null', '--parse-search', '--height=40%', '--prompt={prompt}'] -executable = 'wofi' +args = [ + "--show=dmenu", + "--allow-markup", + "--allow-images", + "--insensitive", + "--cache-file=/dev/null", + "--parse-search", + "--height=40%", + "--prompt={prompt}", +] +executable = "wofi" [misc] seq_inhibit = false diff --git a/tests/modules/programs/television/basic-config.nix b/tests/modules/programs/television/basic-config.nix index b64f876fd..11a943e84 100644 --- a/tests/modules/programs/television/basic-config.nix +++ b/tests/modules/programs/television/basic-config.nix @@ -33,7 +33,7 @@ tick_rate = 50 [ui] - input_bar_position = 'top' + input_bar_position = "top" show_preview_panel = true use_nerd_font_icons = false ''} @@ -41,16 +41,16 @@ assertFileContent home-files/.config/television/cable/git-log.toml \ ${pkgs.writeText "channels-expected" '' [metadata] - description = 'A channel to select from git log entries' - name = 'git-log' - requirements = ['git'] + description = "A channel to select from git log entries" + name = "git-log" + requirements = ["git"] [preview] command = "git show -p --stat --pretty=fuller --color=always '{0}'" [source] - command = 'git log --oneline --date=short --pretty="format:%h %s %an %cd" "$@"' - output = '{split: :0}' + command = "git log --oneline --date=short --pretty=\"format:%h %s %an %cd\" \"$@\"" + output = "{split: :0}" ''} ''; } diff --git a/tests/modules/programs/tex-fmt/custom-settings.nix b/tests/modules/programs/tex-fmt/custom-settings.nix index 309b0ecfe..b5647761f 100644 --- a/tests/modules/programs/tex-fmt/custom-settings.nix +++ b/tests/modules/programs/tex-fmt/custom-settings.nix @@ -20,7 +20,7 @@ assertFileExists "${expectedConfigPath}" assertFileContent "${expectedConfigPath}" ${pkgs.writeText "tex-fmt.config-custom.expected" '' lists = [] - tabchar = 'space' + tabchar = "space" tabsize = 2 wrap = true ''} diff --git a/tests/modules/programs/topgrade/settings-expected.toml b/tests/modules/programs/topgrade/settings-expected.toml index f7a4436ae..5e2a47ae6 100644 --- a/tests/modules/programs/topgrade/settings-expected.toml +++ b/tests/modules/programs/topgrade/settings-expected.toml @@ -1,9 +1,9 @@ [commands] -'Purge unused APT packages' = 'sudo apt autoremove' +"Purge unused APT packages" = "sudo apt autoremove" [misc] cleanup = true -disable = ['sdkman', 'flutter', 'node', 'nix', 'home_manager'] -remote_topgrade_path = 'bin/topgrade' -remote_topgrades = ['backup', 'ci'] +disable = ["sdkman", "flutter", "node", "nix", "home_manager"] +remote_topgrade_path = "bin/topgrade" +remote_topgrades = ["backup", "ci"] set_title = false diff --git a/tests/modules/programs/tray-tui/config.toml b/tests/modules/programs/tray-tui/config.toml index 176416dd3..dfb92c294 100644 --- a/tests/modules/programs/tray-tui/config.toml +++ b/tests/modules/programs/tray-tui/config.toml @@ -2,11 +2,11 @@ columns = 3 sorting = false [key_map] -down = 'focus_down' -h = 'focus_left' -j = 'focus_up' -k = 'focus_down' -l = 'focus_right' -left = 'focus_left' -right = 'focus_right' -up = 'focus_up' +down = "focus_down" +h = "focus_left" +j = "focus_up" +k = "focus_down" +l = "focus_right" +left = "focus_left" +right = "focus_right" +up = "focus_up" diff --git a/tests/modules/programs/trippy/trippy.toml b/tests/modules/programs/trippy/trippy.toml index cbd761b92..eb9b5ecc8 100644 --- a/tests/modules/programs/trippy/trippy.toml +++ b/tests/modules/programs/trippy/trippy.toml @@ -1,14 +1,14 @@ [bindings] -toggle-help = 'h' -toggle-help-alt = '?' -toggle-settings = 's' -toggle-settings-dns = '3' -toggle-settings-geoip = '4' -toggle-settings-trace = '2' -toggle-settings-tui = '1' +toggle-help = "h" +toggle-help-alt = "?" +toggle-settings = "s" +toggle-settings-dns = "3" +toggle-settings-geoip = "4" +toggle-settings-trace = "2" +toggle-settings-tui = "1" [theme-colors] -bg-color = 'black' -border-color = 'gray' -tab-text-color = 'green' -text-color = 'gray' +bg-color = "black" +border-color = "gray" +tab-text-color = "green" +text-color = "gray" diff --git a/tests/modules/programs/ttyper/basic-settings-expected.toml b/tests/modules/programs/ttyper/basic-settings-expected.toml index cd1567df5..067b683d8 100644 --- a/tests/modules/programs/ttyper/basic-settings-expected.toml +++ b/tests/modules/programs/ttyper/basic-settings-expected.toml @@ -1 +1 @@ -default_language = 'english1000' +default_language = "english1000" diff --git a/tests/modules/programs/ttyper/full-theme-expected.toml b/tests/modules/programs/ttyper/full-theme-expected.toml index e29ab31c4..31b0edb32 100644 --- a/tests/modules/programs/ttyper/full-theme-expected.toml +++ b/tests/modules/programs/ttyper/full-theme-expected.toml @@ -1,21 +1,21 @@ [theme] -border_type = 'rounded' -default = 'none' -input_border = 'cyan' -prompt_border = 'green' -prompt_correct = 'green' -prompt_current_correct = 'green;bold' -prompt_current_incorrect = 'red;bold' -prompt_current_untyped = 'blue;bold' -prompt_cursor = 'none;underlined' -prompt_incorrect = 'red' -prompt_untyped = 'gray' -results_chart = 'cyan' -results_chart_x = 'cyan' -results_chart_y = 'gray;italic' -results_overview = 'cyan;bold' -results_overview_border = 'cyan' -results_restart_prompt = 'gray;italic' -results_worst_keys = 'cyan;bold' -results_worst_keys_border = 'cyan' -title = 'white;bold' +border_type = "rounded" +default = "none" +input_border = "cyan" +prompt_border = "green" +prompt_correct = "green" +prompt_current_correct = "green;bold" +prompt_current_incorrect = "red;bold" +prompt_current_untyped = "blue;bold" +prompt_cursor = "none;underlined" +prompt_incorrect = "red" +prompt_untyped = "gray" +results_chart = "cyan" +results_chart_x = "cyan" +results_chart_y = "gray;italic" +results_overview = "cyan;bold" +results_overview_border = "cyan" +results_restart_prompt = "gray;italic" +results_worst_keys = "cyan;bold" +results_worst_keys_border = "cyan" +title = "white;bold" diff --git a/tests/modules/programs/ttyper/language-and-theme-expected.toml b/tests/modules/programs/ttyper/language-and-theme-expected.toml index 899931925..1cb45148b 100644 --- a/tests/modules/programs/ttyper/language-and-theme-expected.toml +++ b/tests/modules/programs/ttyper/language-and-theme-expected.toml @@ -1,7 +1,7 @@ -default_language = 'rust' +default_language = "rust" [theme] -border_type = 'double' -input_border = 'magenta' -prompt_correct = 'green;bold' -prompt_incorrect = 'red;bold' +border_type = "double" +input_border = "magenta" +prompt_correct = "green;bold" +prompt_incorrect = "red;bold" diff --git a/tests/modules/programs/twitch-tui/config.toml b/tests/modules/programs/twitch-tui/config.toml index 94558d963..e24462c70 100644 --- a/tests/modules/programs/twitch-tui/config.toml +++ b/tests/modules/programs/twitch-tui/config.toml @@ -1,12 +1,12 @@ [terminal] delay = 30 -first_state = 'dashboard' -log_file = '' -log_level = 'info' +first_state = "dashboard" +log_file = "" +log_level = "info" maximum_messages = 500 [twitch] -channel = '' -server = 'wss://eventsub.wss.twitch.tv/ws' -token = '' -username = '' +channel = "" +server = "wss://eventsub.wss.twitch.tv/ws" +token = "" +username = "" diff --git a/tests/modules/programs/ty/example-settings.nix b/tests/modules/programs/ty/example-settings.nix index d16212be4..4d460eadb 100644 --- a/tests/modules/programs/ty/example-settings.nix +++ b/tests/modules/programs/ty/example-settings.nix @@ -15,7 +15,7 @@ expectedConfigPath = "home-files/.config/ty/ty.toml"; expectedConfigContent = pkgs.writeText "ty.config-custom.expected" '' [rules] - index-out-of-bounds = 'ignore' + index-out-of-bounds = "ignore" ''; in '' diff --git a/tests/modules/programs/uv/example-settings.nix b/tests/modules/programs/uv/example-settings.nix index b3b022583..4ce324557 100644 --- a/tests/modules/programs/uv/example-settings.nix +++ b/tests/modules/programs/uv/example-settings.nix @@ -16,11 +16,11 @@ let expectedConfigPath = "home-files/.config/uv/uv.toml"; expectedConfigContent = pkgs.writeText "uv.config-custom.expected" '' - python-downloads = 'never' - python-preference = 'only-system' + python-downloads = "never" + python-preference = "only-system" [pip] - index-url = 'https://test.pypi.org/simple' + index-url = "https://test.pypi.org/simple" ''; in '' diff --git a/tests/modules/programs/vinegar/example-config-expected.toml b/tests/modules/programs/vinegar/example-config-expected.toml index 343df0d60..38878ce1c 100644 --- a/tests/modules/programs/vinegar/example-config-expected.toml +++ b/tests/modules/programs/vinegar/example-config-expected.toml @@ -1,13 +1,13 @@ [env] -WINEFSYNC = '1' +WINEFSYNC = "1" [studio] dxvk = false -renderer = 'Vulkan' +renderer = "Vulkan" [studio.env] -DXVK_HUD = '0' -MANGOHUD = '1' +DXVK_HUD = "0" +MANGOHUD = "1" [studio.fflags] DFIntTaskSchedulerTargetFps = 144 diff --git a/tests/modules/programs/wallust/expected.toml b/tests/modules/programs/wallust/expected.toml index e1e4e7be1..8991d7bb9 100644 --- a/tests/modules/programs/wallust/expected.toml +++ b/tests/modules/programs/wallust/expected.toml @@ -1,2 +1,2 @@ -backend = 'fastresize' -color_space = 'lchmixed' +backend = "fastresize" +color_space = "lchmixed" diff --git a/tests/modules/programs/wezterm/example-setting.nix b/tests/modules/programs/wezterm/example-setting.nix index 31d7062d8..2502511d7 100644 --- a/tests/modules/programs/wezterm/example-setting.nix +++ b/tests/modules/programs/wezterm/example-setting.nix @@ -66,15 +66,33 @@ ''; expectedColorScheme = builtins.toFile "test.toml" '' [colors] - ansi = ['#222222', '#D14949', '#48874F', '#AFA75A', '#599797', '#8F6089', '#5C9FA8', '#8C8C8C'] - background = '#1B1B1B' - brights = ['#444444', '#FF6D6D', '#89FF95', '#FFF484', '#97DDFF', '#FDAAF2', '#85F5DA', '#E9E9E9'] - cursor_bg = '#BEAF8A' - cursor_border = '#BEAF8A' - cursor_fg = '#1B1B1B' - foreground = '#BEAF8A' - selection_bg = '#444444' - selection_fg = '#E9E9E9' + ansi = [ + "#222222", + "#D14949", + "#48874F", + "#AFA75A", + "#599797", + "#8F6089", + "#5C9FA8", + "#8C8C8C", + ] + background = "#1B1B1B" + brights = [ + "#444444", + "#FF6D6D", + "#89FF95", + "#FFF484", + "#97DDFF", + "#FDAAF2", + "#85F5DA", + "#E9E9E9", + ] + cursor_bg = "#BEAF8A" + cursor_border = "#BEAF8A" + cursor_fg = "#1B1B1B" + foreground = "#BEAF8A" + selection_bg = "#444444" + selection_fg = "#E9E9E9" ''; in '' diff --git a/tests/modules/programs/workstyle/basic-configuration.toml b/tests/modules/programs/workstyle/basic-configuration.toml index 9061e7b0c..a20bb9b3c 100644 --- a/tests/modules/programs/workstyle/basic-configuration.toml +++ b/tests/modules/programs/workstyle/basic-configuration.toml @@ -1,7 +1,7 @@ -alice = 'A' -bob = 'B' +alice = "A" +bob = "B" [other] deduplicate_icons = false -fallback_icon = 'F' -separator = ': ' +fallback_icon = "F" +separator = ": " diff --git a/tests/modules/programs/yazi/flavor/flavor.toml b/tests/modules/programs/yazi/flavor/flavor.toml index e69de29bb..35e1fe770 100644 --- a/tests/modules/programs/yazi/flavor/flavor.toml +++ b/tests/modules/programs/yazi/flavor/flavor.toml @@ -0,0 +1,2 @@ +# This is a flavor. + diff --git a/tests/modules/programs/yazi/keymap-expected.toml b/tests/modules/programs/yazi/keymap-expected.toml index 39a962473..09f300086 100644 --- a/tests/modules/programs/yazi/keymap-expected.toml +++ b/tests/modules/programs/yazi/keymap-expected.toml @@ -1,29 +1,27 @@ -[input] [[input.prepend_keymap]] -on = [''] -run = 'close' +on = [""] +run = "close" [[input.prepend_keymap]] -on = [''] -run = 'close --submit' +on = [""] +run = "close --submit" [[input.prepend_keymap]] -on = [''] -run = 'escape' +on = [""] +run = "escape" [[input.prepend_keymap]] -on = [''] -run = 'backspace' - -[manager] -[[manager.prepend_keymap]] -on = [''] -run = 'escape' +on = [""] +run = "backspace" [[manager.prepend_keymap]] -on = ['q'] -run = 'quit' +on = [""] +run = "escape" [[manager.prepend_keymap]] -on = [''] -run = 'close' +on = ["q"] +run = "quit" + +[[manager.prepend_keymap]] +on = [""] +run = "close" diff --git a/tests/modules/programs/yazi/settings-expected.toml b/tests/modules/programs/yazi/settings-expected.toml index 08d6cafc7..c7900e707 100644 --- a/tests/modules/programs/yazi/settings-expected.toml +++ b/tests/modules/programs/yazi/settings-expected.toml @@ -3,6 +3,6 @@ enabled = false [mgr] show_hidden = false -sort_by = 'mtime' +sort_by = "mtime" sort_dir_first = true sort_reverse = true diff --git a/tests/modules/programs/yazi/theme-expected.toml b/tests/modules/programs/yazi/theme-expected.toml index ff109ea4a..3bdc53676 100644 --- a/tests/modules/programs/yazi/theme-expected.toml +++ b/tests/modules/programs/yazi/theme-expected.toml @@ -1,16 +1,15 @@ -[filetype] [[filetype.rules]] -fg = '#7AD9E5' -mime = 'image/*' +fg = "#7AD9E5" +mime = "image/*" [[filetype.rules]] -fg = '#F3D398' -mime = 'video/*' +fg = "#F3D398" +mime = "video/*" [[filetype.rules]] -fg = '#F3D398' -mime = 'audio/*' +fg = "#F3D398" +mime = "audio/*" [[filetype.rules]] -fg = '#CD9EFC' -mime = 'application/bzip' +fg = "#CD9EFC" +mime = "application/bzip" diff --git a/tests/modules/programs/yofi/yofi.config b/tests/modules/programs/yofi/yofi.config index 64b94e28d..77c9e9780 100644 --- a/tests/modules/programs/yofi/yofi.config +++ b/tests/modules/programs/yofi/yofi.config @@ -1,13 +1,13 @@ -bg_border_color = '0x131411ff' -bg_color = '0x272822ee' -corner_radius = '0' +bg_border_color = "0x131411ff" +bg_color = "0x272822ee" +corner_radius = "0" font_size = 24 force_window = false height = 512 width = 400 [input_text] -bg_color = '0x75715eff' -font_color = '0xf8f8f2ff' -margin = '5' -padding = '1.7 -4' +bg_color = "0x75715eff" +font_color = "0xf8f8f2ff" +margin = "5" +padding = "1.7 -4" diff --git a/tests/modules/programs/zk/expected.toml b/tests/modules/programs/zk/expected.toml index 21460a09a..688349e8e 100644 --- a/tests/modules/programs/zk/expected.toml +++ b/tests/modules/programs/zk/expected.toml @@ -1,15 +1,15 @@ [extra] -author = 'Mickaël' +author = "Mickaël" [note] -default-title = 'Untitled' -extension = 'md' -filename = '{{id}}-{{slug title}}' -id-case = 'lower' -id-charset = 'alphanum' +default-title = "Untitled" +extension = "md" +filename = "{{id}}-{{slug title}}" +id-case = "lower" +id-charset = "alphanum" id-length = 4 -language = 'en' -template = 'default.md' +language = "en" +template = "default.md" [notebook] -dir = '~/notebook' +dir = "~/notebook" diff --git a/tests/modules/services/clipcat/cfg/ctl.toml b/tests/modules/services/clipcat/cfg/ctl.toml index 3fcd752eb..7d78fa1d2 100644 --- a/tests/modules/services/clipcat/cfg/ctl.toml +++ b/tests/modules/services/clipcat/cfg/ctl.toml @@ -1,8 +1,8 @@ -server_endpoint = '/run/user//clipcat/grpc.sock' +server_endpoint = "/run/user//clipcat/grpc.sock" [log] emit_journald = true emit_stderr = false emit_stdout = false -file_path = '/path/to/log/file' -level = 'INFO' +file_path = "/path/to/log/file" +level = "INFO" diff --git a/tests/modules/services/clipcat/cfg/daemon.toml b/tests/modules/services/clipcat/cfg/daemon.toml index 959ba812e..7bdd9185a 100644 --- a/tests/modules/services/clipcat/cfg/daemon.toml +++ b/tests/modules/services/clipcat/cfg/daemon.toml @@ -1,12 +1,12 @@ daemonize = true -history_file_path = '/home//.cache/clipcat/clipcatd-history' +history_file_path = "/home//.cache/clipcat/clipcatd-history" max_history = 50 -pid_file = '/run/user//clipcatd.pid' +pid_file = "/run/user//clipcatd.pid" primary_threshold_ms = 5000 [log] emit_journald = true emit_stderr = false emit_stdout = false -file_path = '/path/to/log/file' -level = 'INFO' +file_path = "/path/to/log/file" +level = "INFO" diff --git a/tests/modules/services/clipcat/cfg/menu.toml b/tests/modules/services/clipcat/cfg/menu.toml index e89ac882f..34920c1fc 100644 --- a/tests/modules/services/clipcat/cfg/menu.toml +++ b/tests/modules/services/clipcat/cfg/menu.toml @@ -1,13 +1,13 @@ -finder = 'rofi' -server_endpoint = '/run/user//clipcat/grpc.sock' +finder = "rofi" +server_endpoint = "/run/user//clipcat/grpc.sock" [dmenu] line_length = 100 menu_length = 30 -menu_prompt = 'Clipcat' +menu_prompt = "Clipcat" [rofi] -extra_arguments = ['-mesg', 'Please select a clip'] +extra_arguments = ["-mesg", "Please select a clip"] line_length = 100 menu_length = 30 -menu_prompt = 'Clipcat' +menu_prompt = "Clipcat" diff --git a/tests/modules/services/podman/configuration-containers-expected.conf b/tests/modules/services/podman/configuration-containers-expected.conf index 5de077922..3b77b570a 100644 --- a/tests/modules/services/podman/configuration-containers-expected.conf +++ b/tests/modules/services/podman/configuration-containers-expected.conf @@ -1,10 +1,10 @@ [network] -default_subnet = '172.16.10.0/24' +default_subnet = "172.16.10.0/24" [[network.default_subnet_pools]] -base = '172.16.11.0/24' +base = "172.16.11.0/24" size = 24 [[network.default_subnet_pools]] -base = '172.16.12.0/24' +base = "172.16.12.0/24" size = 24 diff --git a/tests/modules/services/podman/configuration-registries-expected.conf b/tests/modules/services/podman/configuration-registries-expected.conf index 32f4ccff6..9d458f36b 100644 --- a/tests/modules/services/podman/configuration-registries-expected.conf +++ b/tests/modules/services/podman/configuration-registries-expected.conf @@ -1,9 +1,8 @@ -[registries] [registries.block] -registries = ['ghcr.io', 'gallery.ecr.aws'] +registries = ["ghcr.io", "gallery.ecr.aws"] [registries.insecure] -registries = ['quay.io'] +registries = ["quay.io"] [registries.search] -registries = ['docker.io'] +registries = ["docker.io"] diff --git a/tests/modules/services/podman/configuration-storage-expected.conf b/tests/modules/services/podman/configuration-storage-expected.conf index b97036303..dc25b5ec1 100644 --- a/tests/modules/services/podman/configuration-storage-expected.conf +++ b/tests/modules/services/podman/configuration-storage-expected.conf @@ -1,4 +1,4 @@ [storage] -driver = 'overlay' -graphroot = '$HOME/.containers/graphroot' -runroot = '$HOME/.containers/runroot' +driver = "overlay" +graphroot = "$HOME/.containers/graphroot" +runroot = "$HOME/.containers/runroot" diff --git a/tests/modules/services/rescrobbled/basic-config.nix b/tests/modules/services/rescrobbled/basic-config.nix index 70b7a1b76..873156c48 100644 --- a/tests/modules/services/rescrobbled/basic-config.nix +++ b/tests/modules/services/rescrobbled/basic-config.nix @@ -23,16 +23,16 @@ assertFileExists home-files/.config/rescrobbled/config.toml assertFileContent home-files/.config/rescrobbled/config.toml \ ${pkgs.writeText "settings-expected" '' - filter-script = 'path/to/script' - lastfm-key = 'Last.fm API key' - lastfm-secret = 'Last.fm API secret' + filter-script = "path/to/script" + lastfm-key = "Last.fm API key" + lastfm-secret = "Last.fm API secret" min-play-time = 0 - player-whitelist = ['Player MPRIS identity or bus name'] + player-whitelist = ["Player MPRIS identity or bus name"] use-track-start-timestamp = false [[listenbrainz]] - token = 'User token' - url = 'Custom API URL' + token = "User token" + url = "Custom API URL" ''} service=home-files/.config/systemd/user/rescrobbled.service diff --git a/tests/modules/services/shikane/expected.toml b/tests/modules/services/shikane/expected.toml index af460df6c..042243101 100644 --- a/tests/modules/services/shikane/expected.toml +++ b/tests/modules/services/shikane/expected.toml @@ -1,21 +1,21 @@ [[profile]] -name = 'external-monitor-default' +name = "external-monitor-default" [[profile.output]] enable = true -match = 'eDP-1' +match = "eDP-1" [[profile.output]] enable = true -match = 'HDMI-A-1' +match = "HDMI-A-1" [profile.output.position] x = 1920 y = 0 [[profile]] -name = 'builtin' +name = "builtin" [[profile.output]] enable = true -match = 'eDP-1' +match = "eDP-1" diff --git a/tests/modules/services/walker/config.toml b/tests/modules/services/walker/config.toml index 9b7ae8d70..5e89218a4 100644 --- a/tests/modules/services/walker/config.toml +++ b/tests/modules/services/walker/config.toml @@ -1,11 +1,11 @@ -app_launch_prefix = '' +app_launch_prefix = "" as_window = false close_when_open = false disable_click_to_close = false force_keyboard_focus = false hotreload_theme = false -locale = '' -monitor = '' -terminal_title_flag = '' -theme = 'mytheme' +locale = "" +monitor = "" +terminal_title_flag = "" +theme = "mytheme" timeout = 0 diff --git a/tests/modules/services/walker/mytheme.toml b/tests/modules/services/walker/mytheme.toml index 8ee2057a6..1dc1cd72e 100644 --- a/tests/modules/services/walker/mytheme.toml +++ b/tests/modules/services/walker/mytheme.toml @@ -1,4 +1,3 @@ -[ui] [ui.anchors] bottom = true left = true @@ -6,5 +5,5 @@ right = true top = true [ui.window] -h_align = 'fill' -v_align = 'fill' +h_align = "fill" +v_align = "fill" diff --git a/tests/modules/services/wayle/basic-config.toml b/tests/modules/services/wayle/basic-config.toml index 3c3b29cb3..d54cac398 100644 --- a/tests/modules/services/wayle/basic-config.toml +++ b/tests/modules/services/wayle/basic-config.toml @@ -1,24 +1,22 @@ [bar] -location = 'top' -rounding = 'sm' +location = "top" +rounding = "sm" scale = 1 - [[bar.layout]] -center = ['media'] -left = ['clock'] -monitor = '*' -right = ['battery'] +center = ["media"] +left = ["clock"] +monitor = "*" +right = ["battery"] -[modules] [modules.clock] -format = '%H:%M' +format = "%H:%M" icon-show = true label-show = true [styling] -theme-provider = 'wayle' +theme-provider = "wayle" [styling.palette] -bg = '#16161e' -fg = '#c0caf5' -primary = '#7aa2f7' +bg = "#16161e" +fg = "#c0caf5" +primary = "#7aa2f7" diff --git a/tests/modules/services/wpaperd/wpaperd-expected-settings.toml b/tests/modules/services/wpaperd/wpaperd-expected-settings.toml index 6ba94e9a2..55c87b58a 100644 --- a/tests/modules/services/wpaperd/wpaperd-expected-settings.toml +++ b/tests/modules/services/wpaperd/wpaperd-expected-settings.toml @@ -1,7 +1,7 @@ [DP-2] -path = '/home/foo/Pictures/Anime' -sorting = 'descending' +path = "/home/foo/Pictures/Anime" +sorting = "descending" [eDP-1] apply-shadow = true -path = '/home/foo/Pictures/Wallpaper' +path = "/home/foo/Pictures/Wallpaper"