Xmagnify class hint for floating expection in i3

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2026-04-30 03:01:15 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2026-04-30 03:01:15 +0200
Commit 5f0af87ca55b0ca5a63ad5f51aee5991f7a4e8bd (patch)
-rw-r--r-- .config/i3/config 3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
...
16
bindsym $mod+bracketright exec --no-startup-id pats -t
16
bindsym $mod+bracketright exec --no-startup-id pats -t
17
bindsym $mod+m exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
17
bindsym $mod+m exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
18
bindsym $mod+l exec --no-startup-id i3lock
18
bindsym $mod+l exec --no-startup-id i3lock
  
19
bindsym $mod+z exec --no-startup-id xmagnify -s 1000 -z 3
19
bindsym $mod+p exec --no-startup-id "rofi -show drun -theme ~/.black.rasi"
20
bindsym $mod+p exec --no-startup-id "rofi -show drun -theme ~/.black.rasi"
20
bindsym $mod+Escape exec --no-startup-id "maim -s | xclip -selection clipboard -t image/png"
21
bindsym $mod+Escape exec --no-startup-id "maim -s | xclip -selection clipboard -t image/png"
21
  
22
  
...
170
for_window [workspace="1"] floating enable
171
for_window [workspace="1"] floating enable
171
  
172
  
172
# Expections for opening in floating mode where XSetClassHint is set to floating
173
# Expections for opening in floating mode where XSetClassHint is set to floating
173
for_window [class="^(mpv|SimpleScreenRecorder|Thunar|transmission)$"] floating enable
174
for_window [class="^(mpv|SimpleScreenRecorder|Thunar|transmission|Xmagnify)$"] floating enable
174
for_window [title="^(Stalag)$"] floating enable
175
for_window [title="^(Stalag)$"] floating enable