gala/plugins/maskcorners/Settings.vala
2015-02-05 20:15:55 +00:00

26 lines
551 B
Vala

namespace Gala.Plugins.MaskCorners
{
class Settings : Granite.Services.Settings
{
static Settings? instance = null;
public static Settings get_default ()
{
if (instance == null)
instance = new Settings ();
return instance;
}
public bool enable { get; set; default = true; }
public int corner_radius { get; set; default = 4; }
public bool disable_on_fullscreen { get; set; default = true; }
public bool only_on_primary { get; set; default = false; }
Settings ()
{
base (Config.SCHEMA + ".mask-corners");
}
}
}