Skip to content

Commit

Permalink
main: add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Mar 21, 2024
1 parent 7aae660 commit b059641
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use directories::{BaseDirs, ProjectDirs, UserDirs};
use directories::ProjectDirs;
use std::env;
use std::fs::File;
use std::io::Read;
Expand All @@ -21,6 +21,9 @@ pub struct Config {

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
std::env::set_var("RUST_LOG", "debug");
std::env::set_var("RUST_BACKTRACE", "1");

// Get the socket path from the environment variable
let hyprland_instance_signature = env::var("HYPRLAND_INSTANCE_SIGNATURE")?;

Expand Down

0 comments on commit b059641

Please sign in to comment.