Commit Graph

118 Commits

Author SHA1 Message Date
d83fd293b2 add buttons for non-default actions 2022-04-27 09:50:41 +01:00
56a54b4d31 send ActionInvoked(default) when widget clicked 2022-04-27 09:50:41 +01:00
94d5c91c70 handle replace-id for updating notifications in-place 2022-04-27 09:50:41 +01:00
731e59f8fe create derivation for notify-send.py
It's a more fully-featured client than libnotify's notify-send: we
don't need to install it but it's handly for testing the server
2022-04-27 09:50:41 +01:00
7824d42be7 allow setting timeouts 2022-04-27 09:50:41 +01:00
26b3c7d781 README (mostly TODO list) 2022-04-27 09:50:41 +01:00
7f9b1f1f34 delete some debugging prints 2022-04-27 09:50:40 +01:00
ee3ee99680 delete notifications by clicking them
maybe we want to change this for swipe right? in android a click takes
you to the app that notified
2022-04-27 09:50:40 +01:00
2166db979c whitespapve 2022-04-27 09:50:40 +01:00
c981f9164d add border 2022-04-27 09:50:40 +01:00
dba56902c5 add body and icon 2022-04-27 09:50:40 +01:00
36cf8f3d0a make notification full-width 2022-04-27 09:50:40 +01:00
2d5e530939 render notification summaries in a layer-shell 2022-04-27 09:50:40 +01:00
42d5d8f4e6 initial commit creates service and listens for Notify 2022-04-27 09:50:40 +01:00
7dc57ae8fd todo 2022-04-27 09:47:17 +01:00
e9b00fbd28 require wlroots 0.15 2022-04-26 23:02:31 +01:00
92d36e84c4 add dependencies for saturn 2022-04-26 23:01:30 +01:00
423e303d95 Merge branch 'main' of github.com:telent/slab 2022-04-26 22:56:48 +01:00
0eb694f511 label size tracks image size 2022-04-26 22:56:48 +01:00
098dd8237e saturn: label width tracks image size
looks like we can get *four* columns
2022-04-26 22:56:47 +01:00
772da57476 remove padding to get three cols in 320px width
even when one of the apps is Numberstation
2022-04-26 22:56:47 +01:00
c331732ca6 saturn: word-wrap app names to get more icons in a row 2022-04-26 22:56:47 +01:00
ab32974635 remove scoped local 2022-04-26 22:56:47 +01:00
b03afc5c07 tidy includes 2022-04-26 22:56:45 +01:00
05b8cc77e8 Merge remote-tracking branch 'samueldr/feature/sorted-apps-and-all-apps' 2022-04-26 22:56:08 +01:00
51ca9bd4fc hoist fennel and lua dbus-proxy into overlay.nix
updated the shell.nix files in both the programs that use them, so
hopefully this is not too invidious for isolated development
2022-04-26 22:56:08 +01:00
Samuel Dionne-Riel
8af2a7de45 saturn: Sort apps by name
All of this done through using Lists from penlight
2022-04-26 22:56:08 +01:00
Samuel Dionne-Riel
3574f3930f saturn: Provide data-dirs as List
And use the right priority
2022-04-26 22:56:08 +01:00
Samuel Dionne-Riel
4f82010ab0 saturn: Add desktop file ID to properties 2022-04-26 22:56:08 +01:00
Samuel Dionne-Riel
168f4c5793 saturn: Add penlight as a dependency 2022-04-26 22:56:08 +01:00
Samuel Dionne-Riel
5c3644ef2e saturn: Also include DATA_HOME
> $XDG_DATA_DIRS defines the preference-ordered set of base
> directories to search for data files in addition to the
> $XDG_DATA_HOME base directory. The directories in
> $XDG_DATA_DIRS should be seperated with a colon ':'.

*in addition to the DATA_HOME base directory*.
2022-04-26 22:56:08 +01:00
01d702ec2e Merge pull request #5 from samueldr/fix/columns-width
saturn: Ensure columns have the same width
2022-04-26 22:56:07 +01:00
Samuel Dionne-Riel
9991837bad saturn: Ensure columns have the same width 2022-04-26 22:56:07 +01:00
c996f99881 Merge remote-tracking branch 'samueldr/feature/rgba' 2022-04-26 22:56:05 +01:00
83d9573917 Merge branch 'main' of github.com:telent/slab 2022-04-26 22:55:11 +01:00
Samuel Dionne-Riel
405f433207 saturn: RGBA and white on dark 2022-04-26 22:55:11 +01:00
c0abf7f2e5 Merge branch 'main' of github.com:telent/slab 2022-04-26 22:55:11 +01:00
8ed99c0c7b Merge pull request #4 from samueldr/feature/icon-size
saturn: Harmonize icon size
2022-04-26 22:55:11 +01:00
6019a9b97a add to dbus interface
- Visible property, is window on display?
 - ToggleVisible method toggles visible state on/off
2022-04-26 22:55:11 +01:00
29a17fafff declare dbus service attributes once 2022-04-26 22:55:11 +01:00
Samuel Dionne-Riel
7999d260b6 saturn: Fix icon handling and size
- Harmonizes icon sizes
 - Fix absolute path icons handling
 - Adds a helper for managing paths
2022-04-26 22:55:11 +01:00
0a2959af30 review comments 2022-04-26 22:55:11 +01:00
11facddf8a Merge pull request #2 from samueldr/feature/show-again-when-running
saturn: Show current instance on re-exec
2022-04-26 22:55:11 +01:00
Samuel Dionne-Riel
38f62baa82 saturn: Show current instance on re-exec
Allows "less dbus-enthusiastic" setups to *just* re-run the saturn
executable to show it.
2022-04-26 22:55:11 +01:00
550cf5b618 Merge branch 'main' of github.com:telent/slab 2022-04-26 22:55:10 +01:00
e822df5f17 saturn: prevent buttons from expanding vertically when few apps
On my phone there are only five apps installed, and FlowBox
stretches the buttons in weird ways unless told not to

Also delete unused local
2022-04-26 22:55:10 +01:00
Samuel Dionne-Riel
6a5f2ecb18 saturn: Provide more dbus constant names
Makes reading the code easier^W possible.
2022-04-26 22:55:10 +01:00
769f42b864 make dbus activation work for saturn 2022-04-26 22:55:10 +01:00
c4af9e0599 Merge pull request #1 from samueldr/feature/saturn-flowbox
saturn: Use FlowBox rather than Grid
2022-04-26 22:55:10 +01:00
08dd9405e2 swayphone_saturn_show shows saturn using dbus call 2022-04-26 22:55:10 +01:00