Commit Graph

24 Commits (975335ca0dc6d6a0c09bdef093e4b7f72df7ac6f)

Author SHA1 Message Date
angelic-sedition 975335ca0d add automatic settings for herbstluftwm to change the layout to
fullscreen for the dropdown
10 years ago
angelic-sedition 6f19422ab8 add a post-unmap command for specifying a command to be executed after
unmapping a dropdown
can be used, for example in a tiling wm, with -p or -P to toggle fullscreen on for just a
dropdown then off when unmapping the dropdown
10 years ago
angelic-sedition 1998ca514d rename post-map and pre-map commands for clarity 10 years ago
angelic-sedition 7c86196618 add support for gnome-terminal in combination with bspwm float pre
command
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 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 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 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