Added comment to possibly explain why rofi -e is exiting early
When double clicking
This commit is contained in:
@@ -10,6 +10,8 @@ EOF
|
|||||||
CARD_OUTPUT=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser --exact $SELECTION)
|
CARD_OUTPUT=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser --exact $SELECTION)
|
||||||
|
|
||||||
# If you double check the first rofi selection it seems to prevent the error window from popping up
|
# If you double check the first rofi selection it seems to prevent the error window from popping up
|
||||||
|
# I think this is because it registers the second click as a click outside the window which exits
|
||||||
|
# the rofi -e message
|
||||||
sleep 0.05
|
sleep 0.05
|
||||||
|
|
||||||
rofi -e "$CARD_OUTPUT"
|
rofi -e "$CARD_OUTPUT"
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ impl fmt::Display for DbCard {
|
|||||||
Some(l) => writeln!(f, "Starting Loyalty: {}", l)?,
|
Some(l) => writeln!(f, "Starting Loyalty: {}", l)?,
|
||||||
None => (),
|
None => (),
|
||||||
}
|
}
|
||||||
writeln!(f, "{}", self.scryfall_uri)?;
|
writeln!(f, "Scryfall URI: {}", self.scryfall_uri)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user