diff options
author | Yigit Sever | 2020-10-19 17:51:46 +0300 |
---|---|---|
committer | Yigit Sever | 2020-10-19 17:51:46 +0300 |
commit | 229284d0450c91a303a42102da8fc8c437c85f6f (patch) | |
tree | 103b77023a679df27f1aa44691097cac6380d601 /.config/flashfocus/flashfocus.yml | |
parent | 1b044dcd159e86a20d14cd4cefb3c696f563a9f3 (diff) | |
download | dotfiles-229284d0450c91a303a42102da8fc8c437c85f6f.tar.gz dotfiles-229284d0450c91a303a42102da8fc8c437c85f6f.tar.bz2 dotfiles-229284d0450c91a303a42102da8fc8c437c85f6f.zip |
tracking flashfocus
Diffstat (limited to '.config/flashfocus/flashfocus.yml')
-rw-r--r-- | .config/flashfocus/flashfocus.yml | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/.config/flashfocus/flashfocus.yml b/.config/flashfocus/flashfocus.yml new file mode 100644 index 0000000..a597adb --- /dev/null +++ b/.config/flashfocus/flashfocus.yml | |||
@@ -0,0 +1,92 @@ | |||
1 | ## @@@@@@@@@@@@@@@@@@@@@@ | ||
2 | ## Flashfocus config file | ||
3 | ## @@@@@@@@@@@@@@@@@@@@@@ | ||
4 | |||
5 | # Opacity of window during flash. | ||
6 | flash-opacity: 0.8 | ||
7 | |||
8 | # Windows are restored to this opacity value at the end of a flash. | ||
9 | default-opacity: 1 | ||
10 | |||
11 | # Length of flash in milliseconds. | ||
12 | time: 500 | ||
13 | |||
14 | # If true, flashes are not faded out. This will improve performance but flashes | ||
15 | # won't be smooth. | ||
16 | simple: false | ||
17 | |||
18 | # Number of animation frames in a flash. | ||
19 | ntimepoints: 10 | ||
20 | |||
21 | # Set this to false if you don't want windows to flash on focus. | ||
22 | flash-on-focus: true | ||
23 | |||
24 | # Set this to false if you don't want fullscreen windows to flash. | ||
25 | flash-fullscreen: true | ||
26 | |||
27 | # Whether or not to flash windows if they are the only window on the desktop. | ||
28 | # Possible values: | ||
29 | # 'always': | ||
30 | # Always flash lone windows | ||
31 | # 'never': | ||
32 | # Never flash lone windows | ||
33 | # 'on_open_close': | ||
34 | # Lone windows will be flashed only if a) if they were just opened and b) | ||
35 | # if another window was just closed. | ||
36 | # 'on_switch': | ||
37 | # Lone windows will be flashed only upon switching desktops. | ||
38 | flash-lone-windows: 'always' | ||
39 | |||
40 | |||
41 | # Defining window-specific flash rules | ||
42 | # | ||
43 | # X11-based window managers (e.g i3, bspwm) | ||
44 | # ----------------------------------------- | ||
45 | # Flash rules are defined by matching the WM_CLASS property of a window. To get | ||
46 | # the WM_CLASS property use 'xprop WM_CLASS' and click on a window. The | ||
47 | # property is a tuple of the form (window-id, window-class). The window-class | ||
48 | # is usually the name of the application, but not always. | ||
49 | # | ||
50 | # | ||
51 | # Say I'd like to set all 'termite' windows to 80% opacity but leave other | ||
52 | # windows at full opacity: | ||
53 | # | ||
54 | # rules: | ||
55 | # - window-class: Termite | ||
56 | # default-opacity: 0.8 | ||
57 | # | ||
58 | # | ||
59 | # I also would prefer that firefox windows are not flashed on focus: | ||
60 | # | ||
61 | # rules: | ||
62 | # - window-class: firefox | ||
63 | # flash-on-focus: False | ||
64 | # - window-class: Termite | ||
65 | # default-opacity: 0.8 | ||
66 | # | ||
67 | # | ||
68 | # For more complicated rules, you can use (python-style) regexes: | ||
69 | # | ||
70 | # rules: | ||
71 | # - window-id: ^(?!termite)$ | ||
72 | # default-opacity: 0.8 | ||
73 | # | ||
74 | # | ||
75 | # Sway | ||
76 | # ---- | ||
77 | # Native wayland apps can be matched using the app_id and window name. These | ||
78 | # can be found using `swaymsg -t get_tree`. XWayland apps are matched with | ||
79 | # using WM_CLASS as above (this can also be found with `swaymsg`) | ||
80 | # | ||
81 | # Given that termite is wayland native and firefox is not, the rules above | ||
82 | # could instead be written: | ||
83 | # | ||
84 | # rules: | ||
85 | # - window-class: firefox | ||
86 | # flash-on-focus: False | ||
87 | # - app-id: termite | ||
88 | # default-opacity: 0.8 | ||
89 | # | ||
90 | # rules: | ||
91 | # - window-name: ^(?!termite)$ | ||
92 | # default-opacity: 0.8 | ||