Compare commits
6 Commits
2c68238382
...
09e0a1dd79
Author | SHA1 | Date |
---|---|---|
Ehmry - | 09e0a1dd79 | |
Ehmry - | 08c9d27426 | |
Ehmry - | 20ef1f4a82 | |
Ehmry - | 51a5f06b6e | |
Ehmry - | 32d9d60335 | |
Ehmry - | 793132a7d8 |
|
@ -1,7 +1 @@
|
|||
.direnv
|
||||
##### TUP GITIGNORE #####
|
||||
##### Lines below automatically generated by Tup.
|
||||
##### Do not edit.
|
||||
.tup
|
||||
/.gitignore
|
||||
/bin
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
path = syndicate-protocols
|
||||
url = https://git.syndicate-lang.org/syndicate-lang/syndicate-protocols.git
|
||||
[submodule "xdg_open_ng"]
|
||||
path = xdg_open_ng
|
||||
path = syn-open
|
||||
url = https://git.syndicate-lang.org/ehmry/xdg_open_ng.git
|
||||
[submodule "syndicate_utils"]
|
||||
path = syndicate_utils
|
||||
|
@ -145,3 +145,48 @@
|
|||
[submodule "new_terminal"]
|
||||
path = new_terminal
|
||||
url = https://git.sr.ht/~ehmry/new_terminal
|
||||
[submodule "xapian"]
|
||||
path = xapian_actor
|
||||
url = https://git.sr.ht/~ehmry/xapian-nim
|
||||
[submodule "dhall-nim"]
|
||||
path = dhall-nim
|
||||
url = https://git.sr.ht/~ehmry/dhall-nim
|
||||
[submodule "syndicate-flake"]
|
||||
path = syndicate-flake
|
||||
url = https://git.syndicate-lang.org/ehmry/syndicate-flake.git
|
||||
[submodule "nimble/bigints"]
|
||||
path = nimble/bigints
|
||||
url = https://github.com/nim-lang/bigints.git
|
||||
[submodule "nimble/nimAES"]
|
||||
path = nimble/nimAES
|
||||
url = https://github.com/jangko/nimAES.git
|
||||
[submodule "eristekt"]
|
||||
path = eristekt
|
||||
url = https://codeberg.org/eris/eristekt
|
||||
[submodule "nimble/websock"]
|
||||
path = nimble/websock
|
||||
url = https://github.com/status-im/nim-websock.git
|
||||
[submodule "nimble/ws"]
|
||||
path = nimble/ws
|
||||
url = https://github.com/treeform/ws.git
|
||||
[submodule "syndicate_actor_tox"]
|
||||
path = syndicate_actor_tox
|
||||
url = git@git.syndicate-lang.org:ehmry/syndicate_actor_tox.git
|
||||
[submodule "eer"]
|
||||
path = eer
|
||||
url = https://codeberg.org/eris/eer.git
|
||||
[submodule "nimble/npeg"]
|
||||
path = nimble/npeg
|
||||
url = https://github.com/zevv/npeg.git
|
||||
[submodule "nimble/cps"]
|
||||
path = nimble/cps
|
||||
url = https://github.com/nim-works/cps.git
|
||||
[submodule "nimble/cpstest"]
|
||||
path = nimble/cpstest
|
||||
url = https://github.com/zevv/cpstest.git
|
||||
[submodule "nimble/eventqueue"]
|
||||
path = nimble/eventqueue
|
||||
url = https://github.com/disruptek/eventqueue.git
|
||||
[submodule "icalendar_actor"]
|
||||
path = icalendar_actor
|
||||
url = https://git.syndicate-lang.org/ehmry/icalendar_actor.git
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
.gitignore
|
||||
export NIX_PATH
|
||||
export XDG_CACHE_HOME
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e8ebc723702e64958f1bae1f80c434db5f5a69cf
|
||||
Subproject commit 104c822cd0c848eed5b99bb1518d5c2379341eee
|
2
cbor
2
cbor
|
@ -1 +1 @@
|
|||
Subproject commit ad810889aa3e7c7dbd93d9a1abe68701f7ea4f45
|
||||
Subproject commit a4a1affd45ba90bea24e08733ae2bd02fe058166
|
|
@ -1,12 +1,19 @@
|
|||
? <mpv ?mpv> $mpv [
|
||||
|
||||
$config ? <socketspace ?beepSpace> [
|
||||
|
||||
$beepSpace ?? <beep 0> [
|
||||
$mpv ! <play-file "/home/emery/lib/syndicate/lcars-0.mp3">
|
||||
]
|
||||
$mpv ! <play-file "/home/emery/lib/syndicate/lcars-0.mp3"> ]
|
||||
|
||||
$beepSpace ?? <beep 1> [
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/consolewarning.mp3">
|
||||
]
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/consolewarning.mp3"> ]
|
||||
|
||||
$beepSpace ?? <beep private-message> [
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/computerbeep_19.mp3"> ]
|
||||
|
||||
$beepSpace ?? <beep highlight> [
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/computerbeep_9.mp3"> ]
|
||||
|
||||
]
|
||||
|
||||
$config ? <machine-dataspace ?ds> $ds [
|
||||
|
@ -14,10 +21,11 @@
|
|||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/toscomputer/tos_computerthinking1_ep.mp3">
|
||||
]
|
||||
|
||||
?? <acpi_event "ac_adapter" _ _ 256> [
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/computerbeep_6.mp3">
|
||||
?? <event "power_supply" _ change {POWER_SUPPLY_ONLINE: 1} _> [
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/computerbeep_1.mp3">
|
||||
]
|
||||
?? <acpi_event "ac_adapter" _ _ 0> [
|
||||
|
||||
?? <event "power_supply" _ change {POWER_SUPPLY_ONLINE: 0} _> [
|
||||
$mpv ! <play-file "/home/emery/star-trek-audio/www.trekcore.com/audio/computer/alert24.mp3">
|
||||
]
|
||||
]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<require-service <config-watcher "/run/user/emery/syndicate" $.>>
|
|
@ -5,8 +5,9 @@
|
|||
; <depends-on <daemon acme> <service-state <daemon plumber> ready>>
|
||||
; <require-service <daemon plumber>>
|
||||
|
||||
; "-f" "/mnt/font/FiraSans-Regular/12a/font" "-F" "/mnt/font/FiraCode-Light/10a/font"
|
||||
<gui acme {
|
||||
argv: ["/etc/profiles/per-user/emery/bin/9" "acme" "-f" "/mnt/font/FiraSans-Regular/12a/font" "-F" "/mnt/font/FiraCode-Light/10a/font"]
|
||||
argv: ["/etc/profiles/per-user/emery/bin/9" "acme" "-f" "/mnt/font/FiraSans-Regular/12a/font" "-F" "/mnt/font/FiraCode-Light/10a/font" ]
|
||||
protocol: none}>
|
||||
|
||||
<daemon fontsrv {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
? <machine-dataspace ?machine> [
|
||||
|
||||
<require-service <daemon acpi_actor>>
|
||||
; <require-service <daemon acpi_actor>>
|
||||
|
||||
? <built acpi_actor ?path ?sum> [
|
||||
<daemon acpi_actor {
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
<require-service <gui foot>>
|
||||
|
||||
<gui foot {
|
||||
argv: ["/run/current-system/sw/bin/foot" "--server" "--log-no-syslog" ]
|
||||
protocol: none
|
||||
}>
|
|
@ -50,6 +50,7 @@ $mpvSpace [
|
|||
"--idle=yes"
|
||||
"--no-audio-display"
|
||||
"--input-ipc-server=/run/user/1000/mpv.sock"
|
||||
"--volume=75"
|
||||
]
|
||||
protocol: none
|
||||
}>
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
? <machine-dataspace ?machine> [
|
||||
; <require-service <daemon net_mapper>>
|
||||
? <built net_mapper ?path ?sum> [
|
||||
<daemon net_mapper {
|
||||
argv: [$path]
|
||||
protocol: application/syndicate
|
||||
env: {
|
||||
BUILD_SUM: $sum
|
||||
}
|
||||
}>
|
||||
]
|
||||
? <service-object <daemon net_mapper> ?cap> [
|
||||
$cap { dataspace: $machine }
|
||||
]
|
||||
|
||||
]
|
|
@ -7,3 +7,7 @@
|
|||
}
|
||||
}>
|
||||
]
|
||||
|
||||
? <nixspace ?nixspace> [
|
||||
<require-service <daemon nix_actor>>
|
||||
]
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<require-service <daemon nncp-caller>>
|
||||
<require-service <daemon nncp-daemon>>
|
||||
<daemon nncp-caller "nncp-caller -noprogress">
|
||||
<daemon nncp-daemon "nncp-daemon -noprogress">
|
|
@ -1,21 +0,0 @@
|
|||
? <chat-history ?history> [
|
||||
|
||||
; <require-service <daemon simplex_history_actor>>
|
||||
|
||||
? <built simplex_history_actor ?path ?sum> [
|
||||
<daemon simplex_history_actor {
|
||||
argv: [ $path ]
|
||||
protocol: application/syndicate
|
||||
env: {
|
||||
BUILD_HASH: $sum
|
||||
}
|
||||
}>
|
||||
]
|
||||
|
||||
? <service-object <daemon simplex_history_actor> ?cap> [
|
||||
$cap {
|
||||
dataspace: $history
|
||||
database: "/home/emery/.simplex/simplex_v1_chat.db"
|
||||
}
|
||||
]
|
||||
]
|
|
@ -0,0 +1,9 @@
|
|||
? <built sqlite_actor ?path ?sum> [
|
||||
<daemon sqlite_actor {
|
||||
argv: [ $path ]
|
||||
protocol: application/syndicate
|
||||
env: {
|
||||
BUILD_HASH: $sum
|
||||
}
|
||||
}>
|
||||
]
|
|
@ -1,6 +1,4 @@
|
|||
; <require-service <daemon squeak>>
|
||||
|
||||
<daemon squeak {
|
||||
<_gui squeak {
|
||||
argv: [ "/home/emery/.nix-profile/bin/squeak" "/home/emery/squeak/Squeak6.0alpha-21540-64bit.image" ]
|
||||
dir: "/home/emery/squeak"
|
||||
protocol: application/syndicate
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
; TODO: configure Sway over JSON IPC?
|
||||
<daemon sway {
|
||||
argv: ["/run/current-system/sw/bin/sway" "--config" "/home/emery/.config/sway/config"]
|
||||
argv: "/run/current-system/sw/bin/sway --config /home/emery/.config/sway/config 2>/tmp/sway.log"
|
||||
protocol: none}>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
<require-service <gui swayidle>>
|
||||
|
||||
<gui swayidle {
|
||||
argv: [ "/home/emery/src/config/daemons/swayidle.sh" ]
|
||||
protocol: none
|
||||
}>
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env -S execlineb -P
|
||||
redirfd -w 2 /dev/null
|
||||
swayidle
|
||||
"-w"
|
||||
"timeout"
|
||||
"120"
|
||||
"swaymsg 'output * dpms off'"
|
||||
"resume"
|
||||
"swaymsg 'output * dpms on'"
|
||||
"after-resume"
|
||||
"/home/emery/lib/bin/camshot"
|
||||
"after-resume"
|
||||
"swaymsg 'output * dpms on'"
|
||||
"before-sleep"
|
||||
"mpd --kill"
|
||||
"before-sleep"
|
||||
"swaylock --daemonize --image /home/emery/tiles/background.png --scaling=tile"
|
||||
"timeout"
|
||||
"600"
|
||||
"swaylock --daemonize --image /home/emery/tiles/background.png --scaling=tile"
|
|
@ -0,0 +1,23 @@
|
|||
? <machine-dataspace ?machine> [
|
||||
|
||||
<require-service <daemon syndev>>
|
||||
|
||||
? <built syndev ?path ?sum> [
|
||||
<daemon syndev {
|
||||
argv: [$path]
|
||||
protocol: application/syndicate
|
||||
env: {
|
||||
BUILD_SUM: $sum
|
||||
}
|
||||
}>
|
||||
]
|
||||
|
||||
? <service-object <daemon syndev> ?cap> [
|
||||
$cap { machine: $machine }
|
||||
]
|
||||
|
||||
$machine ?? ?x [
|
||||
$log ! <log "-" { machine-message: $x }>
|
||||
]
|
||||
|
||||
]
|
|
@ -1 +1 @@
|
|||
../../xdg_open_ng/uri_runner.pr
|
||||
../../syn-open/uri_runner.pr
|
|
@ -1,4 +1,6 @@
|
|||
<require-service <daemon waybar>>
|
||||
<gui waybar {
|
||||
argv: "/run/current-system/sw/bin/waybar"
|
||||
}>
|
||||
; <require-service <daemon waybar>>
|
||||
;<gui waybar {
|
||||
; argv: "/run/current-system/sw/bin/waybar"
|
||||
;}>
|
||||
[]
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
? <built xapian_actor ?path ?sum> [
|
||||
<daemon xapian_actor {
|
||||
argv: [ $path ]
|
||||
protocol: application/syndicate
|
||||
env: {
|
||||
BUILD_HASH: $sum
|
||||
}
|
||||
}>
|
||||
]
|
|
@ -1,2 +1,7 @@
|
|||
let ?machine = dataspace
|
||||
<machine-dataspace $machine>
|
||||
let ?ds = dataspace
|
||||
<machine-dataspace $ds>
|
||||
|
||||
$ds ? ?r [
|
||||
$log ! <log "-" { line: "machine" |+++|: $r }>
|
||||
?- $log ! <log "-" { line: "machine" |---|: $r }>
|
||||
]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
let ?ds = dataspace
|
||||
<chat-history $ds>
|
||||
<mail $ds>
|
|
@ -1,2 +1,2 @@
|
|||
let ?nixspace = dataspace
|
||||
<nixspace $nixspace>
|
||||
; <nixspace $nixspace>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
let ?ds = dataspace
|
||||
<simplex $ds>
|
||||
? <socketspace ?socketspace> [ $socketspace <simplex $ds> ]
|
|
@ -0,0 +1,4 @@
|
|||
let ?swaybarspace = dataspace
|
||||
<swaybarspace $swaybarspace>
|
||||
<bind <ref { oid: "syndicate" key: #x"" }> $swaybarspace #f>
|
||||
<require-service <relay-listener <unix "/run/user/emery/swaybarspace"> $gatekeeper>>
|
|
@ -0,0 +1,2 @@
|
|||
let ?ds = dataspace
|
||||
<tox $ds>
|
|
@ -1,9 +1,8 @@
|
|||
let ?socketspace = dataspace
|
||||
<require-service <relay-listener <tcp "127.0.0.1" 9001> $gatekeeper>>
|
||||
<require-service <relay-listener <unix "/run/user/1000/dataspace"> $gatekeeper>>
|
||||
<require-service <relay-listener <tcp "0.0.0.0" 666> $gatekeeper>>
|
||||
<require-service <relay-listener <unix "/run/user/emery/dataspace"> $gatekeeper>>
|
||||
|
||||
<bind <ref { oid: "syndicate" key: #x"" }> $socketspace #f>
|
||||
|
||||
<socketspace $socketspace>
|
||||
|
||||
; $socketspace <foo "bar">
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../xdg_open_ng/handlers-example.pr
|
|
@ -0,0 +1,40 @@
|
|||
; the <exec-space #!…> dataspace starts programs when it receives exec messages
|
||||
? <exec-space ?execspace> [
|
||||
|
||||
<action-handler "file://(.*.pdf)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/mupdf" "$1"]>>
|
||||
|
||||
<action-handler "file://(.*.png|.*.jpg|.*.jpeg|.*.qoi)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/imv" "$1"]>>
|
||||
|
||||
<action-handler "(magnet:?.*xt=urn:btih.*)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/transmission-gtk" "$1"]>>
|
||||
|
||||
<action-handler "(tg://.*)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/telegram-desktop" "$1"]>>
|
||||
|
||||
<action-handler "https://twitter.com/(.*)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/firefox" "--new-tab" "https://nitter.net/$1"]>>
|
||||
|
||||
<action-handler "(http://.*|https://.*)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/firefox" "$#"]>>
|
||||
|
||||
<action-handler "(file:///.*.html)" $execspace
|
||||
<exec ["/home/emery/.nix-profile/bin/netsurf-gtk3" "$#"]>>
|
||||
|
||||
<action-handler "mailto:(.*)" $execspace
|
||||
<exec ["/run/current-system/sw/bin/astroid" "--mailto" "mailto:$#"]>>
|
||||
|
||||
<action-handler "file://(.*\\.odt)" $execspace
|
||||
<exec ["/home/emery/.nix-profile/bin/libreoffice" "$#"]>>
|
||||
|
||||
<action-handler "file://(.*\\.eris)" $execspace
|
||||
<exec ["/home/emery/src/bin/erisopen" "$#"]>>
|
||||
]
|
||||
|
||||
; when mpv is available send it commands directly
|
||||
? <mpv ?mpv> [
|
||||
<action-handler "(.*mp4)" $mpv <play-file "$1">>
|
||||
<action-handler "(.*mp3)" $mpv <play-file "$1">>
|
||||
<action-handler "(.*wav)" $mpv <play-file "$1">>
|
||||
]
|
|
@ -0,0 +1,24 @@
|
|||
? <mail ?mail> $mail [
|
||||
|
||||
? <xapian ?uuid ?path> [
|
||||
$log ! <log "-" { xapian: <xapian $uuid $path> }>
|
||||
]
|
||||
|
||||
<query spam "spam" english>
|
||||
|
||||
? <match spam ?id ?weight ?rank > [
|
||||
? <document $id ?data> [
|
||||
$log ! <log "-" { spam: { docid: $id data: $data } }>
|
||||
]
|
||||
]
|
||||
|
||||
$config [
|
||||
; <require-service <daemon xapian_actor>>
|
||||
? <service-object <daemon xapian_actor> ?cap> [
|
||||
$cap {
|
||||
database: "/home/emery/mail/.notmuch/xapian"
|
||||
dataspace: $mail
|
||||
}
|
||||
]
|
||||
]
|
||||
]
|
|
@ -0,0 +1,5 @@
|
|||
? <machine-dataspace ?machine> $machine [
|
||||
? <rtt "10.0.33.136" ?min ?avg ?max> [
|
||||
$log ! <log "-" { ping: { min: $min avg: $avg max: $max } }>
|
||||
]
|
||||
]
|
|
@ -0,0 +1,65 @@
|
|||
? <nixspace ?nixspace> $nixspace [
|
||||
|
||||
; ? <instantiate "let pkgs = import <nixpkgs> {}; in pkgs.hello" { } ?drv> [
|
||||
; ? <realise $drv ?outputs> [
|
||||
; $log ! <log "-" { "hello": $outputs }>
|
||||
; ]
|
||||
; ]
|
||||
|
||||
? <eval_ "let pkgs = import /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/top-level/impure.nix {}; in pkgs.hello.meta" {} ?result> [
|
||||
$log ! <log "-" { hello-meta: $result }>
|
||||
]
|
||||
|
||||
? <eval "<nixpkgs>" {} ?result> [
|
||||
$log ! <log "-" { nixpkgs: $result }>
|
||||
]
|
||||
|
||||
? <eval "__currentSystem" {} ?result> [
|
||||
$log ! <log "-" { __currentSystem: $result }>
|
||||
]
|
||||
|
||||
? <eval "__currentTime" {} ?result> [
|
||||
$log ! <log "-" { __currentTime: $result }>
|
||||
]
|
||||
|
||||
? <eval "__langVersion" {} ?result> [
|
||||
$log ! <log "-" { __langVersion: $result }>
|
||||
]
|
||||
|
||||
? <eval "__nixPath" {} ?result> [
|
||||
$log ! <log "-" { __nixPath: $result }>
|
||||
]
|
||||
|
||||
? <nixVersion ?version> [
|
||||
$log ! <log "-" { nixVersion: $version }>
|
||||
]
|
||||
|
||||
; ? <missing ["/nix/store/p7fnjrbvmpwl192ir8p2ixfym68j7sgv-invidious-unstable-2023-05-08"] _ ?subs _ ?dlSize ?narSize> [
|
||||
; $log ! <log "-" { invidious-unstable-2023-05-08: {
|
||||
; substitutes: $subs
|
||||
; downloadSize: $dlSize
|
||||
; narSize: $narSize
|
||||
; } }>
|
||||
; ]
|
||||
|
||||
; ? <path-info "/nix/store/jhgh02lyizd1kyl71brvc01ygsmgi40a-tzdata-2023c"
|
||||
; ?deriver ?narHash _ _ ?narSize _ ?sigs _> [
|
||||
; $log ! <log "-" { tzdata-2023c: {
|
||||
; deriver: $deriver
|
||||
; narHash: $narHash
|
||||
; narSize: $narSize
|
||||
; sigs: $sigs
|
||||
; } }>
|
||||
; ]
|
||||
|
||||
|
||||
$config [
|
||||
? <service-object <daemon nix_actor> ?cap> [
|
||||
$cap {
|
||||
listen-socket: "/tmp/worker.socket"
|
||||
daemon-socket: "/nix/var/nix/daemon-socket/socket"
|
||||
dataspace: $nixspace
|
||||
}
|
||||
]
|
||||
]
|
||||
]
|
|
@ -0,0 +1,28 @@
|
|||
? <simplex ?simplex> $simplex [
|
||||
|
||||
<query user-row "SELECT user_id, local_display_name FROM users">
|
||||
<query contact-row "SELECT contact_id, user_id, local_display_name, is_user FROM contacts">
|
||||
|
||||
? <user-row ?user_id ?name> [
|
||||
let ?user = dataspace
|
||||
$user <user-id $user_id>
|
||||
$user <local-display-name $name>
|
||||
$simplex ? <contact-row ?contact_id $user_id ?local_display_name 0> [
|
||||
let ?contact = dataspace
|
||||
$contact <contact-id $contact_id>
|
||||
$contact <local-display-name $local_display_name>
|
||||
$user <contact $contact>
|
||||
]
|
||||
$simplex <user $user>
|
||||
]
|
||||
|
||||
? ?any [$log ! <log "-" { simplex: $any }> ]
|
||||
|
||||
$config <require-service <daemon sqlite_actor>>
|
||||
$config ? <service-object <daemon sqlite_actor> ?cap> [
|
||||
$cap {
|
||||
dataspace: $simplex
|
||||
database: "/home/emery/.simplex/simplex_v1_chat.db"
|
||||
}
|
||||
]
|
||||
]
|
|
@ -0,0 +1,38 @@
|
|||
? <swaybarspace ?swaybarspace> [
|
||||
|
||||
? <machine-dataspace ?machine> [
|
||||
$machine ?? <uevent "power_supply" _ change {POWER_SUPPLY_STATUS: ?STATUS POWER_SUPPLY_TECHNOLOGY: ?TECHNOLOGY} _> [
|
||||
$swaybarspace <swaybar-status { "full_text": $STATUS }>
|
||||
$swaybarspace <swaybar-status { "full_text": $TECHNOLOGY }>
|
||||
]
|
||||
]
|
||||
|
||||
$swaybarspace <swaybar-status { "full_text": "hello world" }>
|
||||
$config ? { argv: ["sway-env-magic-cookie"]
|
||||
env: {
|
||||
"DESKTOP_STARTUP_ID": ?DESKTOP_STARTUP_ID
|
||||
"XDG_ACTIVATION_TOKEN": ?XDG_ACTIVATION_TOKEN
|
||||
} } [
|
||||
$swaybarspace <swaybar-status {
|
||||
"full_text": "Thu 30 May 2019 02:09:15",
|
||||
"short_text": "02:09",
|
||||
"color": "#ccccccff",
|
||||
"background": "#111111ff",
|
||||
"border": "#222222ff",
|
||||
"border_top": 1,
|
||||
"border_bottom": 1,
|
||||
"border_left": 1,
|
||||
"border_right": 1,
|
||||
"min_width": 100,
|
||||
"align": "center",
|
||||
"name": "clock",
|
||||
"instance": "edt",
|
||||
"urgent": false,
|
||||
"separator": true,
|
||||
"separator_block_width": 5,
|
||||
"markup": "none"
|
||||
}>
|
||||
]
|
||||
]
|
||||
]
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 4fc64844885d574e47236262e32b8b0554c01fa9
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 1c5f7ca08b201e023a8cb96e2ef99b4d6ab3366a
|
2
eris-go
2
eris-go
|
@ -1 +1 @@
|
|||
Subproject commit 0e271609fde50433bb57a707a89ef69e8b90f802
|
||||
Subproject commit d090cc2a1f50ead751538cab4eb850b686f3f87f
|
2
eris-nim
2
eris-nim
|
@ -1 +1 @@
|
|||
Subproject commit 1633a5b24759b2bd03db1863d475ea0e04a99fa9
|
||||
Subproject commit 35aa0756c4e75ea4ec60812e8f345d5d8273ddff
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 52c654f5b7a09e4fcec9f0813cde081f5ab425d5
|
|
@ -1 +1 @@
|
|||
Subproject commit f83e57ee22364d69af6a44974fc498de014afe89
|
||||
Subproject commit 60515ad4088dce0bf58c6e0eb4238b4f1a8d2844
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 2bc5075232aeb2f6df44f6960796729fcf4ebbd8
|
2
getdns
2
getdns
|
@ -1 +1 @@
|
|||
Subproject commit fedc9a8fab419ae529095f847ad7bf90cc8d1c28
|
||||
Subproject commit e4ae0992ed7c5540e6d498f3074d06c8f454a0b6
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2dde9d75ed743837c5314555da5e212766d825f4
|
|
@ -1 +1 @@
|
|||
Subproject commit e2d7d98ec3fc4b73a1efbce9e8ad4c0e748f5c26
|
||||
Subproject commit 5b7d241c62069501f9a8c72ba27e4fe446ca9c40
|
2
nim
2
nim
|
@ -1 +1 @@
|
|||
Subproject commit d61dc77f2e6718a2d0a62e0a37f4ffd8acef3d76
|
||||
Subproject commit 9af1fba47127d2b55529b89681fa9c265a015246
|
|
@ -1,7 +1,6 @@
|
|||
!nix_build = |> ^o nix build %o^ nix build --out-link %o |>
|
||||
: |> !nix_build nixpkgs#nimPackages.illwill |> illwill ./<illwill>
|
||||
: |> !nix_build nixpkgs#nimPackages.base32 |> base32 ./<base32>
|
||||
: |> !nix_build nixpkgs#nimPackages.nimSHA2 |> nimsha2 ./<nimsha2>
|
||||
: |> !nix_build nixpkgs#nimPackages.npeg |> npeg ./<npeg>
|
||||
: |> !nix_build nixpkgs#nimPackages.flatty |> flatty ./<flatty>
|
||||
: |> !nix_build nixpkgs#nimPackages.sdl2 |> sdl2 ./<sdl2>
|
||||
!nix_build = |> ^o^ nix build -f ../nixexprs/nixpkgs --out-link %o |>
|
||||
: |> !nix_build nim2Packages.illwill |> illwill ./<illwill>
|
||||
: |> !nix_build nim2Packages.base32 |> base32 ./<base32>
|
||||
: |> !nix_build nim2Packages.nimSHA2 |> nimsha2 ./<nimsha2>
|
||||
: |> !nix_build nim2Packages.flatty |> flatty ./<flatty>
|
||||
: |> !nix_build nim2Packages.sdl2 |> sdl2 ./<sdl2>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 6d77ea78e8da1d870017303bc0cbd798f85bb506
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7f83a3d843d84e2597d83c07e0c06f128e667c80
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 668f3415ee56795ad7af5c1063c22b40f286cde4
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 597d5e08e87521652c0469c273d4d21743d13404
|
|
@ -0,0 +1 @@
|
|||
Subproject commit b9d6d29cb44d4b6965ad4db04770bef2a35dd4b7
|
|
@ -0,0 +1 @@
|
|||
Subproject commit b15a10e388b91b898c581dbbcb6a718d46b27d2f
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2c3ae3137f3c9cb48134285bd4a47186fa51f0e8
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 5ac521b72d7d4860fb394e5e1f9f08cf480e9822
|
|
@ -1 +1 @@
|
|||
Subproject commit 9a0d2a22ec9fc5bd8b7119efa447ac8dd253e72d
|
||||
Subproject commit 8e06628d2113116e86635e97ebceae08edc2ed6c
|
|
@ -1 +1 @@
|
|||
Subproject commit 117aa19ef3dd2b862a70060b981ae543a6fec715
|
||||
Subproject commit 8b3b182ce791811ed6c3524e25adfc0a2a530b71
|
|
@ -1,5 +0,0 @@
|
|||
let
|
||||
pkgs = import <nixpkgs> { };
|
||||
tup' = pkgs.tup.overrideAttrs
|
||||
({ patches ? [ ], ... }: { patches = patches ++ [ ./tup.patch ]; });
|
||||
in pkgs.mkShell { packages = [ pkgs.ccacheWrapper pkgs.tup ]; }
|
2
sigil
2
sigil
|
@ -1 +1 @@
|
|||
Subproject commit eedfff3c27e21976296fc5c6177a3a5f6f0d018f
|
||||
Subproject commit 272a141fc16dcad3478fe6dd253344b80e76dfb2
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 509970a2d2517de4f11468aa977a47a9c3cda623
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a581bce64c81fe02b4bb38ad63599b6f218d3e69
|
|
@ -1 +1 @@
|
|||
Subproject commit 7a36a6e8a4773ac9992c906a6f9729c4ddbffe44
|
||||
Subproject commit d86ef24c01850c6919c9128d20e80ba37476e4f3
|
|
@ -1 +1 @@
|
|||
Subproject commit d8a139b23a40bad6698f9f4240f9e8426b4a123f
|
||||
Subproject commit 4a30cb442f3e2290d88bfc78ed1a3add7384cd2a
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 72d959dd6e66bb09e051013ca373415633cce28a
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 711a7032c0902a457b5203e07e67b4f33395e947
|
|
@ -1 +1 @@
|
|||
Subproject commit e244524bc91f228cab0228c7bc425690af115028
|
||||
Subproject commit 3e5f791d70050f41816ee4e77efbbd307b7f92e9
|
2
taps
2
taps
|
@ -1 +1 @@
|
|||
Subproject commit 285f1833c934add0fb3aea44c46c7cb29e51c189
|
||||
Subproject commit 9517b7271a20eb2c0bfd5030e036cdc3835672a6
|
|
@ -0,0 +1 @@
|
|||
Subproject commit bf722fa5b8bcbd50be5214647969b7314da5bed8
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 4db9037153d123bb1f12feafba7a4d2210c53578
|
Loading…
Reference in New Issue