improved organisation
moved host modules to hosts/modules and modified deploy script
This commit is contained in:
parent
9636eab7f6
commit
c3b02c5f7b
18 changed files with 27 additions and 20 deletions
16
deploy
16
deploy
|
|
@ -6,6 +6,7 @@ usage="Usage: $(basename $0) [OPTIONS]
|
|||
Options:
|
||||
-f, --fresh Remove old content in the nixstore (good for debugging)
|
||||
-b, --bootloader Reinstall the bootloader
|
||||
-r, --remote Locally build and remotely deploy Colmena hive
|
||||
-h, --help Show this message (^_^)"
|
||||
|
||||
# delete all cached entries
|
||||
|
|
@ -25,11 +26,26 @@ rebuild_flake () {
|
|||
fi
|
||||
}
|
||||
|
||||
deploy_hive () {
|
||||
echo "[+] Adding keys to ssh-agent"
|
||||
ssh-add ~/.ssh/id_hyrule
|
||||
printf "\n"
|
||||
|
||||
git add . --verbose
|
||||
# Deploy to all Colmena hives
|
||||
colmena build --experimental-flake-eval
|
||||
colmena apply --experimental-flake-eval
|
||||
# colmena apply --on hyrule --experimental-flake-eval
|
||||
}
|
||||
|
||||
# check which flags were given
|
||||
flag_fresh=false
|
||||
flag_bootloader=false
|
||||
for flag in "$@"; do
|
||||
case "$flag" in
|
||||
-r|--remote)
|
||||
deploy_hive
|
||||
exit 0 ;;
|
||||
-f|--fresh)
|
||||
flag_fresh=true ;;
|
||||
-b|--bootloader)
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e # terminate if any command fails
|
||||
|
||||
echo "[+] Adding keys to ssh-agent"
|
||||
ssh-add ~/.ssh/id_hyrule
|
||||
printf "\n"
|
||||
|
||||
git add .
|
||||
# Deploy to all Colmena hives
|
||||
colmena build --experimental-flake-eval
|
||||
colmena apply --experimental-flake-eval
|
||||
# colmena apply --on hyrule --experimental-flake-eval
|
||||
|
|
@ -1,24 +1,28 @@
|
|||
import { AppLauncher } from "./widgets/applauncher.js"
|
||||
import { Notifications } from "./widgets/notifications.js"
|
||||
//import { Notifications } from "./widgets/notifications.js"
|
||||
|
||||
/*
|
||||
const date = Variable('', {
|
||||
poll: [1000, 'date'],
|
||||
})
|
||||
*/
|
||||
|
||||
/*
|
||||
const Bar = (monitor = 0) => Widget.Window({
|
||||
monitor,
|
||||
name: 'bar${monitor}',
|
||||
anchor: ['top', 'left', 'right'],
|
||||
child: Widget.Label({ label: date.bind() }),
|
||||
})
|
||||
*/
|
||||
|
||||
App.config({
|
||||
style: "./style.css",
|
||||
// icons: "./assets",
|
||||
windows: [
|
||||
Bar(),
|
||||
//Bar(),
|
||||
AppLauncher,
|
||||
Notifications()
|
||||
//Notifications()
|
||||
]
|
||||
// gtkTheme: "Adwaita-dark",
|
||||
// cursorTheme: "Qogir",
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@ const WINDOW_NAME = "fullscreen";
|
|||
|
||||
const Fullscreen = (children) => Widget.Box({
|
||||
vertical: true,
|
||||
css: "background-image: url('https://images2.alphacoders.com/135/1351579.png');"
|
||||
+ "background-size: cover;"
|
||||
+ "background-position: center;"
|
||||
+ "background-repeat: no-repeat;",
|
||||
css: "background-image: url('~/downloads/wallpaper/kill-my-firstborn/astronaut-pink-blue.png');",
|
||||
//+ "background-size: cover;"
|
||||
//+ "background-position: center;"
|
||||
//+ "background-repeat: no-repeat;",
|
||||
children: children,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue