Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Mar 21, 2024
1 parent bd116b3 commit 7aae660
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, clippy
, openssl
, hyprland
, hyprpaper
, version
, ...
}:
Expand All @@ -23,6 +24,7 @@ rustPlatform.buildRustPackage rec {

runtimeInputs = [
hyprland
hyprpaper
];

cargoLock = {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async fn handle_event(line: &str, config: &Config) -> Result<(), Box<dyn std::er
wallpaper.expect("Expected wallpaper path")
);

println!("Command: {}", &command_str);
println!("Command: hyprctl hyprpaper wallpaper {}", &command_str);

let output = Command::new("hyprctl")
.args(["hyprpaper", "wallpaper", &command_str])
Expand Down

0 comments on commit 7aae660

Please sign in to comment.