Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
2.2 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. static const Rule rules[] = {
  2. /* xprop(1):
  3. * WM_CLASS(STRING) = instance, class
  4. * WM_NAME(STRING) = title
  5. * WM_WINDOW_ROLE(STRING) = role
  6. * _NET_WM_WINDOW_TYPE(ATOM) = wintype
  7. */
  8. RULE(.class = "discord", .tags = 1 << 8)
  9. RULE(.class = "firefoxdeveloperedition", .tags = 1 << 1)
  10. RULE(.class = "Brave-browser", .tags = 1 << 1)
  11. RULE(.class = "tabbed-surf", .tags = 1 << 1)
  12. RULE(.class = "tabbed", .tags = 1 << 1)
  13. RULE(.class = "bitwarden", .tags = 1 << 6)
  14. RULE(.class = "Bitwarden", .tags = 1 << 6)
  15. RULE(.class = "Mailspring", .tags = 1 << 7)
  16. RULE(.class = "Thunderbird", .tags = 1 << 7)
  17. RULE(.class = "st-256color", .tags = 1 << 0, .isfloating=0)
  18. RULE(.class = "Tor Browser", .tags = 1 << 1)
  19. RULE(.class = "Chromium", .tags = 1 << 1)
  20. RULE(.class = "TelegramDesktop", .tags = 1 << 8)
  21. RULE(.class = "whatsapp-nativefier-d52542", .tags = 1 << 8)
  22. RULE(.class = "Sublime_Text", .tags = 1 << 2)
  23. RULE(.class = "code-oss", .tags = 1 << 2)
  24. RULE(.class = "jetbrains-idea", .tags = 1 << 2)
  25. RULE(.class = "Nemo", .tags = 1 << 3)
  26. RULE(.class = "Spotify", .tags = 1 << 9)
  27. RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1)
  28. RULE(.class = "spfeh", .tags = SPTAG(1), .isfloating = 1)
  29. RULE(.instance = "spmutt", .tags = SPTAG(2), .isfloating = 1)
  30. RULE(.class = "ranger", 0, .isfloating = 1, .floatpos="50% 50% 800W 560H")
  31. RULE(.class = "vim", 0, .isfloating = 1, .floatpos="50% 50% 800W 560H")
  32. RULE(.class = "stpulse", 0, .isfloating = 1, .floatpos="50% 50% 800W 560H")
  33. RULE(.class = "mpv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H")
  34. RULE(.instance = "sxiv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H")
  35. RULE(.class = "neomutt-send", 0, .isfloating = 1, .floatpos="50% 50% 1000W 700H")
  36. RULE(.class = "Zathura", 0, .isfloating = 1, .floatpos="100% 50% 700W 1000H")
  37. RULE(.class = "weather", 0, .isfloating = 1, .floatpos="50% 50% 1200W 800H") // Why did I put this here?
  38. RULE(.class = "center", 0, .isfloating = 1, .floatpos="50% 50% 1000W 600H") // Why did I put this here?
  39. RULE(.class = "htop", 0, .isfloating = 1, .floatpos="50% 50% 1200W 600H") // Why did I put this here?
  40. RULE(.title = "SimCrop", 0, .isfloating = 1, .floatpos="50% 50% 800W 500H")
  41. };