Coder Social home page Coder Social logo

Comments (9)

worron avatar worron commented on July 28, 2024

How to write code in the configuration so that can resize the window, for example, Control + left or right mouse button?

Mouse resizing already set to Mod4 + right mouse button. Can be changed in keys config, here for example for blue setup.

About floating windows control widget, press Mod4 + h and holding mod key press a/q to resize window, or press F1 to find all widget keys.

Another question is how to make in dfparser.lua what to take the name of programs from Name[ru]?

There is no simple answer unfortunately. This config designed to work with english locale only.

from awesome-config.

webmastak avatar webmastak commented on July 28, 2024

I see:

	self.mouse.client = awful.util.table.join(
		awful.button({}, 1, function (c) client.focus = c; c:raise() end),
		awful.button({}, 2, awful.mouse.client.move),
		awful.button({ env.mod }, 3, awful.mouse.client.resize),
		awful.button({}, 8, function(c) c:kill() end)
	)

The left mouse button moves the window. But the Mod4 + right mouse button does nothing.

from awesome-config.

worron avatar worron commented on July 28, 2024

The left mouse button moves the window. But the Mod4 + right mouse button does nothing.

Strange. Actually middle button (scroll wheel click) should move windows. Do you test it on floating window? I can recommend check your mouse buttons numbers with xev and test mouse buttons bindings and behavior on default awesomewm config.

from awesome-config.

webmastak avatar webmastak commented on July 28, 2024

The middle button also moves the window.

xev out:
Left button: 1
Middle button: null
Right button: 3

from awesome-config.

worron avatar worron commented on July 28, 2024

Have no clue then. This config uses awful.mouse.client.resize from standard awesome libs, no extra magic. Does resize work on default awesome config? Are you sure that you test it on floating window? Does Mod4 + h widget work?

from awesome-config.

webmastak avatar webmastak commented on July 28, 2024

Mod4 + h work
Yes it on floating window.

I tried second side mouse button awful.button({}, 9, awful.mouse.client.resize) does not work.
I don’t already know where to dig.(

from awesome-config.

worron avatar worron commented on July 28, 2024

I tried second side mouse button

This will not work for sure, only 1-3 buttons works right with drag-and-drop features in awesome. Did you try left button with modificators?

awful.button({ 'Mod4' }, 1, awful.mouse.client.resize),
awful.button({ 'Control' }, 1, awful.mouse.client.resize),

Also does resize works on default awesome config (mod4 + right button)?

from awesome-config.

webmastak avatar webmastak commented on July 28, 2024

Thanks.

Yes it works awful.button({ 'Control' }, 1, awful.mouse.client.resize),

I am using the assembly there resizing with the mouse also works in tile mode. I work for a PC and also use a mouse.

from awesome-config.

worron avatar worron commented on July 28, 2024

Closed since no recent activity. Feel free to reopen if any new details come out.

from awesome-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.