gouvinb
e3de9cc67b
make better log with -wm flag
2023-11-07 10:32:23 +01:00
gouvinb
1c11329581
Reworked command building.
...
Typical shell-supported command sets:
- `cmd`
- `cmd --arg`
- `cmd --arg=value`
- `ENV_VAR="value" cmd`
- `ENV_VAR="value" cmd --arg`
- `ENV_VAR="value" cmd --arg=value`
The listed commands above are now better managed.
Initially, the command types `cmd --arg=value` or `ENV_VAR="value" cmd --arg=value` were not correctly parsed. After finding a solution to this problem, I conducted further tests and discovered cases that were not currently handled. These cases are as follows:
- `cmd "arg with space"`
- `ENV_VAR="value with space" cmd`
2023-11-06 15:35:42 +01:00
gouvinb
87ee23afe2
print the correct executed command (prefix supported)
2023-11-06 12:40:10 +01:00
gouvinb
808fd032a0
fix prefix command with hypr or hyprland and update -wm description
2023-11-06 00:05:16 +01:00
gouvinb
1d3f023dc8
add support to hyprlandctl
...
BREAKING CHANGE: '-swaymsg' removed, use '-wm sway' instead
2023-11-05 23:36:18 +01:00
Piotr Miller
ccfe7776c6
Merge pull request #101 from gouvinb/main
...
Add the `swaymsg` flag to launch a program with `swaymsg exec` and prevent potential involuntary closing with Jetbrains IDEs
2023-11-05 14:03:26 +01:00
gouvinb
5a7dbefeb0
adds the "swaymsg" flag to launch a program with "swaymsg exec" and prevent potential involuntary closing with Jetbrains IDEs
2023-11-01 00:44:50 +01:00
piotr
fd26bb39e8
adjust help descriptions
v0.3.9
2023-07-28 01:18:08 +02:00
piotr
bc74ebc927
update usage
2023-07-28 01:15:31 +02:00
piotr
d65d075bdb
update usage
2023-07-28 01:13:57 +02:00
Piotr Miller
58ea8ea8db
Merge pull request #95 from trinitronx/add-keyboard-mode-flag
...
Add keyboard mode flag to support both: "on-demand" & "exclusive" GTK layer-shell modes
2023-07-28 00:51:52 +02:00
Piotr Miller
94b8b8d7f0
Merge pull request #96 from nwg-piotr/theme
...
Force GTK_THEME for libadwaita apps
2023-07-28 00:49:47 +02:00
piotr
ebfaba1881
undo version bump
2023-07-28 00:47:27 +02:00
piotr
6656568c6a
update -ft description
2023-07-27 03:44:29 +02:00
piotr
b3fa492b44
bump to 0.3.10
2023-07-27 03:27:56 +02:00
piotr
c0faecdb8b
add -ft argument
2023-07-27 03:27:27 +02:00
James Cuzella
830edefa22
Refactor -k flag as Bool to toggle keyboard mode on-demand / exclusive
2023-07-24 20:48:35 -06:00
James Cuzella
aeeb4e4890
Fix warn messages for short -k flag
2023-07-23 22:49:52 -06:00
James Cuzella
6bbfbea1a8
Handle empty string passed to --keyboard/-k flag
2023-07-23 22:45:16 -06:00
James Cuzella
d88d9795d1
Document --keyboard/-k flag in README
2023-07-23 22:22:41 -06:00
James Cuzella
f85356bdc7
Drop keyboard mode: 'none' b/c it doesn't make sense with this app to not have keyboard input at all
2023-07-23 20:30:14 -06:00
James Cuzella
37c9c2d520
Add --keyboard/-k flag to set GTK layer shell keyboard mode (default: exclusive)
2023-07-23 20:26:09 -06:00
Piotr Miller
2903abd831
Merge pull request #94 from 6543-forks/smal_code_refactor
...
smal code refactors
2023-07-07 22:48:39 +02:00
Piotr Miller
9cc81fa38a
Merge pull request #93 from 6543-forks/fix_lint_errors
...
log actual error message too
2023-07-07 22:45:03 +02:00
Piotr Miller
edf4c81f85
Merge pull request #92 from 6543-forks/reduce_syscalls
...
Save result of os.Getenv()
2023-07-07 22:43:50 +02:00
Piotr Miller
9582726cb9
Merge pull request #90 from 6543-forks/update_go_deps
...
update golang lib dependencies
2023-07-07 22:26:53 +02:00
6543
7a6ae82a75
log the unknown signal
2023-07-06 18:03:28 +02:00
6543
22ddb71603
declare unused var with _ and always name event the same
2023-07-06 17:56:40 +02:00
6543
ea7813761a
gitignore vendor directory
2023-07-06 17:16:26 +02:00
6543
0cafb3c3ad
save result of os.Getenv and use that if possible to reduce some syscalls
2023-07-06 17:15:49 +02:00
6543
89cffad81d
log actual error message too
2023-07-06 17:14:55 +02:00
6543
1e854558cf
update golang lib dependencies
2023-07-06 16:10:31 +02:00
Piotr Miller
3df7a30533
Update README.md
2023-03-11 02:10:14 +01:00
piotr
e383f7a470
bump to 0.3.9 (go 1.20)
2023-02-06 01:57:11 +01:00
Piotr Miller
820848d984
Merge pull request #85 from nwg-piotr/add84
...
Add `-i` flag to force an icon theme
v0.3.8
2023-01-22 22:41:42 +01:00
piotr
fa01d5bb32
bump to 0.3.8
2023-01-22 22:35:00 +01:00
piotr
8be1fc1ea2
allow forcing icon theme #84
2023-01-22 22:30:09 +01:00
Piotr Miller
0e5d38907f
Merge pull request #83 from nwg-piotr/fix82
...
fixed trimming strings on non-ASCII characters
v0.3.7
2023-01-12 22:50:59 +01:00
piotr
7ba7abd817
bump to 0.3.7
2023-01-12 22:48:52 +01:00
piotr
cedcf8619f
fix cutting utf-8 strings #82
2023-01-12 02:27:27 +01:00
Piotr Miller
8ff2d5c89c
Create FUNDING.yml
2022-12-15 12:05:39 +01:00
Piotr Miller
c4629e0c28
Merge pull request #80 from nwg-piotr/lockfile
...
Move lock file to XDG_DATA_HOME/nwg-drawer/
v0.3.6
2022-12-11 23:21:32 +01:00
piotr
ab5e2ea6ae
move lock file to dataDir #79
2022-12-11 23:05:57 +01:00
piotr
63117e2605
bump to 0.3.6
2022-12-11 21:44:01 +01:00
Piotr Miller
d22609f403
Merge pull request #77 from nwg-piotr/debu68
...
fix #68
v0.3.5
2022-12-01 00:12:46 +01:00
piotr
cb6a7f44fe
go-sway -> 1.2.0
2022-12-01 00:03:17 +01:00
piotr
85cc2d78ee
fix userDirsFile path #68
2022-11-28 23:39:36 +01:00
piotr
d3a0fd04a4
log if userDirsFile found #68
2022-11-28 23:26:19 +01:00
piotr
52e63667c9
print userDirsMap -> log.Debugf #68
2022-11-28 23:03:12 +01:00
piotr
f399f589fb
add a line to debug #68
2022-11-18 01:40:50 +01:00