Skip to content

Commit

Permalink
mulimonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
it-a-me committed May 30, 2023
1 parent 62fa848 commit d209945
Show file tree
Hide file tree
Showing 4 changed files with 986 additions and 205 deletions.
91 changes: 88 additions & 3 deletions Cargo.lock

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

10 changes: 8 additions & 2 deletions embargo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ fn main() -> anyhow::Result<()> {
.on_change_workspace(|id| hyprland_workspaces::change_workspace(id).unwrap());
window.set_size(PhysicalSize::new(width, height));
let conn = Connection::connect_to_env()?;
let (mut bar, mut event_queue) =
window::BarLayer::new(&conn, window.clone(), Anchor::TOP, width, height)?;
let (mut bar, mut event_queue) = window::Bar::new(
&conn,
window.clone(),
ui::RgbaPixel::transparent(),
Anchor::TOP,
width,
height,
)?;
let mut workspaces;
let mut formatted_time;
let mut time;
Expand Down
Loading

0 comments on commit d209945

Please sign in to comment.