Comments (8)
The aforementioned commit was reverted in d396210, and the fit_monitor function was reworked in later commits.
Things should be working fine as of 44ab9fc.
At least it works fine for me with sxiv -g ...
.
from bspwm.
Unfortunately, ftjerm still doesn't work. If I move the window a little, hide it, and then re-show it, it reappears in the correct location. However, the second I click on another window and then hide/show (or even restart) ftjerm it starts showing up in the center of the screen again. However, this may be a weird bug in ftjerm where it assumes that the window manager will map it to it's last location (sxiv works). If my explanation doesn't make sense, tell me. I'm on no sleep right now.
from bspwm.
This appears to affect st
as well. A new st
window is always centered regardless of the specified geometry; however, if said window is moved with the pointer, unmapped, and remapped, it appears in the previous position as expected.
from bspwm.
I would like to underline the fact that there's no requests involved here, i.e. we're not talking about configure requests but about the initial size/position.
@Stebalien: ftjerm always resets its size and position when it maps itself. On a side note: why would you want to use this instead of writing scripts/rules for your regular terminal?
@supplantr: both assumptions are false in the general case and I will fix the associated bugs ASAP.
from bspwm.
Good point:
#!/bin/bash
WID=$(xdo id -n "dropterm" | head -1)
if [[ -n "$WID" ]]; then
if bspc query -W -w $WID > /dev/null; then
xdo hide $WID
else
xdo show $WID
fi
else
termite --geometry="550x350-5-5" --name="dropterm" --exec tmux &
fi
from bspwm.
Do you intend to make the dropterm window appear at the bottom right corner of the focused monitor?
from bspwm.
Initially, I was trying to get it to appear at the absolute position specified (I was going to modify the script to make it choose the correct monitor). However, as most programs don't seem to take multiple monitors into account, it's probably better to just put windows on the focused monitor by default (i.e. #81).
However, as this bug appears to be fixed, I'll close the report. Thanks.
from bspwm.
Also, in case anyone ever wonders, here is my final working version (it's kind of complicated because termite creates a hidden window):
#!/bin/bash
WIDS=$(xdo id -n "dropterm")
for wid in ${WIDS[@]}; do
if [[ "$(xprop -id $wid '=$0' _NET_WM_WINDOW_TYPE)" == '_NET_WM_WINDOW_TYPE(ATOM)=_NET_WM_WINDOW_TYPE_NORMAL' ]]; then
WID=$wid
fi
done
if [[ -n "$WID" ]]; then
if bspc query -W -w $WID 2>/dev/null; then
xdo hide $WID
else
xdo show $WID
fi
else
termite --geometry="550x350-4-4" --name="dropterm" --exec tmux &
fi
from bspwm.
Related Issues (20)
- Suggested man page tweak: "The special selector %<name>" -> "The special selector %name"
- inconsistent focus when opening with qutebrowser HOT 4
- Bump to the latest version
- BSPWM freezes after being afk for around 20-30 minutes HOT 2
- chromium ui breaks while opening booksmarks popup HOT 3
- ghost windows caused by picom
- My bspwm takes like a second or two to respond to every keybinding followed by the modkey. HOT 8
- How to use multiple hotkeys for the pointer_modifier?
- Cannot open tmuxifier on bspwm config reload
- Window coordinates are out-of-sync after config event
- Mouse input freezes on games like minecraft
- Desktop Assignment Swaps Unexpectedly in Dual Monitor Setup HOT 19
- Spawning a node on a certain desktop HOT 4
- [Kinda Bug?] No "node_transfer" events before or after a "desktop_remove" event
- Rules for Floating Windows not setting correctly for multi-monitor setup
- BSPWM and XFCE4 not agreeing on workspaces HOT 1
- Floating windows that meant to be moved around with their title bars move on focused LMB
- Changing border of floating window breaks it HOT 1
- Segfault in `_apply_name` because xcb's strings aren't null-terminated
- Marble-qt windowing issue & `external_rules_command` HOT 1
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 bspwm.