Coder Social home page Coder Social logo

awesome-shifty's People

Contributors

aignas avatar elijahmcneish avatar freehaha avatar gdott9 avatar mmawdsleyhallnet avatar vincentbernat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-shifty's Issues

Screen option ignored in custom matcher (awesome 3.5)

Hello, I'm using the shifty branch 3.5, and my version of awesome is 3.5.1.

I have two screens, and I'm trying to make a custom matcher, that looks like this:

{
    match = {
        "skype",
    },
    tag = "4:chat",
    screen = 2,
},

When I open skype on screen 2, it works ok (opens in "4:chat" tag), but when I open it on screen 1, a new tag is created (named "4:chat") and skype is opened there. It seems to be ignoring the screen=2 option.

Is this feature not implemented yet or is this a bug (or maybe I'm doing it wrong)?

Thanks!

Enhancement request: Switch to tag by name

Would it be hard to pop up a prompt to ask for the tag to switch to, and, if it's not "open" yet, do the same behavior as add()? I'm thinking something like emac's buffer switching. I keep too many tags open for the modkey-1, modkey-2 etc. to be useful. Also, it's a lot slower having to think about which number a window is on than to just type a tag name. Doesn't have to be fancy.

I tried adding this on the master branch, but my Lua's skills are practically non-existent (not to mention understanding the internals of awful). I'm sure this is rather simple to do. (I copied the rename function and tried to adapt, but it didn't work.)

Are you still maintaing ?

Hello, are you still maintaining this ? I plan to add luadoc documentation to this. Do you wanna help ?

No sane default position for floating windows

If you have two screens, new windows in floating layout can appear offscreen and inaccessible.

The below patch on 3.5 branch fixed it for me (borrowed from awesome's original rc.lua).

diff --git a/init.lua b/init.lua
index 8e7a760..631e7d9 100644
--- a/init.lua
+++ b/init.lua
@@ -756,6 +756,14 @@ function match(c, startup)
     awful.placement.no_offscreen(c)
   end

+  if not startup then
+     -- Put windows in a smart way, only if they does not set an initial position.
+     if not c.size_hints.user_position and not c.size_hints.program_position then
+        awful.placement.no_overlap(c)
+        awful.placement.no_offscreen(c)
+     end
+  end
+
   local sel = awful.tag.selectedlist(target_screen)
   if not target_tag_names or #target_tag_names == 0 then
     -- if not matched to some names try putting

sloppy focus feature undocumented

this feature appears in your code but it is not documented. this has caused some confusion where a user wanted to disable sloppy focus but couldn't find the usual code that handles it.

personally, I find it strange that a library that handles dynamic tagging also ships with a singular abstraction for this. it feels like feature creep.

I think it should at least be documented very clearly, but I'd vote to remove the feature entirely or move it into a different extension.

if you're okay with removing the feature, I can handle creating the pull request for you. just looking to initiate some discussion on the matter.

history restores to nil tag

awful.tag.history has only one level, so if you delete many tags in a row then subsequent call to history.restore() will leave you on a nil tag.

sweep_delay and "timer not started"

Hi!

When using sweep_delay, we can get a continuous warning about "timer not started". To reproduce this, switch to a new tag, open a terminal, close it, then switch to another tag before the sweep delay is hit. When the tag is sweeped, we get a continuous warning about "timer not started".

To fix this, make "tmr" variable local.

refactor set()

like match, this function is ridiculously long and tries to do 100 different things.

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.