Commit Graph

22 Commits (e2d1e93d683412cc87162f80f7c1c2a0569302aa)
 

Author SHA1 Message Date
angelic-sedition e2d1e93d68 add initial support for i3 '-a'
currently working with dropdowns, but auto showing needs fixing
10 years ago
angelic-sedition f042bbf6de minor fixes, re-order, and add section headings 10 years ago
angelic-sedition c747573077 add back default y offset of 1
found that a y offset of 0 causes problems in more than just bspwm (e.g.
pekwm when auto-showing)
10 years ago
angelic-sedition 2a938d9adf add initial support for automatically detecting wm and setting options
accordingly
10 years ago
angelic-sedition 8130446433 make auto_show example more clear in man page 10 years ago
angelic-sedition 4759409950 add option to specify decoration size
used with auto_show to correct positioning; only have found necessary
with one window manager so far (blackbox)
10 years ago
angelic-sedition 7bddac6ae2 make get_class_name function take a wid as an arg 10 years ago
angelic-sedition 31c38dabbf fix typo 10 years ago
angelic-sedition fde1fffd6e change function order 10 years ago
angelic-sedition c684b55605 rename geometry setting function for consitency 10 years ago
angelic-sedition 7f287bfaae move geometry getting code into own function 10 years ago
angelic-sedition acd92160c3 make auto_show mantain previous window position
Originally tried parsing xwininfo's -geometry section output with awk, but signs (+/-) change depending on window position.
Instead, subtract relative from absolute if they are different.
On window managers with decorations/borders they will be different.
10 years ago
angelic-sedition fd8fca6913 add short name -P command for openbox 10 years ago
angelic-sedition 24efb86420 fix auto-show cancel 10 years ago
angelic-sedition d591ff5e0b add a man page 10 years ago
angelic-sedition e820a921e4 make wait time safer for -W
if too short will mess it up
10 years ago
angelic-sedition 87849d3f64 add --clear option 10 years ago
angelic-sedition b138d2c3b3 get rid of repetitive code for getting class name 10 years ago
angelic-sedition 355cd4eb00 add support for turning current win into dropdown 10 years ago
angelic-sedition 3c4de4f7c0 prevent need to click on initial term/win creation
if there is no saved window id, xwininfo -id will be run without an
argument and will wait for the user to click on a window; prevent this
from happening
10 years ago
angelic-sedition c2f94ff372 move hide_show script from dotfiles to own repo
initial script commit

- remove xdo dependency
- make tmux usage optional
- only toggle by wid (removed generic class toggle)
- generalize script to work with more than just terminals
- generalize script to not be tied to bspwm
- add -p and -P flags for window manager specific oneshot floating rules
or commands
- add a bspwm tested command for -p
- add work-around for urxvt's different -e option
- add long options
- make y-offset default to 1 so that windows aren't moved to center
- add -n flag to allow for multiple dropdowns of same terminal
- update help
10 years ago
Lit Wakefield 3d99bbc910 Initial commit 10 years ago