Skip to content

[FEATURE REQUEST] : Toggle Magnifier focused window feature #6300

Open
@thealio

Description

Welcome

  • Yes, I've searched similar issues and discussions on GitHub and didn't find any.

Impact

  • This feature requires new configuration and/or commands

Current Behavior


Desired Behavior

Hi,
on Xmonad , I use with great stisfation the magnifier layout
https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Layout-Magnifier.html

It permits to toggle on/off the magnify focused window (the dimesion of the current focused window are increased by a given value, making it bigger when focused) .

The feature will requre pribably hard work, so I don' t expect to having a primary relevance, despite in my opinion is absolutely useful and a muts have .

It will require some options and keybindings , eg:

# This will enable / disable the magnify focuesd window behavior
magnifier_enable on | off      

# This will set the magnifier ratio
# 1 : window is not increased  , 1,5 : windows will be bigger by 1.5   etc.
# also , setting from 0.9 going down will decrease the windows size , for a "pop-in" effect"
magnifier_value  1 | 1,5 | 2 | etc 

# The keybind to toggle magnifier on/off
bindsym Mod4+c magnifier toggle

Another way could be enabling magnifier , and giving a value to the keybind

# This will enable / disable the magnify focuesd window behavior
magnifier_enable on | off    

# The keybind to toggle magnifier on/off with a giving value
# Each keybind will override the last active magnifier
# Toggle keys, each keys press will toggle on/of the command
bindsym Mod4+c magnifier toggle 1       # magnifier value setted to default  ( no magnifier )
bindsym Mod4+d magnifier toggle 0,9   
bindsym Mod4+e magnifier toggle 1,5

While I prefer the 1st way to organize the configuration , both could be used

Again , I know this can be very tricky an potentially risky , regardig resources usage and initial bugs

On Xmonad btw this feature do not cause any of that , keeping it smooth & reactive

Thank you & happy i3wm usage everyone !

i3 version

Binary i3 version:  4.24 © 2009 Michael Stapelberg and contributors
Running i3 version: 4.24 (pid 612)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions