Commit Graph

216 Commits (master)
 

Author SHA1 Message Date
KuxaBeast fa494e0e67
Fixed spelling 5 years ago
Jan Kužílek 5a85df2508 Replaced old wid-retrieving method with xtoolwait 5 years ago
Fox Kiester eb09fc22f7
Add shellcheck github action badge 5 years ago
Fox Kiester ffaf358bde
Fix shellcheck github action 5 years ago
Fox Kiester b4ddb1214b
Add github actions shellcheck workflow 5 years ago
Fox Kiester b7afed7b41
Give specific error when illegal opt is given 5 years ago
Fox Kiester 9c75b30212
Add timeout to wait for program window to appear
Also add error helper function and fix option validation.

Addresses #62. Prevents tdrop from spiking CPU forever if a program fails to
start.
5 years ago
Fox Kiester f4f0f34644
Add hide_all command
Fixes #60.
5 years ago
Fox Kiester 24d61bd266
Fix -a for emacsclient (set class as "emacs") 5 years ago
Fox Kiester 59c426dfc0
Remove unnecessary quotes 5 years ago
Fox Kiester 4926be8fcb
Allow specifying program flags after the program
This not working has caused a lot of confusion. Not only is -f not necessary,
but the implementation is worse than just allowing flags after the program.
Deprecate the -f flag. Stop evaling a string; build an array of program options
instead.

Addresses various issues: #6, #17, #52, etc.
5 years ago
Fox Kiester 2b1553090d
Fix shellcheck errors/warnings 5 years ago
Fox Kiester 5a44b827ad
Reindent 5 years ago
Fox Kiester c143104977
Suppress stderr when reading no_hide file 5 years ago
Fox Kiester 216070e29e
Improve performance
- Prefer builtins where possible
  - Use builtin math for percent_of_total
  - Use parameter expansion instead of awk where possible
  - Query specific property that want for xprop instead of using awk
- Avoid extra call to get_window_manager
- Use xrandr's --current flag (doesn't poll for hardware changes; ~0.01 second vs. 0.075 seconds on my comupter)
- Get current monitor name from bspc directly without parsing

Addresses #36.
5 years ago
Fox Kiester d74150f01f
Add support for Trinity's konsole (TDE)
Fixes #58.
5 years ago
Kamil Sołtysik 60435d240f
Pointer-based screen detection 5 years ago
Fox Kiester 183d983e4d
Explicitly use gawk and update dependency list
Fixes #49.
6 years ago
Fox Kiester 7eaa3b517d
Add support for qutebrowser
Fixes #56.
6 years ago
Fox Kiester 89d2e4ffce
Add workaround to support urxvt with tabbed plugin
Fixes #54.
6 years ago
Alexandr Priezzhev 198795c0d2
Fixes running Alacritty with the command shell argument 6 years ago
Fox Kiester 7d3192286a
Add initial support for emacsclient 6 years ago
Fox Kiester d91b1594b1
Add more broad urxvt name check for class inference
Addresses #47.
6 years ago
Fox Kiester 27894d40c3
Fix indentation/newline for --class in manpage 6 years ago
Fox Kiester fc2593f36e
Add initial discord support 6 years ago
Fox Kiester 5396d1bbdf
Mention that tdrop has a Void package
Re #43.
7 years ago
Fox Kiester c3978e3059
Update repository, contact, and version information 7 years ago
noctuid 6c7336d84a Prevent matching multiple monitors
Fixes #44.
7 years ago
noctuid 6adf44ef50 Improve explanation of geometry flags
Mention in basic flags section that geometry options can accept
percentages and negative numbers as arguments.
7 years ago
noctuid b7b529f80f Mention that --wm is needed if wmname has been used
Addresses #40.
7 years ago
noctuid 3f0867e565 Make own heading for -a explanation
Also swap flicker and -m headings.
7 years ago
noctuid 3278f76f9e Silence more irrelevant errors/output 7 years ago
noctuid 306bb984e4 Specify in readme that program arg should be last
Addresses #39.
7 years ago
noctuid ad8c192269 Clarify -f example in manpage
Addresses #39.
7 years ago
noctuid 8808dff04b Add -s support for lilyterm 7 years ago
noctuid 2ea52326bc Add -s support for LXTerminal
Also list related desktop environments for terminals.
7 years ago
noctuid 157ac0c2f1 Mention support for tinyterm/miniterm
Also rearrange terminals alphabetically.
7 years ago
noctuid 14a935ca24 Add support for -s for cool-retro-term 7 years ago
noctuid b1ba3b6129 Add -s support for qterminal 7 years ago
noctuid 498de5706e Fix -s for st and xst
Fixes #29.
7 years ago
noctuid 3aa34f7d21 Update hooks documentation
- More explicitly mention that single quotes should be used to prevent
  variable evaluation
- List hook flags in readme
- Consistently order in the readme and manpage
- Fix typo in manpage (--pre-create-hook -> --post-create-hook)
- Some rewording
7 years ago
noctuid baa61705f6 Update flicker section in readme: mention --name 7 years ago
noctuid 1a22a4158a Update basic flags section in readme
Reword and mention -m flag.
7 years ago
noctuid a6e3dbb7e8 Update/reword advantages section 7 years ago
noctuid ffef664678 Automatically use -d 0 0 with alacritty
Addresses #38.
7 years ago
noctuid 95d742acc0 Add -s support for kitty 7 years ago
noctuid 36995d1090 Fix geometry restoration for auto_show
Geometry restoration broke in 056edc6. Now width and height are also
explicitly restored.
7 years ago
noctuid 0facf21df7 Add tmuxifier support
Addresses #38.
7 years ago
noctuid bf97b17aaf Update demos 7 years ago
noctuid c72d00af39 Fix case when dropdown open on other desktop for i3
Addresses #21 and #35.
7 years ago