-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #193 from budlabs/next
2023.07.13.1
- Loading branch information
Showing
34 changed files
with
366 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: budRich | ||
|
||
--- | ||
|
||
### before anything else, try to reproduce the bug with the [wiki config](https://github.com/budlabs/i3ass/wiki/i3-config-example) | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Distro [e.g. RHEL, Ubuntu 12.10, Arch btw] | ||
|
||
**Post the output of the command `i3ass`** | ||
``` | ||
output goes here | ||
``` | ||
|
||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
#### i3menu | ||
[i3ass] | ||
|
||
has been rewritten to use a custom dmenu fork instead | ||
of rofi. i3menu is no longer part of i3ass repository | ||
and now lives in it's own repo. | ||
A *"new"* command, that prints environment information. | ||
|
||
[i3list] | ||
|
||
Fixed an issue where i3fyra workspace couldn't be | ||
seen if it wasn't the currently active workspace (#180) | ||
|
||
[i3fyra] | ||
|
||
Fixed a typo that made I3FYRA_MAIN_CONTAINER be ignored | ||
|
||
[i3king] | ||
|
||
Fixed an issue where commands where not printed | ||
when `--print-commands` was used (i3fyra) | ||
|
||
Account for `"actual_deco_rect":` in JSON, not doing | ||
this made it so some windows never triggered rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#### 2023.06.04 | ||
|
||
[i3menu] | ||
|
||
has been rewritten to use a custom dmenu fork instead | ||
of rofi. i3menu is no longer part of i3ass repository | ||
and now lives in it's own repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[i3ass] | ||
|
||
A *"new"* command, that prints environment information. | ||
|
||
[i3list] | ||
|
||
Fixed an issue where i3fyra workspace couldn't be | ||
seen if it wasn't the currently active workspace (#180) | ||
|
||
[i3fyra] | ||
|
||
Fixed a typo that made I3FYRA_MAIN_CONTAINER be ignored | ||
|
||
[i3king] | ||
|
||
Fixed an issue where commands where not printed | ||
when `--print-commands` was used (i3fyra) | ||
|
||
Account for `"actual_deco_rect":` in JSON, not doing | ||
this made it so some windows never triggered rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../share/Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
NAME := i3ass | ||
VERSION := 2023.07.13.1 | ||
CREATED := 2023-07-12 | ||
UPDATED := 2023-07-13 | ||
AUTHOR := budRich | ||
CONTACT := https://github.com/budlabs/i3ass | ||
USAGE := i3ass | ||
DESCRIPTION := Print environment information | ||
ORGANISATION := budlabs | ||
LICENSE := MIT | ||
|
||
MANPAGE_LAYOUT = \ | ||
$(CACHE_DIR)/help_table.txt \ | ||
$(CACHE_DIR)/long_help.md \ | ||
$(DOCS_DIR)/description.md \ | ||
$(CACHE_DIR)/copyright.txt | ||
|
||
$(CACHE_DIR)/wiki.md: config.mak $(MANPAGE_LAYOUT) | ||
@$(info making $@) | ||
{ | ||
printf '%s\n' '## NAME' '$(NAME) - $(DESCRIPTION)' \ | ||
'## SYNOPSIS' '`$(USAGE)`' \ | ||
'## OPTIONS' | ||
|
||
sed 's/^/ /g' $(CACHE_DIR)/help_table.txt | ||
cat $(CACHE_DIR)/long_help.md | ||
|
||
echo "## USAGE" | ||
cat $(DOCS_DIR)/description.md | ||
|
||
printf '%s\n' \ | ||
'## CONTACT' \ | ||
"Send bugs and feature requests to: " \ | ||
"$(CONTACT)/issues" \ | ||
'## COPYRIGHT' | ||
|
||
cat $(CACHE_DIR)/copyright.txt | ||
|
||
} > $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The `i3ass` command is used to print information | ||
about the current environment relevant to i3ass. | ||
The version, update date and installation path of | ||
the other commands in i3ass. Version of the commands | ||
`i3, xdotool, gawk, bash`. And the environment variables: | ||
I3FYRA_WS and I3FYRA_MAIN_CONTAINER. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print help and exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print messages to stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
trap 'CLEANUP' EXIT INT HUP | ||
|
||
CLEANUP() { | ||
|
||
[[ -n $_msgstring ]] && { | ||
((_o[verbose])) || qflag='-q' | ||
>&2 i3-msg "${qflag:-}" "$_msgstring" | ||
} | ||
|
||
((___t)) && >&2 echo "<<< $___cmd" "$(( (10#${EPOCHREALTIME//[!0-9]} - ___t) / 1000 ))ms" #bashbud | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../share/ERR.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../share/LOG.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../share/TIMER.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
main(){ | ||
|
||
for ass in i3{flip,fyra,get,gw,king,Kornhe,list,var,viswiz,zen}; do | ||
path=$(command -v "$ass") | ||
version_output=$("$ass" -v 2>&1) | ||
|
||
# i3ass - version: 0.0.1 | ||
# updated: 2023-07-12 by budRich | ||
[[ $path ]] \ | ||
&& read -rs _ _ _ version _ updated _ \ | ||
<<< "${version_output//$'\n'/ }" | ||
|
||
printf "%-8s | %-7s | %-10s | %s\n" \ | ||
"$ass" "${version:--}" "${updated:--}" "${path/~/'~'}" | ||
done | ||
|
||
echo | ||
echo ------------------------------------------- | ||
echo | ||
|
||
for cmd in i3 bash gawk xdotool ; do | ||
if command -v "$cmd" >/dev/null ; then | ||
"$cmd" --version 2>&- | head -n1 | ||
else | ||
echo "WARNING: command $cmd not found" | ||
fi | ||
done | ||
|
||
echo | ||
echo ------------------------------------------- | ||
echo | ||
export | grep I3FYRA | cut -f3 -d' ' | ||
} | ||
|
||
__dir=$(dirname $(readlink -f "${BASH_SOURCE[0]}")) #bashbud | ||
source "$__dir/_init.sh" #bashbud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.nh | ||
.TH I3ASS 2023-07-13 budlabs "User Manuals" | ||
.SH NAME | ||
.PP | ||
i3ass - Print environment information | ||
|
||
.SH SYNOPSIS | ||
.PP | ||
\fB\fCi3ass\fR | ||
|
||
.SH OPTIONS | ||
.PP | ||
.RS | ||
|
||
.nf | ||
-h, --help | print help and exit | ||
-v, --version | print messages to stderr | ||
|
||
.fi | ||
.RE | ||
|
||
.SH USAGE | ||
.PP | ||
The \fB\fCi3ass\fR command is used to print information | ||
about the current environment relevant to i3ass. | ||
The version, update date and installation path of | ||
the other commands in i3ass. Version of the commands | ||
\fB\fCi3, xdotool, gawk, bash\fR\&. And the environment variables: | ||
.br | ||
I3FYRA_WS and I3FYRA_MAIN_CONTAINER. | ||
|
||
.SH CONTACT | ||
.PP | ||
Send bugs and feature requests to: | ||
.br | ||
https://github.com/budlabs/i3ass/issues | ||
|
||
.SH COPYRIGHT | ||
.PP | ||
Copyright (c) 2023, budRich of budlabs | ||
.br | ||
SPDX-License-Identifier: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--help|-h --version|-v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../share/share.mak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
NAME := i3fyra | ||
VERSION := 1.35 | ||
VERSION := 1.36 | ||
CREATED := 2017-01-14 | ||
UPDATED := 2022-06-05 | ||
AUTHOR := budRich | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.