Skip to content

Commit

Permalink
NColor replaced with Color
Browse files Browse the repository at this point in the history
  • Loading branch information
ysekka committed Jun 21, 2023
1 parent f4f3a7a commit e58d4ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ pub mod notify {
Ok = 5,
}
/// Creates a notification with Hyprland
pub fn call(icon: Icon, time: Duration, color: NColor, msg: String) -> crate::Result<()> {
pub fn call(icon: Icon, time: Duration, color: Color, msg: String) -> crate::Result<()> {
write_to_socket_sync(
get_socket_path(SocketType::Command),
command!(
Expand All @@ -202,7 +202,7 @@ pub mod notify {
pub async fn call_async(
icon: Icon,
time: Duration,
color: NColor,
color: Color,
msg: String,
) -> crate::Result<()> {
write_to_socket(
Expand Down

0 comments on commit e58d4ec

Please sign in to comment.