Skip to content

Commit

Permalink
new: use home lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev committed Jan 3, 2022
1 parent 096645d commit c0322ac
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 51 deletions.
10 changes: 10 additions & 0 deletions apps/desktop/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/desktop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ toml = "0.5.8"
reqwest = {version = "0.9.10", features=[]}
clipboard = "0.5.0"
clap = {version = "3.0.0", features = ["cargo", "color"]}
home = "0.5.3"

[dependencies.native-dialog]
version= "0.6.1"
Expand Down
49 changes: 0 additions & 49 deletions apps/desktop/src/home.rs

This file was deleted.

1 change: 0 additions & 1 deletion apps/desktop/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod home;
use std::env;
use std::fs;
use std::process::Command;
Expand Down
3 changes: 2 additions & 1 deletion apps/desktop/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use ascella::{home::home_dir, screenshot_area};
use ascella::screenshot_area;
use ascella::{take_ss, ScreenshotKind};
use clap::{crate_authors, crate_description, crate_name, crate_version, App, Arg};
use clipboard::ClipboardContext;
use clipboard::ClipboardProvider;
use home::home_dir;
use iced::{
button, futures::executor::block_on, scrollable, slider, text_input, Alignment, Button,
Checkbox, Column, Container, Element, Length, ProgressBar, Radio, Row, Rule, Sandbox,
Expand Down

0 comments on commit c0322ac

Please sign in to comment.