Commit Graph

110 Commits (cf7b1a3a227bbe142b2c73437e54235a505c0e45)

Author SHA1 Message Date
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 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