Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyTurtleDev committed Feb 19, 2024
1 parent 809b0f3 commit c30ee33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion more-wallpapers/src/linux/xfce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub(crate) fn get_screens() -> Result<Vec<Screen>, WallpaperError> {
if key_type == "last-image" {
screen.wallpaper = Some(value.into());
} else {
let mode = match value.as_str() {
let mode = match value.trim_end() {
"0" => None, //single color background is used instead of a image
"1" => Some(Mode::Center),
"2" => Some(Mode::Tile),
Expand Down

0 comments on commit c30ee33

Please sign in to comment.