Skip to main content

max / alloy

3.6 KB · 109 lines History Blame Raw
1 # 4. The first fifteen minutes
2
3 You have signed in and the screen is mostly empty: a bar across the top, a
4 wallpaper colour behind it, and nothing else. That is correct. Alloy opens no
5 windows for you.
6
7 Throughout this manual **Mod** means the Super key (the one between Ctrl and
8 Alt on most keyboards).
9
10 ## The screen that greets you once
11
12 The first time you log in, a terminal opens on `alloy setup`. It offers two
13 enrollments, both optional:
14
15 - **Private network** (Tailscale), so this machine can reach your others.
16 - **File sync** (Syncthing), so your files follow you onto this machine.
17
18 Skipping is fine and reversible. `alloy mesh` and `alloy sync` do the same
19 enrollments later. Press `q` when you are done. The screen appears once; typing
20 `alloy setup` by hand always opens it again.
21
22 ## Open a terminal
23
24 Mod+Return
25
26 That is shop, running nushell. It is where you will spend most of your time.
27
28 If you would rather find a graphical app by name than type a binary:
29
30 Mod+D
31
32 That is the launcher: a fuzzy picker over installed desktop entries, running in
33 a floating terminal. Two keys, two jobs. `Mod+Return` is for typing commands,
34 `Mod+D` is for the apps whose binary name nobody remembers.
35
36 ## Move a window around
37
38 Open two or three terminals with `Mod+Return`. They tile automatically.
39
40 - `Mod+H/J/K/L` moves focus left, down, up, right.
41 - `Mod+Shift+H/J/K/L` moves the window itself.
42 - `Mod+Q` closes the focused window.
43 - `Mod+F` makes it fullscreen.
44 - `Mod+1` through `Mod+4` switch workspaces; `Mod+Shift+1` and friends send the
45 window with you.
46
47 Chapter 5 has the whole list. Those six get you through the day.
48
49 ## Meet the console
50
51 alloy
52
53 is not a command by itself. Every surface is a verb:
54
55 alloy net # wifi and connections
56 alloy audio # outputs, inputs, and which stream goes where
57 alloy display # scale, rotation, which outputs are on
58 alloy settings # time, hostname, locale, theme, and app configs
59 alloy pkg # what is installed and where it lives
60 alloy update # what image is booted, what is staged, how to go back
61
62 Every one of them has the same shape: Tab moves between panes, arrow keys or
63 `j`/`k` move within a list, Enter acts, Esc cancels, `q` quits, `?` shows help.
64
65 Every action prints the command it ran in a pane at the bottom. That is
66 deliberate. The console is not hiding the CLI from you, it is showing you which
67 one to learn.
68
69 ## Get online
70
71 alloy net
72
73 Pick your network, press Enter. Joining a network you have never joined before
74 needs authorization the console does not yet ask for, so for a brand new wifi
75 network use:
76
77 run0 nmcli device wifi connect "Network Name" --ask
78
79 `run0` is how you become root on Alloy. There is no `sudo` habit to keep here.
80
81 ## Set the volume
82
83 The Fn keys work: volume up, down, mute, and the media keys, all with an
84 on-screen indicator. For anything more precise, `alloy audio` shows every
85 stream and every device and lets you move one onto the other.
86
87 ## Take a screenshot
88
89 - `Print` captures the whole output.
90 - `Shift+Print` selects a region.
91 - `Ctrl+Print` captures the active window.
92 - `Mod+Print` opens the most recent capture in satty to annotate it.
93
94 Captures land in `~/Pictures/Screenshots` and raise a notification saying so.
95
96 ## Lock the screen
97
98 Mod+Ctrl+L
99
100 The session also dims after four and a half minutes, locks at five, and turns
101 the displays off at ten. A closed lid always locks before suspending.
102
103 ## Then what
104
105 - Chapter 7 if you want to install software. Read it before reaching for a
106 package manager; the answer is not `dnf`.
107 - Chapter 11 if the light theme is not what you want at night.
108 - Chapter 12 if this machine should share files with your other ones.
109