Commit Graph

216 Commits (master)
 

Author SHA1 Message Date
angelic-sedition 7bddac6ae2 make get_class_name function take a wid as an arg 9 years ago
angelic-sedition 31c38dabbf fix typo 9 years ago
angelic-sedition fde1fffd6e change function order 9 years ago
angelic-sedition c684b55605 rename geometry setting function for consitency 9 years ago
angelic-sedition 7f287bfaae move geometry getting code into own function 9 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.
9 years ago
angelic-sedition fd8fca6913 add short name -P command for openbox 9 years ago
angelic-sedition 24efb86420 fix auto-show cancel 9 years ago
angelic-sedition d591ff5e0b add a man page 9 years ago
angelic-sedition e820a921e4 make wait time safer for -W
if too short will mess it up
9 years ago
angelic-sedition 87849d3f64 add --clear option 9 years ago
angelic-sedition b138d2c3b3 get rid of repetitive code for getting class name 9 years ago
angelic-sedition 355cd4eb00 add support for turning current win into dropdown 9 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
9 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
9 years ago
Lit Wakefield 3d99bbc910 Initial commit 9 years ago