Commit Graph

30 Commits (92d36e84c4d200192ec13e3e061f215e4c3f9edf)

Author SHA1 Message Date
Daniel Barlow 92d36e84c4 add dependencies for saturn 2022-04-26 23:01:30 +01:00
Daniel Barlow 098dd8237e saturn: label width tracks image size
looks like we can get *four* columns
2022-04-26 22:56:47 +01:00
Daniel Barlow 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
Daniel Barlow c331732ca6 saturn: word-wrap app names to get more icons in a row 2022-04-26 22:56:47 +01:00
Daniel Barlow ab32974635 remove scoped local 2022-04-26 22:56:47 +01:00
Daniel Barlow b03afc5c07 tidy includes 2022-04-26 22:56:45 +01:00
Daniel Barlow 05b8cc77e8 Merge remote-tracking branch 'samueldr/feature/sorted-apps-and-all-apps' 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 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
Samuel Dionne-Riel 9991837bad saturn: Ensure columns have the same width 2022-04-26 22:56:07 +01:00
Daniel Barlow c996f99881 Merge remote-tracking branch 'samueldr/feature/rgba' 2022-04-26 22:56:05 +01:00
Samuel Dionne-Riel 405f433207 saturn: RGBA and white on dark 2022-04-26 22:55:11 +01:00
Daniel Barlow 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
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
Daniel Barlow 29a17fafff declare dbus service attributes once 2022-04-26 22:55:11 +01:00
Daniel Barlow 0a2959af30 review comments 2022-04-26 22:55:11 +01:00
Daniel Barlow 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
Daniel Barlow 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
Daniel Barlow 08dd9405e2 swayphone_saturn_show shows saturn using dbus call 2022-04-26 22:55:10 +01:00
Daniel Barlow bbba059634 add a dbus object to show/hide the launcher 2022-04-26 22:55:10 +01:00
Daniel Barlow c871ad2550 useful-looking url 2022-04-26 22:55:10 +01:00
Daniel Barlow 786d9fc68a allow only one copy of saturn to run at a time 2022-04-26 22:55:10 +01:00
Daniel Barlow 24ff1ab62d don't show same app twice in saturn 2022-04-26 22:55:09 +01:00
Daniel Barlow 5e423fb8fd saturn: change spawn behaviour
use fork() and exec() and close filehandles in child
2022-04-26 22:55:09 +01:00
Daniel Barlow 11f4b123bf add saturn 2022-04-26 22:55:09 +01:00