Skip to content

Commit

Permalink
hotfix: ubuntu in supported envs
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Jun 3, 2024
1 parent 3c89857 commit ed773e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monitors/src/const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pub const BASE: &str = "org.Xetibo.ReSet.Daemon";
pub const DBUS_PATH: &str = "/org/Xebito/ReSet/Plugins/Monitors";
pub const INTERFACE: &str = "org.Xetibo.ReSet.Monitors";

pub const SUPPORTED_ENVIRONMENTS: [&str; 3] = ["Hyprland", "GNOME", "KDE"];
pub const SUPPORTED_ENVIRONMENTS: [&str; 3] = ["Hyprland", "GNOME", "ubuntu:GNOME", "KDE"];
2 changes: 1 addition & 1 deletion monitors/src/frontend/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub fn apply_monitor_clicked(

if !revert {
// Gnome has their own popup, hence two popups would appear -> solution, disable ours
if persistent && get_environment().as_str() == "GNOME" {
if persistent && is_gnome() {
return;
}
let popup = adw::AlertDialog::new(Some("Confirm Configuration"), Some("Is this configuration correct?\n
Expand Down

0 comments on commit ed773e2

Please sign in to comment.