Commit Graph

26 Commits (7c861966182c88df2c23e85021185df06c7facea)
 

Author SHA1 Message Date
angelic-sedition 7c86196618 add support for gnome-terminal in combination with bspwm float pre
command
10 years ago
angelic-sedition e3c2e391e0 make readme headings smaller 10 years ago
angelic-sedition 7b63ec6685 fix i3 auto-showing by detecting if window was tiled or floating before
hiding it
10 years ago
angelic-sedition a670eeb968 add a readme 10 years ago
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