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.

48 lines
2.5 KiB

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 = "firefox", .tags = 1 << 1)
  12. RULE(.class = "tabbed-surf", .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", .isfloating = 1, .floatpos="50% 50% 1200W 800H")
  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(.instance = "spfile", .tags = SPTAG(3), .isfloating = 1)
  31. RULE(.instance = "spmusic", .tags = SPTAG(4), .isfloating = 1)
  32. RULE(.instance = "spcal", .tags = SPTAG(5), .isfloating = 1)
  33. /* Terminal Window Rules */
  34. RULE(.class = "ranger", 0, .isfloating = 1, .floatpos="50% 50% 800W 560H")
  35. RULE(.class = "lf", 0, .isfloating = 1, .floatpos="50% 50% 800W 560H")
  36. RULE(.class = "vim", 0, .isfloating = 1, .floatpos="50% 50% 1000W 700H")
  37. RULE(.class = "stpulse", 0, .isfloating = 1, .floatpos="50% 50% 800W 560H")
  38. RULE(.class = "mpv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H")
  39. RULE(.instance = "sxiv", 0, .isfloating = 1, .floatpos="100% 1% 600W 350H")
  40. RULE(.class = "neomutt-send", 0, .isfloating = 1, .floatpos="50% 50% 1000W 700H")
  41. //RULE(.class = "Zathura", 0, .isfloating = 1, .floatpos="100% 50% 700W 1000H")
  42. //RULE(.class = "Surf", 0, .isfloating = 1, .floatpos="100% 100% 800W 1200H")
  43. RULE(.class = "weather", 0, .isfloating = 1, .floatpos="50% 50% 1200W 800H")
  44. RULE(.class = "center", 0, .isfloating = 1, .floatpos="50% 50% 1000W 600H")
  45. RULE(.class = "htop", 0, .isfloating = 1, .floatpos="50% 50% 1200W 600H")
  46. RULE(.title = "SimCrop", 0, .isfloating = 1, .floatpos="50% 50% 800W 500H")
  47. };