fix: animation timeline loops
This commit is contained in:
1 parent
0a29c7c88a
commit
b126596973
22 files changed
+270
-158
No files matched your search
+5
-4
@@ -140,8 +140,8 @@ const HOST: &[Step] = &[
|
||||
),
|
||||
];
|
||||
|
||||
fn description(unit: &str) -> &'static str {
|
||||
match unit {
|
||||
fn description(unit: &str) -> Option<&'static str> {
|
||||
let description = match unit {
|
||||
"initrd.target" => "Initrd Default Target",
|
||||
"initrd-fs.target" => "Initrd File Systems",
|
||||
"initrd-root-device.target" => "Initrd Root Device",
|
||||
@@ -168,8 +168,9 @@ fn description(unit: &str) -> &'static str {
|
||||
"nvidia-powerd.service" => "NVIDIA Dynamic Boost",
|
||||
"sys-devices-virtual-misc-rfkill.device" => "/sys/devices/virtual/misc/rfkill",
|
||||
"systemd-rfkill.service" => "Load/Save RF Kill Switch Status",
|
||||
_ => "",
|
||||
}
|
||||
_ => return None,
|
||||
};
|
||||
Some(description)
|
||||
}
|
||||
|
||||
fn main() -> io::Result<()> {
|
||||
|
||||
+5
-4
@@ -154,8 +154,8 @@ const HOST: &[Step] = &[
|
||||
),
|
||||
];
|
||||
|
||||
fn description(unit: &str) -> &'static str {
|
||||
match unit {
|
||||
fn description(unit: &str) -> Option<&'static str> {
|
||||
let description = match unit {
|
||||
"initrd.target" => "Initrd Default Target",
|
||||
"initrd-fs.target" => "Initrd File Systems",
|
||||
"initrd-root-fs.target" => "Initrd Root File System",
|
||||
@@ -185,8 +185,9 @@ fn description(unit: &str) -> &'static str {
|
||||
"systemd-logind.service" => "User Login Management",
|
||||
"NetworkManager.service" => "Network Manager",
|
||||
"systemd-timesyncd.service" => "Network Time Synchronization",
|
||||
_ => "",
|
||||
}
|
||||
_ => return None,
|
||||
};
|
||||
Some(description)
|
||||
}
|
||||
|
||||
fn main() -> io::Result<()> {
|
||||
|
||||
@@ -64,8 +64,8 @@ const SHUTDOWN: &[Step] = &[
|
||||
),
|
||||
];
|
||||
|
||||
fn description(unit: &str) -> &'static str {
|
||||
match unit {
|
||||
fn description(unit: &str) -> Option<&'static str> {
|
||||
let description = match unit {
|
||||
"poweroff.target" | "systemd-poweroff.service" => "System Power Off",
|
||||
"final.target" => "Late Shutdown Services",
|
||||
"umount.target" => "Unmount All Filesystems",
|
||||
@@ -78,8 +78,9 @@ fn description(unit: &str) -> &'static str {
|
||||
"NetworkManager.service" => "Network Manager",
|
||||
"var-lib-docker.mount" => "/var/lib/docker",
|
||||
"home.mount" => "/home",
|
||||
_ => "",
|
||||
}
|
||||
_ => return None,
|
||||
};
|
||||
Some(description)
|
||||
}
|
||||
|
||||
fn main() -> io::Result<()> {
|
||||
|
||||
Reference in new issue
Block a user