Commit Graph

242 Commits (main)

Author SHA1 Message Date
Daniel Barlow 6c95ae86a2 hmm, seems to be a bug in the pubsub 2022-04-27 10:14:06 +01:00
Daniel Barlow 68af0b779f save cookies between sessions 2022-04-27 10:14:06 +01:00
Daniel Barlow 92265c3d4b remove use of `do` 2022-04-27 10:14:06 +01:00
Daniel Barlow 9306d55c5d replace stop-refresh with two separate buttons
and show/hide them depending on context.
This means we can get rid of the `r` we were using for
forward references to `webview`
2022-04-27 10:14:06 +01:00
Daniel Barlow 35e2d56af7 use `match` in handle-webview-properties 2022-04-27 10:14:06 +01:00
Daniel Barlow 1cd2247e02 extract function for webview properties handler 2022-04-27 10:14:06 +01:00
Daniel Barlow 184aefa4dc convert mutually referential callbacks to use event bus 2022-04-27 10:14:06 +01:00
Daniel Barlow 93f2acf3ab add a progress indicator 2022-04-27 10:14:06 +01:00
Daniel Barlow fb6423dab4 add a stop/refresh button 2022-04-27 10:14:05 +01:00
Daniel Barlow dd109f4a4b add `r` to accomodate widget reference loops
any widget declared before webview can refer to it as
r.webview
2022-04-27 10:14:05 +01:00
Daniel Barlow a5ea2027d5 extract named-image function 2022-04-27 10:14:05 +01:00
Daniel Barlow 876e70e642 more things to do 2022-04-27 10:14:05 +01:00
Daniel Barlow cb477a9146 first pass at adblocking using easylist
https://gabmus.org/posts/block_ads_in_webkitgtk/ was a
great help.

This is not final code and I don't yet understand how to turn
easylist txt files into json, but it appears to work insofar as
it make the Guardian web site lurch a bit less
2022-04-27 10:14:05 +01:00
Daniel Barlow 9ef0818465 fetch urls typed into urlbar 2022-04-27 10:14:05 +01:00
Daniel Barlow 71289309b8 README is mostly a todo list 2022-04-27 10:14:05 +01:00
Daniel Barlow c27d1be1be icon for back button 2022-04-27 10:14:05 +01:00
Daniel Barlow ade0eb8f8b hook up back button 2022-04-27 10:14:05 +01:00
Daniel Barlow bcf499a7d1 set window title according to document 2022-04-27 10:14:05 +01:00
Daniel Barlow 4c94b2164b update url bar when links clicked 2022-04-27 10:14:05 +01:00
Daniel Barlow a137495482 initial commit 2022-04-27 10:14:05 +01:00
Daniel Barlow 804be0660c always more to do 2022-04-27 10:11:36 +01:00
Daniel Barlow f30729b727 add crier, bodge relative pathnames 2022-04-27 10:07:33 +01:00
Daniel Barlow bb23c31b0b handle CloseNotification request with invalid id 2022-04-27 09:50:41 +01:00
Daniel Barlow a9d00b2eb5 get bus method out args from interface.xml
instead of hardcoding
2022-04-27 09:50:41 +01:00
Daniel Barlow d83fd293b2 add buttons for non-default actions 2022-04-27 09:50:41 +01:00
Daniel Barlow 56a54b4d31 send ActionInvoked(default) when widget clicked 2022-04-27 09:50:41 +01:00
Daniel Barlow 94d5c91c70 handle replace-id for updating notifications in-place 2022-04-27 09:50:41 +01:00
Daniel Barlow 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
Daniel Barlow 7824d42be7 allow setting timeouts 2022-04-27 09:50:41 +01:00
Daniel Barlow 26b3c7d781 README (mostly TODO list) 2022-04-27 09:50:41 +01:00
Daniel Barlow 7f9b1f1f34 delete some debugging prints 2022-04-27 09:50:40 +01:00
Daniel Barlow 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
Daniel Barlow 2166db979c whitespapve 2022-04-27 09:50:40 +01:00
Daniel Barlow c981f9164d add border 2022-04-27 09:50:40 +01:00
Daniel Barlow dba56902c5 add body and icon 2022-04-27 09:50:40 +01:00
Daniel Barlow 36cf8f3d0a make notification full-width 2022-04-27 09:50:40 +01:00
Daniel Barlow 2d5e530939 render notification summaries in a layer-shell 2022-04-27 09:50:40 +01:00
Daniel Barlow 42d5d8f4e6 initial commit creates service and listens for Notify 2022-04-27 09:50:40 +01:00
Daniel Barlow 7dc57ae8fd todo 2022-04-27 09:47:17 +01:00
Daniel Barlow e9b00fbd28 require wlroots 0.15 2022-04-26 23:02:31 +01:00
Daniel Barlow 92d36e84c4 add dependencies for saturn 2022-04-26 23:01:30 +01:00
Daniel Barlow 423e303d95 Merge branch 'main' of github.com:telent/slab 2022-04-26 22:56:48 +01:00
Daniel Barlow 0eb694f511 label size tracks image size 2022-04-26 22:56:48 +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
Daniel Barlow 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