aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/waybar/executable_mako-history.py
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
commit0c15212f4f2389f743b17cb6ceff50f1f9267a1b (patch)
tree9db73d86cfebc23b3032b32a1cc3be7b1e8bef38 /dot_config/waybar/executable_mako-history.py
parent2970b9dddc6b89705a6836fa0864fb841925ff6f (diff)
downloaddotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.gz
dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.bz2
dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.zip
style: apply formatter drift across repo
Pre-existing whitespace/style drift caught by `just check`. Touch nothing semantic — pure formatter output (shfmt -i 2 -ci -s, ruff, prettier, taplo). Excludes dot_config/clangd/config.yaml whose manual indentation is intentionally preserved.
Diffstat (limited to 'dot_config/waybar/executable_mako-history.py')
-rw-r--r--dot_config/waybar/executable_mako-history.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/dot_config/waybar/executable_mako-history.py b/dot_config/waybar/executable_mako-history.py
index 89618d0..b072091 100644
--- a/dot_config/waybar/executable_mako-history.py
+++ b/dot_config/waybar/executable_mako-history.py
@@ -123,15 +123,22 @@ def run_wofi(input_text: str, lines: int) -> tuple[int, str]:
"wofi",
"--dmenu",
"--hide-search",
- "--prompt", "Notifications",
- "--define", "key_custom_0=Alt-c",
- "--define", "key_custom_1=Alt-d",
- "--lines", str(lines),
+ "--prompt",
+ "Notifications",
+ "--define",
+ "key_custom_0=Alt-c",
+ "--define",
+ "key_custom_1=Alt-d",
+ "--lines",
+ str(lines),
]
if style.exists():
cmd += ["--style", str(style)]
proc = subprocess.run(
- cmd, input=input_text, text=True, capture_output=True,
+ cmd,
+ input=input_text,
+ text=True,
+ capture_output=True,
)
return proc.returncode, proc.stdout.strip()