Skip to content

Commit

Permalink
Merge pull request #11 from K4rakara/v0.1.2
Browse files Browse the repository at this point in the history
V0.1.2
  • Loading branch information
K4rakara authored Sep 26, 2020
2 parents fd5d343 + b6c82ef commit 270ae9c
Show file tree
Hide file tree
Showing 12 changed files with 406 additions and 172 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/target
/pkg
/freshfetch.tar.gz
143 changes: 43 additions & 100 deletions Cargo.lock

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

11 changes: 1 addition & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ build = "./src/build.rs"
chrono = "0.4.13"
cmd_lib = "0.8.2"
lazy_static = "1.4.0"
cpuid = "0.1.1"
regex = "1.3.9"
sysinfo = "0.15.0"
term_size = "0.3.2"
Expand All @@ -21,18 +20,10 @@ version = "2.33.2"
default-features = false
features = [ "vec_map" ]

[dependencies.clml_rs]
git = "https://github.com/K4rakara/clml-rs"
default-features = false
features = [ "basic" ]

[dependencies.mlua]
version = "0.4.1"
features = [ "luajit" ]

[dependencies.x11rb]
version = "0.6.0"
features = [ "allow-unsafe-code" ]

[build-dependencies.clml_rs]
git = "https://github.com/K4rakara/clml-rs"

33 changes: 23 additions & 10 deletions examples/personal/info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,29 @@ end

-- Resolution
if resolution ~= nil then
print(""
.." 󰍹 "
..bold()
..blue()
.."Resolution"
..reset()
..": "
..resolution.width
.."x"
..resolution.height)
if resolution.refresh ~= nil then
print(""
.." 󰍹 "
..bold()
..blue()
.."Resolution"
..reset()
..": "
..resolution.width
.."x"
..resolution.height
.." @ "
..resolution.refresh)
else
print(""
.." 󰍹 "
..bold()
..blue()
.."Resolution"
..reset()
..": "
..resolution.width)
end
end

-- DE
Expand Down
Loading

0 comments on commit 270ae9c

Please sign in to comment.