Commit Graph

620 Commits

Author SHA1 Message Date
piotr
ce5aa2f99e update .gitignore 2022-05-29 23:48:04 +02:00
piotr
4042efaf6e Merge remote-tracking branch 'origin/master' 2022-05-29 23:43:40 +02:00
piotr
04b8315d43 update .gitignore 2022-05-29 23:43:22 +02:00
Piotr Miller
b5d69f8723 Merge pull request #115 from jtheoof/systemd-service
add systemd service
2022-05-29 13:59:38 +02:00
piotr
9ed16b5c25 Merge remote-tracking branch 'origin/master' 2022-05-27 22:52:35 +02:00
piotr
5a7de57927 add monochrome nwg-* icons 2022-05-27 22:52:26 +02:00
Jeremy Attali
ac9ecf2785 add systemd service
Not all sway users rely on the "flaky" `exec_always` in the sway config.

For example if the app crashes (like it currently does on my machine
after a suspend / resume), then `nwg-panel` is terminated and never
comes back.

For users using [sway-service](https://github.com/xdbob/sway-services)
this would be a nice addition.

Also this is the required change in the [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nwg-panel)

```diff
diff --git a/PKGBUILD b/PKGBUILD
index 26c5832..f698201 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,4 +20,5 @@ package() {
   install -D -t "$pkgdir"/usr/share/pixmaps nwg-panel.svg
   install -D -t "$pkgdir"/usr/share/pixmaps nwg-shell.svg
   install -D -t "$pkgdir"/usr/share/applications nwg-panel-config.desktop
+  install -D -t "$pkgdir"/usr/lib/systemd/user/ nwg-panel.service
 }
```
2022-05-25 19:56:40 -04:00
Piotr Miller
cc2dc687a4 Merge pull request #113 from nwg-piotr/picker
add icon picker, fix #112
2022-05-22 23:29:08 +02:00
piotr
ad0c154f83 set value if not empty 2022-05-22 14:57:37 +02:00
piotr
8601b41800 add icon-picker to the button form 2022-05-22 14:01:54 +02:00
piotr
83b395703b fix #112 2022-05-22 13:11:05 +02:00
piotr
2cbbc6e6f8 check if icon picker available 2022-05-22 01:52:17 +02:00
piotr
522392e6de bump to 0.6.5 2022-05-22 01:45:18 +02:00
piotr
a4d4345a3a remove useless print 2022-05-22 01:44:18 +02:00
piotr
de6ba908cd connect nwg-icon-picker 2022-05-19 03:31:03 +02:00
piotr
e357cd6b9b add picker btn 2022-05-17 03:46:00 +02:00
Piotr Miller
c42d4c16f4 Merge pull request #110 from nwg-piotr/config-form
redesign module forms
2022-05-11 02:23:48 +02:00
piotr
b7d238ec20 redesign module forms 2022-05-11 02:21:50 +02:00
Piotr Miller
c9778dd306 Merge pull request #109 from nwg-piotr/config-form
update panel config form
2022-05-10 01:31:03 +02:00
piotr
73895dab5c unify form layout 2022-05-10 01:24:00 +02:00
piotr
b0e97bd504 don't update if unnecessary 2022-04-15 02:11:07 +02:00
piotr
4e530eb6fa bump to 0.6.4 2022-04-15 01:37:09 +02:00
Piotr Miller
4becf886ce Merge pull request #105 from nwg-piotr/clock
allow date format in clock tooltip text #104
2022-04-15 01:33:14 +02:00
piotr
8cb747a19c allow date format in clock tooltip text #104 2022-04-15 01:18:25 +02:00
Piotr Miller
11336063c3 Merge pull request #103 from nwg-piotr/markers
Markers and minor bug fixes
2022-04-13 02:01:26 +02:00
piotr
fb381c4a57 bump to 0.6.3 2022-04-13 01:44:06 +02:00
piotr
95162f763f mark Xwayland 2022-04-13 01:40:31 +02:00
piotr
a8155c6e01 switch autotiling marker on/off #100 2022-04-13 01:08:58 +02:00
piotr
43a28c3f7d skip inactive monitors 2022-04-13 00:19:07 +02:00
piotr
0226423c42 skip inactive outputs 2022-04-13 00:06:27 +02:00
piotr
149f577a23 fix module name #99 2022-04-12 23:42:00 +02:00
Piotr Miller
f5622e1a35 Merge pull request #98 from nwg-piotr/timeout
fixed panel duplication occurring randomly on restart
2022-03-17 01:05:51 +01:00
piotr
130b9d0ff3 kill also no name instances 2022-03-16 03:42:54 +01:00
piotr
1ed876616f kill also no name instances 2022-03-16 03:33:57 +01:00
piotr
ead1875a48 kill also no name instances 2022-03-16 03:28:28 +01:00
piotr
53756ca0a9 also use saved pid 2022-03-16 03:19:30 +01:00
piotr
df4258878e use SIGKILL if SIGINT fails #93 2022-03-16 02:42:57 +01:00
Piotr Miller
dccd857d42 Merge pull request #97 from nwg-piotr/timeout
prevent from crash in Gdk.Monitor not detected
2022-03-16 00:18:54 +01:00
piotr
f7a0db04a0 remove time.sleep 2022-03-16 00:13:34 +01:00
piotr
0f3d757cf3 fix code formatting 2022-03-14 23:16:02 +01:00
piotr
f21a58ef43 survive missing 'monitor' key 2022-03-14 22:57:32 +01:00
piotr
857bf77d6b add timeout after os.kill() 2022-03-14 21:06:41 +01:00
piotr
eb1877e829 bump to 0.6.2 2022-02-22 00:05:05 +01:00
Piotr Miller
a5f40861b4 Merge pull request #92 from JDPDO/fix-unintended-control-changes
Fix unintended control changes
2022-02-22 00:02:33 +01:00
JDPDO
7e3efc7a1f Don't display vol value in popup when greater 100. 2022-02-20 07:36:39 +01:00
JDPDO
165dd751f8 Fix nwg-piotr/nwg-panel#90 and close nwg-piotr/nwg-panel#91. 2022-02-18 13:57:21 +01:00
JDPDO
68a53dcc77 Make brightness and volume tool functions independent from slider. 2022-02-17 11:19:43 +01:00
JDPDO
242cb05823 Prevent unnecessary code execution on refresh. 2022-02-17 10:23:10 +01:00
Piotr Miller
3c26c95133 Update README.md 2022-02-04 11:44:08 +01:00
piotr
d11397147a update README.md 2022-02-03 00:07:06 +01:00