summaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2018-11-16 19:28:57 +0100
committerzimbatm <zimbatm@zimbatm.com>2019-01-17 14:36:50 +0100
commitde553575e67166d7954a74d11ce25f253c6195a7 (patch)
tree395ce18294fe16fd4ad765123d1d9537a5438cfb /demo
parentb6c207c6448636a40f82b86810023f8589ace708 (diff)
zzz
Diffstat (limited to 'demo')
-rw-r--r--demo/README.md6
-rw-r--r--demo/configuration.nix10
-rw-r--r--demo/home/i3status-rs.toml12
-rw-r--r--demo/home/profile.nix2
-rw-r--r--demo/home/sway-config3
5 files changed, 27 insertions, 6 deletions
diff --git a/demo/README.md b/demo/README.md
index 69bcf94..2aebdff 100644
--- a/demo/README.md
+++ b/demo/README.md
@@ -1,3 +1,9 @@
# Demo
This is a WIP demo
+
+## QEMU Demo
+
+ ./vm-build.sh && ./vm-run.sh
+
+
diff --git a/demo/configuration.nix b/demo/configuration.nix
index 74aebe4..4f3a551 100644
--- a/demo/configuration.nix
+++ b/demo/configuration.nix
@@ -23,5 +23,15 @@
};
services.xserver.enable = false;
+
+ services.mingetty.helpLine = ''
+
+ Welcome to the Sway demo
+
+ login: demo
+ password: demo1234
+
+ Once logged-in, type `sway` to start the desktop environment.
+ '';
}
diff --git a/demo/home/i3status-rs.toml b/demo/home/i3status-rs.toml
index bf7b185..6615498 100644
--- a/demo/home/i3status-rs.toml
+++ b/demo/home/i3status-rs.toml
@@ -48,17 +48,17 @@ interval = 5
# resolution = true
# interval = 2
-[[block]]
-block = "backlight"
-device = "intel_backlight"
+#[[block]]
+#block = "backlight"
+#device = "intel_backlight"
[[block]]
block = "sound"
on_click = "pavucontrol"
-[[block]]
-block = "battery"
-interval = 10
+#[[block]]
+#block = "battery"
+#interval = 10
[[block]]
block = "time"
diff --git a/demo/home/profile.nix b/demo/home/profile.nix
index 3882b85..b73501e 100644
--- a/demo/home/profile.nix
+++ b/demo/home/profile.nix
@@ -20,6 +20,8 @@
programs.termite.enable = true;
programs.termite.scrollbackLines = 10000;
+ programs.firefox.enable = true;
+
# FIXME: doesn't work yet
xsession.enable = true;
xsession.windowManager.command = "sway";
diff --git a/demo/home/sway-config b/demo/home/sway-config
index 8cc74f7..5bcd604 100644
--- a/demo/home/sway-config
+++ b/demo/home/sway-config
@@ -48,6 +48,9 @@ exec swayidle \
# Start the notification center
exec mako
+# Start one shell
+exec $term
+
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 600 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.