From 9c0ae0039bb239291b0fdf42a2a205aff0356916 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Thu, 11 Jul 2024 19:51:12 +0200 Subject: swayr: add config --- .config/swayr/config.toml | 105 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 .config/swayr/config.toml (limited to '.config/swayr') diff --git a/.config/swayr/config.toml b/.config/swayr/config.toml new file mode 100644 index 0000000..a21c095 --- /dev/null +++ b/.config/swayr/config.toml @@ -0,0 +1,105 @@ +[menu] +executable = "wofi" +args = [ + "--show=dmenu", + "--allow-markup", + "--allow-images", + "--insensitive", + "--cache-file=/dev/null", + "--parse-search", + "--height=40%", + "--prompt={prompt}", +] + +[format] +output_format = "{indent}Output {name} ({id})" +workspace_format = "{indent}Workspace {name} [{layout}] on output {output_name} ({id})" +container_format = "{indent}Container [{layout}] {marks} on workspace {workspace_name} ({id})" +window_format = "img:{app_icon}:text:{indent}{app_name} — {urgency_start}“{title}”{urgency_end} {marks} on workspace {workspace_name} / {output_name} ({id})" +indent = " " +urgency_start = "" +urgency_end = "" +html_escape = true +icon_dirs = [ + "/usr/share/icons/hicolor/scalable/apps", + "/usr/share/icons/hicolor/128x128/apps", + "/usr/share/icons/hicolor/64x64/apps", + "/usr/share/icons/hicolor/48x48/apps", + "/usr/share/icons/Adwaita/64x64/apps", + "/usr/share/icons/Adwaita/48x48/apps", + "/usr/share/pixmaps", +] + +[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, +], +] + +[focus] +lockin_delay = 750 + +[misc] +seq_inhibit = false + +[swaymsg_commands] +include_predefined = true -- cgit v1.2.3