Commit Graph

370 Commits

Author SHA1 Message Date
piotr
ff8e2435b6 rename variable 2023-11-27 00:18:03 +01:00
Piotr Miller
223e16f77c Merge pull request #106 from nwg-piotr/otput-hypr
Make binding to an output work on Hyprland
v0.4.3
2023-11-26 23:40:28 +01:00
piotr
55c095c053 fix -wm help 2023-11-26 23:34:48 +01:00
piotr
ee2008348f bump to 0.4.3 2023-11-26 23:17:00 +01:00
piotr
0570f90bec update help 2023-11-26 23:16:39 +01:00
piotr
a2917d68dd support output assignment on Hyprland 2023-11-26 23:14:18 +01:00
piotr
b05b0f484a improve help 2023-11-25 15:54:05 +01:00
piotr
b61e665c71 bump to 0.4.2 v0.4.2 2023-11-22 01:23:59 +01:00
piotr
8408c669ef remove unused function 2023-11-22 01:13:48 +01:00
Piotr Miller
d66066c3b6 Merge pull request #105 from nwg-piotr/fix-wm
remove `XDG_CURRENT_DESKTOP` as default `-wm` value; allow capitalized `Hyprland`
2023-11-21 14:53:22 +01:00
piotr
dac55cdd0d remove setting XDG_CURRENT_DESKTOP as dafault -wm value; allow capitalized Hyprland value 2023-11-21 14:26:04 +01:00
Piotr Miller
03365d24e5 Merge pull request #104 from Schuldkroete/main
Make the description line at the bottom of the drawer themable
2023-11-21 14:20:22 +01:00
Schuldkröte
8e58654336 add gtk name property to statusLineWrapper and statusLabel 2023-11-21 11:47:01 +01:00
piotr
33e0032725 bump to 0.4.1 v0.4.1 2023-11-18 01:41:53 +01:00
Piotr Miller
c05fff189d Merge pull request #103 from gouvinb/main
Change command execution logic and use `/usr/bin/env` command
2023-11-18 01:40:09 +01:00
gouvinb
57d130ca51 Restore the code to trim % and everything that follows 2023-11-09 15:49:50 +01:00
gouvinb
954a6ba9c9 change command execution logic and use env command 2023-11-09 04:24:41 +01:00
piotr
67b16ea6a6 bump to 0.4.0 v0.4.0 2023-11-08 02:30:01 +01:00
piotr
3a02b16761 update versions 2023-11-08 02:25:43 +01:00
piotr
c67fef6671 fix line formatting 2023-11-08 02:24:41 +01:00
Piotr Miller
444617865e Merge pull request #102 from gouvinb/main
add support to hyprlandctl
2023-11-08 01:01:10 +01:00
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