Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
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
Samuel Dionne-Riel
900b34a721 saturn: Use FlowBox rather than Grid
This makes the app automagically more responsive!
2022-04-26 22:55:10 +01:00
Samuel Dionne-Riel
2df6bd80a7 saturn: Provide usable lua shebang
The end-result can be executed directly on my NixOS system.
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
bbba059634 add a dbus object to show/hide the launcher 2022-04-26 22:55:10 +01:00
c871ad2550 useful-looking url 2022-04-26 22:55:10 +01:00
4de5a76890 update dbus-proxy derivation to work under nixpkgs 21.11 2022-04-26 22:55:10 +01:00
95e562b4c1 move dbus-proxy.nix 2022-04-26 22:55:10 +01:00
786d9fc68a allow only one copy of saturn to run at a time 2022-04-26 22:55:10 +01:00
beddfa6a35 GDK_PIXBUF_MODULE_FILE wants only one file not a list
It doesn't work with /foo/f:/bar/:/baz as I asumed it would do
2022-04-26 22:55:10 +01:00
24ff1ab62d don't show same app twice in saturn 2022-04-26 22:55:09 +01:00
5e423fb8fd saturn: change spawn behaviour
use fork() and exec() and close filehandles in child
2022-04-26 22:55:09 +01:00
11f4b123bf add saturn 2022-04-26 22:55:09 +01:00