Comments (10)
The module has been adapted for 3.5+ too, so it doesn't break.
You first prove it by saying it shows up with uncorrect geometry.
Your 'problem' is just that default scratch.drop
height value is somehow not enough for your setup, hence you've got to increase it a little.
This is what you can read from in-code documentation of scratch/drop.lua:
-- scratch.drop(prog, vert, horiz, width, height, sticky, screen)
--
-- Parameters:
-- prog - Program to run; "urxvt", "gmrun", "thunderbird"
-- vert - Vertical; "bottom", "center" or "top" (default)
-- horiz - Horizontal; "left", "right" or "center" (default)
-- width - Width in absolute pixels, or width percentage
-- when <= 1 (1 (100% of the screen) by default)
-- height - Height in absolute pixels, or height percentage
-- when <= 1 (0.25 (25% of the screen) by default)
-- sticky - Visible on all tags, false by default
-- screen - Screen (optional), mouse.screen by default
so, considering my configs, try replacing
-- Dropdown terminal
awful.key({ modkey, }, "z", function () drop(terminal) end),
with something like this
-- Dropdown terminal
awful.key({ modkey, }, "z", function () drop(terminal, "top", "center", 1, 0.5) end),
from awesome-copycats.
The default setup is 25% of the height of a 15.6 laptop inch, so there should be no reason I need to change it in the first place, but realistically I see ~.25% regardless of what settings I use. I tried a variety of different pixel and percentage based settings. I am using Awesome 3.5.1 compiled against Lua 5.2.2.
from awesome-copycats.
The default setup is 25% of the height and 100% of the width of the screen, regardless of the screen size.
Try using this version of drop.lua.
from awesome-copycats.
Yes, I realize what percent means. Anyway, that version of drop.lua produces the same bug for me.
from awesome-copycats.
The few times it has very sporadically worked, it displayed at ~25% height and ~75% screen width. Since using the git version of drop.lua, I've noticed the small sliver of the app that is now exposed drops from the very top of the screen instead of right below my statusbar and is very slightly taller (maybe a few pixels) and significantly less wide (went from ~75% to ~15% of screen width). The height increase was just enough to realize that I am only seeing the top few pixels of my window and not the bottom. If I had the time I would try to learn some lua and figure out what was going wrong, but for now I am happy to try any suggestions you have or look for an alternative solution.
from awesome-copycats.
I'm happy that you realize, but I was correcting this statement of yours:
The default setup is 25% of the height of a 15.6 laptop inch
because it was false.
You're getting that behaviour because it's the original version, which considers only the workarea.
Honestly, the fact that you tried different arguments in drop
without having a change seems odd, but if you're sure that it's not something related to your machine, then I can't help you further.
Report to the author: anrxc.
from awesome-copycats.
I'm closing this because it's not an awesome-copycats issue.
Yours is a quite unique behavior, which everybody using scratchpad never had.
But if you solve it, feel free to email me to tell how.
from awesome-copycats.
I emailed anxrc and in the meantime found a workaround. The problem is that the scratchpad is floating by default. When in floating layout it works fine, but in any tiled layout it hides out at the top of the screen. If I use the hotkey for awful.client.floating.toggle any app will have this problem in a tiled layout. So I simply use it to toggle the scratchpad off floating and when I want to use it it appears as a tile.
from awesome-copycats.
SOLVED: Updated from Arch Community repository's "awesome 3.5.1-2" to Arch User repository's "awesome-git," i.e., v3.5.1-15-gabd8246 and now it works perfectly.
from awesome-copycats.
Very strange, working effortlessly in 3.5.1 for me, but anyway it's good to hear that.
from awesome-copycats.
Related Issues (20)
- How to change the notification icon size HOT 2
- powerarrow binclock's widget height is hard code, so it's not aways ok HOT 1
- powerarrow-darker: attempt to call field 'at_screen_connect' HOT 3
- Mistyped variable name gui_editor HOT 1
- adding streetturtle widgets to copycats theme HOT 2
- powerarrow theme error with notifications HOT 3
- Installation process ? HOT 3
- Fullscreen-ing single application freezes Awesome HOT 4
- Error fetching submodules HOT 3
- Holo theme error when pressing the HOT 5
- Hide menu when mouse leaves it not working properly HOT 2
- How To add new widgets HOT 2
- change the colours of the powerarrows in the powerarrow theme? HOT 2
- No such file or directory: awesome-copycats HOT 1
- Questions about mpd, function key shortcuts, alternative to gtk applications HOT 4
- switch to parent window after closing child window HOT 4
- Multicolor Theme: Multiple Wallpapers & MPD Previews HOT 3
- Please figure it out thanks HOT 3
- No icons HOT 1
- control remote MPD using Lain widget HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-copycats.