aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-07-11 17:51:12 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-07-11 17:51:12 +0000
commit9c0ae0039bb239291b0fdf42a2a205aff0356916 (patch)
treed9d11ddfa4a21f30b6ad170b1cc33a6dcdfdf880 /.config
parente843764964c82d578f7939c651ae995c75b6b384 (diff)
downloaddotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.tar
dotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.tar.gz
dotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.tar.bz2
dotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.tar.lz
dotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.tar.xz
dotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.tar.zst
dotfiles-9c0ae0039bb239291b0fdf42a2a205aff0356916.zip
swayr: add config
Diffstat (limited to '.config')
-rw-r--r--.config/swayr/config.toml105
1 files changed, 105 insertions, 0 deletions
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}<b>Output {name}</b> <span alpha=\"20000\">({id})</span>"
+workspace_format = "{indent}<b>Workspace {name} [{layout}]</b> on output {output_name} <span alpha=\"20000\">({id})</span>"
+container_format = "{indent}<b>Container [{layout}]</b> <i>{marks}</i> on workspace {workspace_name} <span alpha=\"20000\">({id})</span>"
+window_format = "img:{app_icon}:text:{indent}<i>{app_name}</i> — {urgency_start}<b>“{title}”</b>{urgency_end} <i>{marks}</i> on workspace {workspace_name} / {output_name} <span alpha=\"20000\">({id})</span>"
+indent = " "
+urgency_start = "<span background=\"darkred\" foreground=\"yellow\">"
+urgency_end = "</span>"
+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